]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/i915/stolen: make the object creation interface consistent
authorCQ Tang <cq.tang@intel.com>
Fri, 4 Oct 2019 17:04:32 +0000 (18:04 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 4 Oct 2019 18:27:41 +0000 (19:27 +0100)
commit0e5493cab5ef90fb91f89a2dc84259c7a7d7fd50
tree45a5f3cf79aafaf4762553d7d1ff2c10919c4cdd
parent7d423af9bfb172c3802cc1ca6591ac608c26a311
drm/i915/stolen: make the object creation interface consistent

Our other backends return an actual error value upon failure. Do the
same for stolen objects, which currently just return NULL on failure.

Signed-off-by: CQ Tang <cq.tang@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20191004170452.15410-2-matthew.auld@intel.com
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_fbdev.c
drivers/gpu/drm/i915/display/intel_overlay.c
drivers/gpu/drm/i915/gem/i915_gem_stolen.c
drivers/gpu/drm/i915/gt/intel_gt.c
drivers/gpu/drm/i915/gt/intel_rc6.c
drivers/gpu/drm/i915/gt/intel_ringbuffer.c