We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6df4432 commit fc764b1Copy full SHA for fc764b1
drivers/gpu/drm/vc4/vc4_crtc.c
@@ -671,7 +671,6 @@ static int vc4_crtc_atomic_check(struct drm_crtc *crtc,
671
const struct drm_display_mode *mode = &crtc_state->adjusted_mode;
672
struct vc4_encoder *vc4_encoder = to_vc4_encoder(encoder);
673
674
- mode = &crtc_state->adjusted_mode;
675
if (vc4_encoder->type == VC4_ENCODER_TYPE_HDMI0) {
676
vc4_state->hvs_load = max(mode->clock * mode->hdisplay / mode->htotal + 1000,
677
mode->clock * 9 / 10) * 1000;
0 commit comments