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

Add intel_dp_dsc_get_slice_config() to compute the detailed slice
configuration and determine the slices-per-line value (returned by
intel_dp_dsc_get_slice_count()) using this function.

v2: Fix incorrectly returning false from intel_dp_dsc_min_slice_count()
    due to rebase fail. (Jouni)

Cc: Jouni Högander <jouni.hogander@intel.com>
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-15-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_dp.c