summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_ddi.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-03-01 15:41:27 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2017-03-01 17:57:16 +0000
commit9aceb5c15d84d4b960f5f80fba846c753554d092 (patch)
tree3b242b19a3d9b8271c55e2d92c31c7429ed88a39 /drivers/gpu/drm/i915/intel_ddi.c
parent25b4620ee822d5f3c2deb3f1358e82763578788f (diff)
drm/i915: Fix all intel_framebuffer_init failures to take the error path
No more direct return -EINVAL as we have to unwind the obj->framebuffer_references. Fixes: 24dbf51a5517 ("drm/i915: struct_mutex is not required for allocating the framebuffer") Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170301154128.2841-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ddi.c')
0 files changed, 0 insertions, 0 deletions