diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2015-07-27 11:42:54 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2015-10-20 01:36:14 +0300 |
commit | a32a3c800ca3ae822dfdd29f5b7ef81fbf970612 (patch) | |
tree | 4314b1a6edf36defef93ed2d56a46f2a9043edaa /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | |
parent | f4f0fb7949a9e55f4f3429381b8b92372038b6cd (diff) |
drm: rcar-du: 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 rcar_du_plane_atomic_destroy_state() function to destroy the plane
state instead of duplicating the code.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c')
0 files changed, 0 insertions, 0 deletions