3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-01-29 06:12:17 +00:00

Update vc4_crtc.c

This commit is contained in:
balloonatic 2022-12-17 12:50:47 +05:00
parent f11c153484
commit 3db51bcc07

View File

@ -739,7 +739,7 @@ int vc4_crtc_atomic_check(struct drm_crtc *crtc,
struct vc4_encoder *vc4_encoder = to_vc4_encoder(encoder);
if (vc4_encoder->type == VC4_ENCODER_TYPE_HDMI0) {
vc4_state->hvs_load = max(mode->clock * mode->hdisplay / mode->htotal + 1000,
vc4_state->hvs_load = max(mode->clock * mode->hdisplay / mode->htotal + 8000,
mode->clock * 9 / 10) * 1000;
} else {
vc4_state->hvs_load = mode->clock * 1000;