forked from Minki/linux
4ff22f487f
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 |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
v3d_bo.c | ||
v3d_debugfs.c | ||
v3d_drv.c | ||
v3d_drv.h | ||
v3d_fence.c | ||
v3d_gem.c | ||
v3d_irq.c | ||
v3d_mmu.c | ||
v3d_perfmon.c | ||
v3d_regs.h | ||
v3d_sched.c | ||
v3d_trace_points.c | ||
v3d_trace.h |