aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_debugfs.c
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2015-12-14 20:39:29 +0000
committerTomi Valkeinen <[email protected]>2015-12-31 09:25:42 +0000
commitf8ef29ee45664e86805d4359e352a0a9acbd1d13 (patch)
tree795d2906b08cb6dc0df241acfa732708db323526 /drivers/gpu/drm/omapdrm/omap_debugfs.c
parentdrm: omapdrm: move omap_plane_reset() (diff)
downloadkernel-f8ef29ee45664e86805d4359e352a0a9acbd1d13.tar.gz
kernel-f8ef29ee45664e86805d4359e352a0a9acbd1d13.zip
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 <[email protected]> [[email protected]: move of the func into separate patch] Signed-off-by: Tomi Valkeinen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_debugfs.c')
0 files changed, 0 insertions, 0 deletions