Use helpers for source min/max src bpc appropriately for dp mst case and to limit max_requested_bpc property min/max values. Rev2: Dropped patch to limit max_requested_bpc based on src DSC bpc limits. Instead added change to ignore max_requested_bpc if its too low for DSC. Rev3: Updated patch#1 commit message. Rev4: Rebased. Rev5: Addressed Jani's comment on patch#3 Rev6: Added patch to fix return type for dsc_min/max_src bpc helpers to int. Ankit Nautiyal (5): drm/i915/dp: Simplify checks for helper intel_dp_dsc_max_src_input_bpc drm/i915/dp: Fix the max DSC bpc supported by source drm/i915/dp: Return int from dsc_max/min_src_input_bpc helpers drm/i915/dp_mst: Use helpers to get dsc min/max input bpc drm/i915/dp: Ignore max_requested_bpc if its too low for DSC drivers/gpu/drm/i915/display/intel_dp.c | 47 +++++++++++++-------- drivers/gpu/drm/i915/display/intel_dp.h | 2 + drivers/gpu/drm/i915/display/intel_dp_mst.c | 13 +++--- 3 files changed, 37 insertions(+), 25 deletions(-) -- 2.40.1