Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/i915/dp: Fix BW check in is_bw_sufficient_for_dsc_config()

is_bw_sufficient_for_dsc_config() should return true if the required BW
equals the available BW, make it so.

Reviewed-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patch.msgid.link/20251215192357.172201-8-imre.deak@intel.com

Imre Deak 3999f6d7 78cfaaa1

+1 -1
+1 -1
drivers/gpu/drm/i915/display/intel_dp.c
··· 2030 2030 available_bw = (link_clock * lane_count * timeslots * 16) / 8; 2031 2031 required_bw = dsc_bpp_x16 * (intel_dp_mode_to_fec_clock(mode_clock)); 2032 2032 2033 - return available_bw > required_bw; 2033 + return available_bw >= required_bw; 2034 2034 } 2035 2035 2036 2036 static int dsc_compute_link_config(struct intel_dp *intel_dp,