]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/dp: Use intel_dp_dsc_get_slice_config()
authorImre Deak <imre.deak@intel.com>
Wed, 14 Jan 2026 16:22:32 +0000 (18:22 +0200)
committerImre Deak <imre.deak@intel.com>
Thu, 15 Jan 2026 18:20:21 +0000 (20:20 +0200)
commit4d636e0fc26b90be9c56961d8a631f26dcedf4a4
tree627f52c20b5909969bd63659cfedb2a1e1604d58
parent54cf7900c6eff4832a349806bef85e0e123aa626
drm/i915/dp: Use intel_dp_dsc_get_slice_config()

Simplify things by computing the detailed slice configuration using
intel_dp_dsc_get_slice_config(), instead of open-coding the same.

While at it add a TODO comment to intel_dp_dsc_compute_config() to
explore if it's worth increasing the number of VDSC stream engines used,
in order to reduce the minimum CDCLK required.

v2: Add a TODO comment to intel_dp_dsc_compute_config() to explore if
    it's worth increasing the number of slices in order to use a lower
    CDCLK. (Jouni)

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-16-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_dp.c