forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c
....@@ -221,8 +221,7 @@
221221 {
222222 struct mdp5_plane_state *pstate = to_mdp5_plane_state(state);
223223
224
- if (state->fb)
225
- drm_framebuffer_put(state->fb);
224
+ __drm_atomic_helper_plane_destroy_state(state);
226225
227226 kfree(pstate);
228227 }