linux/drivers/gpu/drm/panfrost
Thomas Zimmermann 4ff22f487f drm: Return error codes from struct drm_driver.gem_create_object
GEM helper libraries use struct drm_driver.gem_create_object to let
drivers override GEM object allocation. On failure, the call returns
NULL.

Change the semantics to make the calls return a pointer-encoded error.
This aligns the callback with its callers. Fixes the ingenic driver,
which already returns an error pointer.

Also update the callers to handle the involved types more strictly.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Steven Price <steven.price@arm.com>
Acked-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20211130095255.26710-1-tzimmermann@suse.de
2021-12-02 11:12:39 +01:00
..
Kconfig
Makefile
panfrost_devfreq.c drm/panfrost: devfreq: Don't display error for EPROBE_DEFER 2021-07-23 12:06:29 +01:00
panfrost_devfreq.h drm for 5.13-rc1 2021-04-28 10:01:40 -07:00
panfrost_device.c drm/panfrost: simplify getting .driver_data 2021-09-20 14:34:37 +01:00
panfrost_device.h drm/panfrost: Queue jobs on the hardware 2021-07-01 08:53:37 +02:00
panfrost_drv.c drm/shmem-helper: Pass GEM shmem object in public interfaces 2021-11-15 11:46:13 +01:00
panfrost_features.h
panfrost_gem_shrinker.c drm/shmem-helper: Pass GEM shmem object in public interfaces 2021-11-15 11:46:13 +01:00
panfrost_gem.c drm: Return error codes from struct drm_driver.gem_create_object 2021-12-02 11:12:39 +01:00
panfrost_gem.h drm/panfrost: Fix a deadlock between the shrinker and madvise path 2020-11-03 09:21:52 +01:00
panfrost_gpu.c drm/panfrost:fix the exception name always "UNKNOWN" 2021-07-12 11:13:44 +01:00
panfrost_gpu.h drm/panfrost: add amlogic reset quirk callback 2020-09-21 10:13:50 +01:00
panfrost_issues.h
panfrost_job.c drm/panfrost: use scheduler dependency tracking 2021-08-30 10:57:50 +02:00
panfrost_job.h drm/panfrost: use scheduler dependency tracking 2021-08-30 10:57:50 +02:00
panfrost_mmu.c drm/shmem-helper: Pass GEM shmem object in public interfaces 2021-11-15 11:46:13 +01:00
panfrost_mmu.h drm/panfrost: Make sure MMU context lifetime is not bound to panfrost_priv 2021-06-24 09:25:56 +02:00
panfrost_perfcnt.c drm/shmem-helper: Pass GEM shmem object in public interfaces 2021-11-15 11:46:13 +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: Clamp lock region to Bifrost minimum 2021-08-25 15:40:19 +01:00
TODO drm/panfrost: Remove commented out call to panfrost_core_dump 2019-10-09 13:36:56 -05:00