drm/i915/dp: Factor out intel_dp_dsc_min_slice_count()

Factor out intel_dp_dsc_min_slice_count() for making
intel_dp_dsc_get_slice_count() more readable and also to prepare for a
follow-up change unifying the eDP and DP slice count/config computation.

Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patch.msgid.link/20260114162232.92731-8-imre.deak@intel.com
This commit is contained in:
Imre Deak 2026-01-14 18:22:24 +02:00
commit 15f908bce5