mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-01-30 14:52:17 +00:00
Marz!
This commit is contained in:
parent
89d8dc5480
commit
0beea36afc
@ -728,10 +728,16 @@ static int vc4_crtc_atomic_check(struct drm_crtc *crtc,
|
||||
if (conn_state->crtc != crtc)
|
||||
continue;
|
||||
|
||||
vc4_state->margins.left = conn_state->tv.margins.left;
|
||||
vc4_state->margins.right = conn_state->tv.margins.right;
|
||||
vc4_state->margins.top = conn_state->tv.margins.top;
|
||||
vc4_state->margins.bottom = conn_state->tv.margins.bottom;
|
||||
if (memcmp(&vc4_state->margins, &conn_state->tv.margins,
|
||||
sizeof(vc4_state->margins))) {
|
||||
memcpy(&vc4_state->margins, &conn_state->tv.margins,
|
||||
sizeof(vc4_state->margins));
|
||||
|
||||
/* Need to force the dlist entries for all planes to be
|
||||
* updated so that the dest rectangles are changed.
|
||||
*/
|
||||
crtc_state->zpos_changed = true;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user