linux/drivers/gpu/drm/v3d
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 drm: v3d: correct reference to config ARCH_BRCMSTB 2021-08-26 11:19:08 +02:00
Makefile drm/v3d: Expose performance counters to userspace 2021-07-21 00:19:59 +01:00
v3d_bo.c drm: Return error codes from struct drm_driver.gem_create_object 2021-12-02 11:12:39 +01:00
v3d_debugfs.c
v3d_drv.c drm/v3d: add multiple syncobjs support 2021-10-04 10:08:46 +01:00
v3d_drv.h drm/v3d: add multiple syncobjs support 2021-10-04 10:08:46 +01:00
v3d_fence.c
v3d_gem.c drm/v3d: nullify pointer se with a NULL 2021-10-17 21:40:27 +01:00
v3d_irq.c drm/v3d: Don't clear MMU control bits on exception 2021-01-06 18:38:57 +01:00
v3d_mmu.c drm: v3d: fix common struct sg_table related issues 2020-09-10 08:18:35 +02:00
v3d_perfmon.c drm/v3d: Expose performance counters to userspace 2021-07-21 00:19:59 +01:00
v3d_regs.h drm/v3d: Expose performance counters to userspace 2021-07-21 00:19:59 +01:00
v3d_sched.c drm/v3d: Use scheduler dependency handling 2021-08-30 10:58:47 +02:00
v3d_trace_points.c
v3d_trace.h