summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_debugfs.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2015-12-14 22:39:29 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2015-12-31 11:25:42 +0200
commitf8ef29ee45664e86805d4359e352a0a9acbd1d13 (patch)
tree795d2906b08cb6dc0df241acfa732708db323526 /drivers/gpu/drm/omapdrm/omap_debugfs.c
parente07323cf1bf2f45cf0e237f3d9990370d54fb714 (diff)
downloadlinux-f8ef29ee45664e86805d4359e352a0a9acbd1d13.tar.bz2
drm: omapdrm: Fix plane state free in plane reset handler
The plane reset handler frees the plane state and allocates a new default state, but when doing so attempt to free the plane state using the base plane state pointer instead of casting it to the driver-specific state object that has been allocated. Fix it by using the omap_plane_atomic_destroy_state() function to destroy the plane state instead of duplicating the code. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> [tomi.valkeinen@ti.com: move of the func into separate patch] Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_debugfs.c')
0 files changed, 0 insertions, 0 deletions