3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-01-30 14:52:17 +00:00
This commit is contained in:
Raziel K. Crowe 2022-04-02 15:02:10 +05:00 committed by GitHub
parent 89d8dc5480
commit 0beea36afc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}