mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-02-15 19:55:53 +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)
|
if (conn_state->crtc != crtc)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
vc4_state->margins.left = conn_state->tv.margins.left;
|
if (memcmp(&vc4_state->margins, &conn_state->tv.margins,
|
||||||
vc4_state->margins.right = conn_state->tv.margins.right;
|
sizeof(vc4_state->margins))) {
|
||||||
vc4_state->margins.top = conn_state->tv.margins.top;
|
memcpy(&vc4_state->margins, &conn_state->tv.margins,
|
||||||
vc4_state->margins.bottom = conn_state->tv.margins.bottom;
|
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;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user