linux_dsm_epyc7002/drivers/gpu/drm/msm/adreno
Jordan Crouse a5fb8b9189 drm/msm/a6xx: Use the DMA API for GMU memory objects
The GMU has very few memory allocations and uses a flat memory space so
there is no good reason to go out of our way to bypass the DMA APIs which
were basically designed for this exact scenario.

v7: Check return value of dma_set_mask_and_coherent
v4: Use dma_alloc_wc()
v3: Set the dma mask correctly and use dma_addr_t for the iova type
v2: Pass force_dma false to of_dma_configure to require that the DMA
region be set up and return error from of_dma_configure to fail probe.

Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
2020-03-20 07:13:05 -07:00
..
a2xx_gpu.c drm/msm: implement a2xx mmu 2018-12-11 13:07:10 -05:00
a2xx_gpu.h drm/msm/adreno: add a2xx 2018-12-11 13:07:06 -05:00
a2xx.xml.h drm/msm: update generated headers 2018-12-11 13:05:27 -05:00
a3xx_gpu.c drm/msm/a3xx: set interconnect bandwidth vote 2020-01-02 14:23:48 -08:00
a3xx_gpu.h drm/msm/gpu: add ocmem init/cleanup functions 2019-10-07 08:17:39 -07:00
a3xx.xml.h drm/msm: update generated headers 2018-12-11 13:05:27 -05:00
a4xx_gpu.c drm/msm/a4xx: set interconnect bandwidth vote 2020-01-02 14:23:48 -08:00
a4xx_gpu.h drm/msm/gpu: add ocmem init/cleanup functions 2019-10-07 08:17:39 -07:00
a4xx.xml.h drm/msm: update generated headers 2018-12-11 13:05:27 -05:00
a5xx_debugfs.c drm/msm: drop use of drmP.h 2019-09-03 16:16:57 -07:00
a5xx_gpu.c drm/msm/a5xx: Always set an OPP supported hardware value 2020-03-19 12:15:35 -07:00
a5xx_gpu.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
a5xx_power.c drm/msm/adreno: Add support for Adreno 510 GPU 2019-11-04 13:18:31 -08:00
a5xx_preempt.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
a5xx.xml.h drm/msm/adreno: Add A540 support 2019-06-18 14:04:23 -07:00
a6xx_gmu.c drm/msm/a6xx: Use the DMA API for GMU memory objects 2020-03-20 07:13:05 -07:00
a6xx_gmu.h drm/msm/a6xx: Use the DMA API for GMU memory objects 2020-03-20 07:13:05 -07:00
a6xx_gmu.xml.h drm/msm: update generated headers 2018-12-11 13:05:27 -05:00
a6xx_gpu_state.c drm: msm: a6xx: Dump GBIF registers, debugbus in gpu state 2020-01-02 16:05:37 -08:00
a6xx_gpu_state.h drm/msm/a6xx: Fix CP_MEMPOOL state name 2020-03-19 12:19:10 -07:00
a6xx_gpu.c drm/msm: Fix a6xx GMU shutdown sequence 2020-02-11 07:41:18 -08:00
a6xx_gpu.h drm: msm: a6xx: Add support for A618 2020-01-02 16:05:36 -08:00
a6xx_hfi.c drm/msm/a6xx: Update the GMU bus tables for sc7180 2020-02-11 07:41:00 -08:00
a6xx_hfi.h drm/msm: Add A6XX device support 2018-08-10 18:49:18 -04:00
a6xx.xml.h drm: msm: a6xx: Add support for A618 2020-01-02 16:05:36 -08:00
adreno_common.xml.h drm/msm: update generated headers 2018-12-11 13:05:27 -05:00
adreno_device.c drm: msm: Add 618 gpu to the adreno gpu list 2020-01-02 16:05:36 -08:00
adreno_gpu.c drm/msm: Use scnprintf() for avoiding potential buffer overflow 2020-03-19 12:09:04 -07:00
adreno_gpu.h drm/msm: use BUG_ON macro for debugging. 2020-01-02 16:17:20 -08:00
adreno_pm4.xml.h drm/msm: update generated headers 2018-12-11 13:05:27 -05:00