aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2016-03-02 12:51:19 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-03-03 17:38:46 +0200
commitc2eb77ff717c3aa403f5807425a7f2b2cb67b6b3 (patch)
tree84fe8bfbf7548fce6e5aa8d7f9b89dda18daf0bf /drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
parent39cd66209db9c0e8e80e24321d9f47de8ac5c52e (diff)
drm/omap: gem: Fix omap_gem_new() error path
When an error occurs in omap_gem_new() the function calls omap_gem_free_object() to clean up. However, that function expects to be called on a fully initialized GEM object and thus crashes. Replace it by manual cleanup. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c')
0 files changed, 0 insertions, 0 deletions