linux/drivers/gpu/drm/panfrost
Thomas Zimmermann 49a3f51dfe drm/gem: Use struct dma_buf_map in GEM vmap ops and convert GEM backends
This patch replaces the vmap/vunmap's use of raw pointers in GEM object
functions with instances of struct dma_buf_map. GEM backends are
converted as well. For most of them, this simply changes the returned type.

TTM-based drivers now return information about the location of the memory,
either system or I/O memory. GEM VRAM helpers and qxl now use ttm_bo_vmap()
et al. Amdgpu, nouveau and radeon use drm_gem_ttm_vmap() et al instead of
implementing their own vmap callbacks.

v7:
	* init QXL cursor to mapped BO buffer (kernel test robot)
v5:
	* update vkms after switch to shmem
v4:
	* use ttm_bo_vmap(), drm_gem_ttm_vmap(), et al. (Daniel, Christian)
	* fix a trailing { in drm_gem_vmap()
	* remove several empty functions instead of converting them (Daniel)
	* comment uses of raw pointers with a TODO (Daniel)
	* TODO list: convert more helpers to use struct dma_buf_map

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Christian König <christian.koenig@amd.com>
Tested-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20201103093015.1063-7-tzimmermann@suse.de
2020-11-09 09:19:24 +01:00
..
Kconfig
Makefile drm/panfrost: Add madvise and shrinker support 2019-08-08 15:57:36 -06:00
panfrost_devfreq.c drm/panfrost: simplify the return expression of panfrost_devfreq_target() 2020-10-01 13:59:01 +01:00
panfrost_devfreq.h drm/panfrost: add regulators to devfreq 2020-08-07 10:11:26 -06:00
panfrost_device.c drm/panfrost: Replace devm_reset_control_array_get() 2020-11-04 11:54:03 +00:00
panfrost_device.h drm/panfrost: Support cache-coherent integrations 2020-10-30 10:08:08 +01:00
panfrost_drv.c drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
panfrost_features.h
panfrost_gem_shrinker.c drm/panfrost: Make sure the shrinker does not reclaim referenced BOs 2020-02-03 11:23:21 +00:00
panfrost_gem.c Merge drm/drm-next into drm-misc-next 2020-11-02 11:17:54 +01:00
panfrost_gem.h drm/panfrost: Make sure the shrinker does not reclaim referenced BOs 2020-02-03 11:23:21 +00:00
panfrost_gpu.c drm/panfrost: increase readl_relaxed_poll_timeout values 2020-10-09 16:57:27 +01:00
panfrost_gpu.h drm/panfrost: add amlogic reset quirk callback 2020-09-21 10:13:50 +01:00
panfrost_issues.h drm/panfrost: Add errata descriptions from kbase 2019-08-23 12:16:27 -05:00
panfrost_job.c drm/panfrost: Remove unused variables in panfrost_job_close() 2020-11-03 09:16:24 +01:00
panfrost_job.h drm/panfrost: Add the panfrost_gem_mapping concept 2020-01-21 10:32:55 -06:00
panfrost_mmu.c Merge drm/drm-next into drm-misc-next 2020-11-02 11:17:54 +01:00
panfrost_mmu.h drm/panfrost: Add the panfrost_gem_mapping concept 2020-01-21 10:32:55 -06:00
panfrost_perfcnt.c drm/gem: Use struct dma_buf_map in GEM vmap ops and convert GEM backends 2020-11-09 09:19:24 +01:00
panfrost_perfcnt.h drm/panfrost: Open/close the perfcnt BO 2019-12-06 11:06:20 -06:00
panfrost_regs.h drm/panfrost: add amlogic reset quirk callback 2020-09-21 10:13:50 +01:00
TODO drm/panfrost: Remove commented out call to panfrost_core_dump 2019-10-09 13:36:56 -05:00