Skip to content

Commit 584ebbe

Browse files
aknautiyaljlahtine-intel
authored andcommitted
drm/i915/dp: Fix the max DSC bpc supported by source
Use correct helper for getting max DSC bpc supported by the source. Fixes: 1c56e9a ("drm/i915/dp: Get optimal link config to have best compressed bpp") Cc: Ankit Nautiyal <[email protected]> Cc: Stanislav Lisovskiy <[email protected]> Cc: Jani Nikula <[email protected]> Signed-off-by: Ankit Nautiyal <[email protected]> Reviewed-by: Swati Sharma <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit cd7b0b2) Signed-off-by: Joonas Lahtinen <[email protected]>
1 parent 1180968 commit 584ebbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/i915/display/intel_dp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2101,7 +2101,7 @@ static int intel_dp_dsc_compute_pipe_bpp(struct intel_dp *intel_dp,
21012101
}
21022102
}
21032103

2104-
dsc_max_bpc = intel_dp_dsc_min_src_input_bpc(i915);
2104+
dsc_max_bpc = intel_dp_dsc_max_src_input_bpc(i915);
21052105
if (!dsc_max_bpc)
21062106
return -EINVAL;
21072107

0 commit comments

Comments
 (0)