Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
(am from https://github.com/LongChair/LibreELEC.tv/commit/
debdec6)
Change-Id: I20d3d03638388fbb1e84215cba187f2e89089a62
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
plane_state->src_h = src_h;
plane_state->src_w = src_w;
- if (plane == crtc->cursor)
- state->legacy_cursor_update = true;
+ state->legacy_cursor_update = true;
ret = drm_atomic_commit(state);
if (ret != 0)
goto fail;
}
- if (plane_state->crtc && (plane == plane->crtc->cursor))
- plane_state->state->legacy_cursor_update = true;
+ plane_state->state->legacy_cursor_update = true;
ret = __drm_atomic_helper_disable_plane(plane, plane_state);
if (ret != 0)