Commit 31824c03 authored by Jani Nikula's avatar Jani Nikula

drm/i915/audio: fix indentation, remove extra braces

Cleanup the code. No functional changes.
Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/6c2f6afa4c8866f8c1714b4f8dba9ea2d1509e4a.1620115983.git.jani.nikula@intel.com
parent f4c50dee
...@@ -597,8 +597,8 @@ static void enable_audio_dsc_wa(struct intel_encoder *encoder, ...@@ -597,8 +597,8 @@ static void enable_audio_dsc_wa(struct intel_encoder *encoder,
val |= HBLANK_EARLY_ENABLE_TGL(pipe); val |= HBLANK_EARLY_ENABLE_TGL(pipe);
if (crtc_state->dsc.compression_enable && if (crtc_state->dsc.compression_enable &&
(crtc_state->hw.adjusted_mode.hdisplay >= 3840 && crtc_state->hw.adjusted_mode.hdisplay >= 3840 &&
crtc_state->hw.adjusted_mode.vdisplay >= 2160)) { crtc_state->hw.adjusted_mode.vdisplay >= 2160) {
/* Get hblank early enable value required */ /* Get hblank early enable value required */
val &= ~HBLANK_START_COUNT_MASK(pipe); val &= ~HBLANK_START_COUNT_MASK(pipe);
hblank_early_prog = calc_hblank_early_prog(encoder, crtc_state); hblank_early_prog = calc_hblank_early_prog(encoder, crtc_state);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment