[PATCH 2/5] drm/i915/dp: Fix the max DSC bpc supported by source

Sharma, Swati2 swati2.sharma at intel.com
Tue Jan 2 15:19:56 UTC 2024


LGTM

Reviewed-by: Swati Sharma <swati2.sharma at intel.com>

On 13-Dec-23 2:46 PM, Ankit Nautiyal wrote:
> Use correct helper for getting max DSC bpc supported by the source.
> 
> Fixes: 1c56e9a39833 ("drm/i915/dp: Get optimal link config to have best compressed bpp")
> Cc: Ankit Nautiyal <ankit.k.nautiyal at intel.com>
> Cc: Stanislav Lisovskiy <stanislav.lisovskiy at intel.com>
> Cc: Jani Nikula <jani.nikula at intel.com>
> 
> Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal at intel.com>
> ---
>   drivers/gpu/drm/i915/display/intel_dp.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
> index a8015f701626..b2e767a87476 100644
> --- a/drivers/gpu/drm/i915/display/intel_dp.c
> +++ b/drivers/gpu/drm/i915/display/intel_dp.c
> @@ -2102,7 +2102,7 @@ static int intel_dp_dsc_compute_pipe_bpp(struct intel_dp *intel_dp,
>   		}
>   	}
>   
> -	dsc_max_bpc = intel_dp_dsc_min_src_input_bpc(i915);
> +	dsc_max_bpc = intel_dp_dsc_max_src_input_bpc(i915);
>   	if (!dsc_max_bpc)
>   		return -EINVAL;
>   


More information about the Intel-gfx mailing list