Commit 0627bbd3 authored by Harry Wentland's avatar Harry Wentland Committed by Alex Deucher

drm/amd/display: Use public plane destroy helper

Signed-off-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 8a5d8245
...@@ -2835,8 +2835,7 @@ void dm_drm_plane_destroy_state(struct drm_plane *plane, ...@@ -2835,8 +2835,7 @@ void dm_drm_plane_destroy_state(struct drm_plane *plane,
if (dm_plane_state->dc_state) if (dm_plane_state->dc_state)
dc_plane_state_release(dm_plane_state->dc_state); dc_plane_state_release(dm_plane_state->dc_state);
__drm_atomic_helper_plane_destroy_state(state); drm_atomic_helper_plane_destroy_state(plane, state);
kfree(dm_plane_state);
} }
static const struct drm_plane_funcs dm_plane_funcs = { static const struct drm_plane_funcs dm_plane_funcs = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment