[Intel-gfx] [PATCH 2/2] drm/i915/audio: fix indentation, remove extra braces

Ville Syrjälä ville.syrjala at linux.intel.com
Tue May 4 08:50:07 UTC 2021


On Tue, May 04, 2021 at 11:14:01AM +0300, Jani Nikula wrote:
> Cleanup the code. No functional changes.
> 
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>

for the series
Reviewed-by: Ville Syrjälä <ville.syrjala at linux.intel.com>

> ---
>  drivers/gpu/drm/i915/display/intel_audio.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_audio.c b/drivers/gpu/drm/i915/display/intel_audio.c
> index 60083431228c..75871ee544a7 100644
> --- a/drivers/gpu/drm/i915/display/intel_audio.c
> +++ b/drivers/gpu/drm/i915/display/intel_audio.c
> @@ -597,8 +597,8 @@ static void enable_audio_dsc_wa(struct intel_encoder *encoder,
>  		val |= HBLANK_EARLY_ENABLE_TGL(pipe);
>  
>  	if (crtc_state->dsc.compression_enable &&
> -	    (crtc_state->hw.adjusted_mode.hdisplay >= 3840 &&
> -	    crtc_state->hw.adjusted_mode.vdisplay >= 2160)) {
> +	    crtc_state->hw.adjusted_mode.hdisplay >= 3840 &&
> +	    crtc_state->hw.adjusted_mode.vdisplay >= 2160) {
>  		/* Get hblank early enable value required */
>  		val &= ~HBLANK_START_COUNT_MASK(pipe);
>  		hblank_early_prog = calc_hblank_early_prog(encoder, crtc_state);
> -- 
> 2.20.1
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Ville Syrjälä
Intel


More information about the Intel-gfx mailing list