mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
FROMLIST: drm: skip wait on vblank for set plane
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>
This commit is contained in:
committed by
Huang, Tao
parent
2c47c0d0c9
commit
ecac203383
@@ -1520,8 +1520,7 @@ retry:
|
||||
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)
|
||||
@@ -1589,8 +1588,7 @@ retry:
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user