| /linux-4.4.14/drivers/gpu/drm/msm/ |
| D | msm_gpu.c | 29 static void bs_init(struct msm_gpu *gpu) in bs_init() argument 31 if (gpu->bus_scale_table) { in bs_init() 32 gpu->bsc = msm_bus_scale_register_client(gpu->bus_scale_table); in bs_init() 33 DBG("bus scale client: %08x", gpu->bsc); in bs_init() 37 static void bs_fini(struct msm_gpu *gpu) in bs_fini() argument 39 if (gpu->bsc) { in bs_fini() 40 msm_bus_scale_unregister_client(gpu->bsc); in bs_fini() 41 gpu->bsc = 0; in bs_fini() 45 static void bs_set(struct msm_gpu *gpu, int idx) in bs_set() argument 47 if (gpu->bsc) { in bs_set() [all …]
|
| D | msm_gpu.h | 45 int (*get_param)(struct msm_gpu *gpu, uint32_t param, uint64_t *value); 46 int (*hw_init)(struct msm_gpu *gpu); 47 int (*pm_suspend)(struct msm_gpu *gpu); 48 int (*pm_resume)(struct msm_gpu *gpu); 49 int (*submit)(struct msm_gpu *gpu, struct msm_gem_submit *submit, 51 void (*flush)(struct msm_gpu *gpu); 52 void (*idle)(struct msm_gpu *gpu); 54 uint32_t (*last_fence)(struct msm_gpu *gpu); 55 void (*recover)(struct msm_gpu *gpu); 56 void (*destroy)(struct msm_gpu *gpu); [all …]
|
| D | msm_perf.c | 72 struct msm_gpu *gpu = priv->gpu; in refill_buf() local 83 for (i = 0; i < gpu->num_perfcntrs; i++) { in refill_buf() 84 const struct msm_gpu_perfcntr *perfcntr = &gpu->perfcntrs[i]; in refill_buf() 101 ret = msm_gpu_perfcntr_sample(gpu, &activetime, &totaltime, in refill_buf() 165 struct msm_gpu *gpu = priv->gpu; in perf_open() local 170 if (perf->open || !gpu) { in perf_open() 180 msm_gpu_perfcntr_start(gpu); in perf_open() 192 msm_gpu_perfcntr_stop(priv->gpu); in perf_release()
|
| D | msm_drv.c | 184 struct msm_gpu *gpu = priv->gpu; in msm_unload() local 214 if (gpu) { in msm_unload() 216 gpu->funcs->pm_suspend(gpu); in msm_unload() 218 gpu->funcs->destroy(gpu); in msm_unload() 449 if (!priv->gpu) in load_gpu() 450 priv->gpu = adreno_load_gpu(dev); in load_gpu() 558 struct msm_gpu *gpu = priv->gpu; in msm_gpu_show() local 560 if (gpu) { in msm_gpu_show() 561 seq_printf(m, "%s Status:\n", gpu->name); in msm_gpu_show() 562 gpu->funcs->show(gpu, m); in msm_gpu_show() [all …]
|
| D | msm_ringbuffer.c | 21 struct msm_ringbuffer *msm_ringbuffer_new(struct msm_gpu *gpu, int size) in msm_ringbuffer_new() argument 34 ring->gpu = gpu; in msm_ringbuffer_new() 35 ring->bo = msm_gem_new(gpu->dev, size, MSM_BO_WC); in msm_ringbuffer_new()
|
| D | msm_gem_submit.c | 37 struct msm_gpu *gpu, int nr) in submit_create() argument 45 submit->gpu = gpu; in submit_create() 127 msm_gem_put_iova(&msm_obj->base, submit->gpu->id); in submit_unlock_unpin_bo() 166 submit->gpu->id, &iova); in submit_validate_objects() 326 struct msm_gpu *gpu; in msm_ioctl_gem_submit() local 336 gpu = priv->gpu; in msm_ioctl_gem_submit() 343 submit = submit_create(dev, gpu, args->nr_bos); in msm_ioctl_gem_submit() 417 ret = msm_gpu_submit(gpu, submit, ctx); in msm_ioctl_gem_submit()
|
| D | msm_gem.h | 41 struct msm_gpu *gpu; /* non-null if active */ member 73 return msm_obj->gpu != NULL; in is_active() 98 struct msm_gpu *gpu; member
|
| D | msm_ringbuffer.h | 24 struct msm_gpu *gpu; member 30 struct msm_ringbuffer *msm_ringbuffer_new(struct msm_gpu *gpu, int size);
|
| D | msm_rd.c | 164 struct msm_gpu *gpu = priv->gpu; in rd_open() local 171 if (rd->open || !gpu) { in rd_open() 182 gpu->funcs->get_param(gpu, MSM_PARAM_GPU_ID, &val); in rd_open()
|
| D | Makefile | 1 ccflags-y := -Iinclude/drm -Idrivers/gpu/drm/msm 2 ccflags-$(CONFIG_DRM_MSM_DSI) += -Idrivers/gpu/drm/msm/dsi
|
| D | msm_gem.c | 424 struct msm_gpu *gpu, bool write, uint32_t fence) in msm_gem_move_to_active() argument 427 msm_obj->gpu = gpu; in msm_gem_move_to_active() 433 list_add_tail(&msm_obj->mm_list, &gpu->active_list); in msm_gem_move_to_active() 444 msm_obj->gpu = NULL; in msm_gem_move_to_inactive()
|
| D | msm_mmu.h | 46 struct msm_mmu *msm_gpummu_new(struct device *dev, struct msm_gpu *gpu);
|
| D | NOTES | 14 And on gpu side of things: 23 up gpu cmdstream to update scanout and write FLUSH register after). 27 And one or more 'struct msm_gpu' for the various different gpu sub-
|
| D | msm_drv.h | 103 struct msm_gpu *gpu; member 224 struct msm_gpu *gpu, bool write, uint32_t fence);
|
| /linux-4.4.14/drivers/gpu/drm/msm/adreno/ |
| D | a3xx_gpu.c | 42 static void a3xx_dump(struct msm_gpu *gpu); 44 static void a3xx_me_init(struct msm_gpu *gpu) in a3xx_me_init() argument 46 struct msm_ringbuffer *ring = gpu->rb; in a3xx_me_init() 67 gpu->funcs->flush(gpu); in a3xx_me_init() 68 gpu->funcs->idle(gpu); in a3xx_me_init() 71 static int a3xx_hw_init(struct msm_gpu *gpu) in a3xx_hw_init() argument 73 struct adreno_gpu *adreno_gpu = to_adreno_gpu(gpu); in a3xx_hw_init() 78 DBG("%s", gpu->name); in a3xx_hw_init() 82 gpu_write(gpu, REG_A3XX_VBIF_IN_RD_LIM_CONF0, 0x10101010); in a3xx_hw_init() 83 gpu_write(gpu, REG_A3XX_VBIF_IN_RD_LIM_CONF1, 0x10101010); in a3xx_hw_init() [all …]
|
| D | a4xx_gpu.c | 33 static void a4xx_dump(struct msm_gpu *gpu); 39 static void a4xx_enable_hwcg(struct msm_gpu *gpu) in a4xx_enable_hwcg() argument 41 struct adreno_gpu *adreno_gpu = to_adreno_gpu(gpu); in a4xx_enable_hwcg() 44 gpu_write(gpu, REG_A4XX_RBBM_CLOCK_CTL_TP(i), 0x02222202); in a4xx_enable_hwcg() 46 gpu_write(gpu, REG_A4XX_RBBM_CLOCK_CTL2_TP(i), 0x00002222); in a4xx_enable_hwcg() 48 gpu_write(gpu, REG_A4XX_RBBM_CLOCK_HYST_TP(i), 0x0E739CE7); in a4xx_enable_hwcg() 50 gpu_write(gpu, REG_A4XX_RBBM_CLOCK_DELAY_TP(i), 0x00111111); in a4xx_enable_hwcg() 52 gpu_write(gpu, REG_A4XX_RBBM_CLOCK_CTL_SP(i), 0x22222222); in a4xx_enable_hwcg() 54 gpu_write(gpu, REG_A4XX_RBBM_CLOCK_CTL2_SP(i), 0x00222222); in a4xx_enable_hwcg() 56 gpu_write(gpu, REG_A4XX_RBBM_CLOCK_HYST_SP(i), 0x00000104); in a4xx_enable_hwcg() [all …]
|
| D | adreno_gpu.c | 27 int adreno_get_param(struct msm_gpu *gpu, uint32_t param, uint64_t *value) in adreno_get_param() argument 29 struct adreno_gpu *adreno_gpu = to_adreno_gpu(gpu); in adreno_get_param() 45 DBG("%s: invalid param: %u", gpu->name, param); in adreno_get_param() 53 int adreno_hw_init(struct msm_gpu *gpu) in adreno_hw_init() argument 55 struct adreno_gpu *adreno_gpu = to_adreno_gpu(gpu); in adreno_hw_init() 58 DBG("%s", gpu->name); in adreno_hw_init() 60 ret = msm_gem_get_iova(gpu->rb->bo, gpu->id, &gpu->rb_iova); in adreno_hw_init() 62 gpu->rb_iova = 0; in adreno_hw_init() 63 dev_err(gpu->dev->dev, "could not map ringbuffer: %d\n", ret); in adreno_hw_init() 70 AXXX_CP_RB_CNTL_BUFSZ(ilog2(gpu->rb->size / 8)) | in adreno_hw_init() [all …]
|
| D | adreno_gpu.h | 190 static inline bool adreno_is_a3xx(struct adreno_gpu *gpu) in adreno_is_a3xx() argument 192 return (gpu->revn >= 300) && (gpu->revn < 400); in adreno_is_a3xx() 195 static inline bool adreno_is_a305(struct adreno_gpu *gpu) in adreno_is_a305() argument 197 return gpu->revn == 305; in adreno_is_a305() 200 static inline bool adreno_is_a306(struct adreno_gpu *gpu) in adreno_is_a306() argument 203 return gpu->revn == 307; in adreno_is_a306() 206 static inline bool adreno_is_a320(struct adreno_gpu *gpu) in adreno_is_a320() argument 208 return gpu->revn == 320; in adreno_is_a320() 211 static inline bool adreno_is_a330(struct adreno_gpu *gpu) in adreno_is_a330() argument 213 return gpu->revn == 330; in adreno_is_a330() [all …]
|
| D | adreno_device.c | 115 struct msm_gpu *gpu = NULL; in adreno_load_gpu() local 135 gpu = info->init(dev); in adreno_load_gpu() 136 if (IS_ERR(gpu)) { in adreno_load_gpu() 138 gpu = NULL; in adreno_load_gpu() 142 if (gpu) { in adreno_load_gpu() 145 gpu->funcs->pm_resume(gpu); in adreno_load_gpu() 147 ret = gpu->funcs->hw_init(gpu); in adreno_load_gpu() 150 gpu->funcs->destroy(gpu); in adreno_load_gpu() 151 gpu = NULL; in adreno_load_gpu() 154 msm_gpu_retire(gpu); in adreno_load_gpu() [all …]
|
| /linux-4.4.14/Documentation/DocBook/ |
| D | .gpu.xml.cmd | 1 cmd_Documentation/DocBook/gpu.xml := SRCTREE=./ ./scripts/docproc doc Documentation/DocBook/gpu.tmp… 2 …gpu.xml: Documentation/DocBook/gpu.tmpl drivers/gpu/drm/drm_drv.c drivers/gpu/drm/drm_drv.c driver…
|
| D | Makefile | 17 tracepoint.xml gpu.xml media_api.xml w1.xml \
|
| /linux-4.4.14/Documentation/devicetree/bindings/display/msm/ |
| D | gpu.txt | 6 - interrupts: The interrupt signal from the gpu. 13 - qcom,chipid: gpu chip-id. Note this may become optional for future 15 - qcom,gpu-pwrlevels: list of operating points 16 - compatible: "qcom,gpu-pwrlevels" 17 - for each qcom,gpu-pwrlevel: 18 - qcom,gpu-freq: requested gpu clock speed 27 gpu: qcom,kgsl-3d0@4300000 { 42 qcom,gpu-pwrlevels { 43 compatible = "qcom,gpu-pwrlevels"; 44 qcom,gpu-pwrlevel@0 { [all …]
|
| D | mdp.txt | 19 - gpus: phandle for gpu device 33 gpus = <&gpu>;
|
| /linux-4.4.14/drivers/gpu/drm/ |
| D | Kconfig | 100 source "drivers/gpu/drm/i2c/Kconfig" 140 source "drivers/gpu/drm/radeon/Kconfig" 162 source "drivers/gpu/drm/amd/amdgpu/Kconfig" 164 source "drivers/gpu/drm/nouveau/Kconfig" 175 source "drivers/gpu/drm/i915/Kconfig" 218 source "drivers/gpu/drm/exynos/Kconfig" 220 source "drivers/gpu/drm/rockchip/Kconfig" 222 source "drivers/gpu/drm/vmwgfx/Kconfig" 224 source "drivers/gpu/drm/gma500/Kconfig" 226 source "drivers/gpu/drm/udl/Kconfig" [all …]
|
| /linux-4.4.14/drivers/gpu/drm/amd/amdkfd/ |
| D | kfd_topology.c | 51 device = top_dev->gpu; in kfd_device_by_id() 68 if (top_dev->gpu->pdev == pdev) { in kfd_device_by_pci_dev() 69 device = top_dev->gpu; in kfd_device_by_pci_dev() 712 if (dev->gpu) { in node_show() 714 __ilog2_u32(dev->gpu->device_info->num_of_watch_points); in node_show() 727 dev->gpu->kfd2kgd->get_max_engine_clock_in_mhz( in node_show() 728 dev->gpu->kgd)); in node_show() 734 dev->gpu->kfd2kgd->get_fw_version( in node_show() 735 dev->gpu->kgd, in node_show() 1082 pr_info("\tGPU assigned: %s\n", (dev->gpu ? "yes" : "no")); in kfd_debug_print_topology() [all …]
|
| D | Makefile | 5 ccflags-y := -Iinclude/drm -Idrivers/gpu/drm/amd/include/ \ 6 -Idrivers/gpu/drm/amd/include/asic_reg
|
| D | kfd_topology.h | 145 struct kfd_dev *gpu; member
|
| D | kfd_priv.h | 599 int kfd_topology_add_device(struct kfd_dev *gpu); 600 int kfd_topology_remove_device(struct kfd_dev *gpu);
|
| /linux-4.4.14/Documentation/devicetree/bindings/gpu/ |
| D | nvidia,gk20a.txt | 4 - compatible: "nvidia,<chip>-<gpu>" 20 - gpu 25 - gpu 29 gpu@0,57000000 { 39 clock-names = "gpu", "pwr"; 41 reset-names = "gpu";
|
| /linux-4.4.14/drivers/video/ |
| D | Kconfig | 20 source "drivers/gpu/vga/Kconfig" 22 source "drivers/gpu/host1x/Kconfig" 23 source "drivers/gpu/ipu-v3/Kconfig" 25 source "drivers/gpu/drm/Kconfig"
|
| /linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
| D | Makefile | 5 ccflags-y := -Iinclude/drm -Idrivers/gpu/drm/amd/include/asic_reg \ 6 -Idrivers/gpu/drm/amd/include \ 7 -Idrivers/gpu/drm/amd/amdgpu \ 8 -Idrivers/gpu/drm/amd/scheduler
|
| /linux-4.4.14/drivers/gpu/drm/virtio/ |
| D | Makefile | 7 virtio-gpu-y := virtgpu_drv.o virtgpu_kms.o virtgpu_drm_bus.o virtgpu_gem.o \ 12 obj-$(CONFIG_DRM_VIRTIO_GPU) += virtio-gpu.o
|
| /linux-4.4.14/Documentation/devicetree/bindings/clock/st/ |
| D | st,clkgen-pll.txt | 28 "st,stih415-gpu-pll-c32", "st,clkgengpu-pll-c32" 29 "st,stih416-gpu-pll-c32", "st,clkgengpu-pll-c32"
|
| D | st,flexgen.txt | 87 clock-output-names = "clk-icn-gpu",
|
| /linux-4.4.14/arch/powerpc/platforms/ps3/ |
| D | system-bus.c | 44 int gpu; member 126 usage_hack.gpu++; in ps3_open_hv_device_gpu() 127 if (usage_hack.gpu > 1) { in ps3_open_hv_device_gpu() 151 usage_hack.gpu--; in ps3_close_hv_device_gpu() 152 if (usage_hack.gpu) { in ps3_close_hv_device_gpu()
|
| /linux-4.4.14/drivers/gpu/drm/exynos/ |
| D | Makefile | 5 ccflags-y := -Iinclude/drm -Idrivers/gpu/drm/exynos
|
| /linux-4.4.14/arch/arm/boot/dts/ |
| D | stih416-clock.dtsi | 352 "clk-m-tx-icn-gpu", 353 "clk-m-rx-icn-gpu", 376 ""; /* clk-m-gpu-alt */ 744 clockgen-gpu@fd68ff00 { 747 clockgen_gpu_pll: clockgen-gpu-pll { 749 compatible = "st,stih416-gpu-pll-c32", "st,clkgengpu-pll-c32"; 752 clock-output-names = "clockgen-gpu-pll";
|
| D | tegra20-trimslice.dts | 102 gpu { 103 nvidia,pins = "gpu"; 206 "gma", "gmc", "gmd", "gpu", "gpu7",
|
| D | tegra20-paz00.dts | 97 gpu { 98 nvidia,pins = "gpu", "sdb", "sdd"; 193 "gpu", "gpu7", "gpv", "i2cp", "pta",
|
| D | tegra20-ventana.dts | 111 gpu { 112 nvidia,pins = "gpu"; 203 "gme", "gpu", "gpu7", "i2cp", "irrx",
|
| D | tegra20-tamonten.dtsi | 46 nvidia,pins = "atd", "ate", "gmb", "gmd", "gpu", 200 "dtc", "dte", "dtf", "gpu", "sdio1",
|
| D | sun6i-a31s-sina31s-core.dtsi | 110 regulator-name = "vdd-gpu";
|
| D | tegra124.dtsi | 180 gpu@0,57000000 { 189 clock-names = "gpu", "pwr"; 191 reset-names = "gpu"; 1009 gpu {
|
| D | tegra20-whistler.dts | 40 "gmc", "gmd", "gpu"; 205 "dtf", "gpu", "gpu7", "gpv", "i2cp",
|
| D | tegra20-seaboard.dts | 112 gpu { 113 nvidia,pins = "gpu"; 204 "gme", "gpu", "gpu7", "i2cp", "irrx",
|
| D | sun6i-a31s-primo81.dts | 200 regulator-name = "vdd-gpu";
|
| D | sun6i-a31-hummingbird.dts | 219 regulator-name = "vdd-gpu";
|
| D | stih407-clock.dtsi | 165 clock-output-names = "clk-icn-gpu",
|
| D | stih410-clock.dtsi | 168 clock-output-names = "clk-icn-gpu",
|
| D | stih418-clock.dtsi | 168 clock-output-names = "clk-icn-gpu",
|
| D | tegra20-harmony.dts | 60 nvidia,pins = "atd", "ate", "gmb", "gmd", "gpu", 218 "dtc", "dte", "dtf", "gpu", "sdio1",
|
| D | tegra20-colibri-512.dtsi | 68 "dap1", "dap2", "dap4", "gpu", "irrx",
|
| D | stih415-clock.dtsi | 316 "clk-m-icn-gpu",
|
| D | dove.dtsi | 443 gpu_domain: gpu-domain {
|
| D | dra7.dtsi | 1058 abb_gpu: regulator-abb-gpu { 1611 #include "omap5-gpu-thermal.dtsi"
|
| D | tegra124-jetson-tk1.dts | 56 gpu@0,57000000 { 1960 gpu {
|
| D | tegra124-venice2.dts | 46 gpu@0,57000000 {
|
| D | exynos5420.dtsi | 836 gpu_thermal: gpu-thermal {
|
| D | omap5.dtsi | 71 #include "omap5-gpu-thermal.dtsi"
|
| /linux-4.4.14/drivers/video/fbdev/vermilion/ |
| D | vermilion.c | 285 par->gpu = pci_get_device(PCI_VENDOR_ID_INTEL, VML_DEVICE_GPU, NULL); in vmlfb_get_gpu() 287 if (!par->gpu) { in vmlfb_get_gpu() 294 if (pci_enable_device(par->gpu) < 0) in vmlfb_get_gpu() 342 par->gpu_mem_base = pci_resource_start(par->gpu, 0); in vmlfb_enable_mmio() 343 par->gpu_mem_size = pci_resource_len(par->gpu, 0); in vmlfb_enable_mmio() 386 pci_disable_device(par->gpu); in vmlfb_release_devices()
|
| D | vermilion.h | 197 struct pci_dev *gpu; member
|
| /linux-4.4.14/arch/x86/kernel/cpu/ |
| D | perf_event_intel_rapl.c | 424 RAPL_EVENT_ATTR_STR(energy-gpu , rapl_gpu, "event=0x04"); 429 RAPL_EVENT_ATTR_STR(energy-gpu.unit , rapl_gpu_unit, "Joules"); 437 RAPL_EVENT_ATTR_STR(energy-gpu.scale, rapl_gpu_scale, "2.3283064365386962890625e-10");
|
| /linux-4.4.14/drivers/staging/android/ |
| D | TODO | 17 dma api's back (this is absolutely needed for high-perf gpu drivers): Add an
|
| /linux-4.4.14/Documentation/devicetree/bindings/display/ |
| D | brcm,bcm-vc4.txt | 63 vc4: gpu {
|
| /linux-4.4.14/Documentation/devicetree/bindings/thermal/ |
| D | thermal.txt | 367 gpu_thermal: gpu-thermal { 376 gpu_alert: gpu-alert { 381 gpu_crit: gpu-crit { 408 dsp_crit: gpu-crit { 566 gpu_trip: gpu-trip {
|
| /linux-4.4.14/drivers/ |
| D | Makefile | 57 obj-y += gpu/
|
| /linux-4.4.14/Documentation/EDID/ |
| D | HOWTO.txt | 20 (see drivers/gpu/drm/drm_edid_load.c) contains built-in data sets for
|
| /linux-4.4.14/drivers/gpu/drm/radeon/ |
| D | Makefile | 5 ccflags-y := -Iinclude/drm -Idrivers/gpu/drm/amd/include
|
| /linux-4.4.14/Documentation/devicetree/bindings/pinctrl/ |
| D | nvidia,tegra20-pinmux.txt | 76 ddc, dta, dtb, dtc, dtd, dte, dtf, gma, gmb, gmc, gmd, gme, gpu, gpu7,
|
| /linux-4.4.14/ |
| D | MAINTAINERS | 651 F: drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c 652 F: drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h 653 F: drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c 654 F: drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c 655 F: drivers/gpu/drm/amd/amdkfd/ 656 F: drivers/gpu/drm/amd/include/cik_structs.h 657 F: drivers/gpu/drm/amd/include/kgd_kfd_interface.h 658 F: drivers/gpu/drm/amd/include/vi_structs.h 659 F: drivers/gpu/drm/radeon/radeon_kfd.c 660 F: drivers/gpu/drm/radeon/radeon_kfd.h [all …]
|
| /linux-4.4.14/Documentation/locking/ |
| D | ww-mutex-design.txt | 113 not have duplicate entries (e.g. for a gpu commandbuffer submission ioctl).
|
| /linux-4.4.14/drivers/pinctrl/ |
| D | pinctrl-tegra20.c | 2076 MUX_PG(gpu, PWM, UARTA, GMI, RSVD4, 0x14, 16, 0x8c, 4, 0xa4, 20),
|