linux/drivers/gpu/drm/panfrost
Rob Herring a5efb4c9a5 drm/panfrost: Restructure the GEM object creation
Setting the GPU VA when creating the GEM object doesn't allow for any
conditional adjustments to the mapping. In preparation to support
adjusting the mapping and per FD address spaces, restructure the GEM
object creation to map and unmap the GEM object in the GEM object .open()
and .close() hooks.

While panfrost_gem_free_object() and panfrost_gem_prime_import_sg_table()
are not really needed after this commit, keep them as we'll need them in
subsequent commits.

Cc: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Cc: Boris Brezillon <boris.brezillon@collabora.com>
Cc: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190808222200.13176-4-robh@kernel.org
2019-08-12 14:19:05 -06:00
..
Kconfig drm/panfrost: Require the simple_ondemand governor 2019-06-10 09:30:34 -06:00
Makefile drm/panfrost: Add madvise and shrinker support 2019-08-08 15:57:36 -06:00
panfrost_devfreq.c drm: Switch to use DEVFREQ_GOV_SIMPLE_ONDEMAND constant 2019-07-25 16:14:43 -06:00
panfrost_devfreq.h
panfrost_device.c drm/panfrost: Expose performance counters through unstable ioctls 2019-06-18 09:23:48 -06:00
panfrost_device.h drm/panfrost: Add madvise and shrinker support 2019-08-08 15:57:36 -06:00
panfrost_drv.c drm/panfrost: Restructure the GEM object creation 2019-08-12 14:19:05 -06:00
panfrost_features.h
panfrost_gem_shrinker.c drm/panfrost: Add madvise and shrinker support 2019-08-08 15:57:36 -06:00
panfrost_gem.c drm/panfrost: Restructure the GEM object creation 2019-08-12 14:19:05 -06:00
panfrost_gem.h drm/panfrost: Add madvise and shrinker support 2019-08-08 15:57:36 -06:00
panfrost_gpu.c drm/panfrost: Export all GPU feature registers 2019-07-25 16:10:52 -06:00
panfrost_gpu.h
panfrost_issues.h
panfrost_job.c drm/scheduler: rework job destruction 2019-05-02 15:45:48 -05:00
panfrost_job.h
panfrost_mmu.c drm/panfrost: Make sure a BO is only unmapped when appropriate 2019-06-18 09:26:28 -06:00
panfrost_mmu.h
panfrost_perfcnt.c drm/panfrost: Expose performance counters through unstable ioctls 2019-06-18 09:23:48 -06:00
panfrost_perfcnt.h drm/panfrost: Expose performance counters through unstable ioctls 2019-06-18 09:23:48 -06:00
panfrost_regs.h drm/panfrost: Expose performance counters through unstable ioctls 2019-06-18 09:23:48 -06:00
TODO drm/panfrost: Add madvise and shrinker support 2019-08-08 15:57:36 -06:00