]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/dsc: Switch to using intel_dsc_line_slice_count()
authorImre Deak <imre.deak@intel.com>
Wed, 14 Jan 2026 16:22:23 +0000 (18:22 +0200)
committerImre Deak <imre.deak@intel.com>
Thu, 15 Jan 2026 18:19:03 +0000 (20:19 +0200)
commite941eb107847f7a910e309799cdde49493b857cf
treeeb9ab45a709f96a228e0e6dc035e292b8cb31844
parentfd1e610ca21861f582e57e26e5e5628d01c6c36d
drm/i915/dsc: Switch to using intel_dsc_line_slice_count()

By now all the places are updated to track the DSC slice configuration
in intel_crtc_state::dsc.slice_config, so calculate the slices-per-line
value using that config, instead of using
intel_crtc_state::dsc.slice_count caching the same value and remove
the cached slice_count.

v2: Rebase on latest drm-tip, converting another user of dsc.slice_count
    in intel_vdsc_min_cdclk().

Cc: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Jouni Högander <jouni.hogander@intel.com> # v1
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patch.msgid.link/20260114162232.92731-7-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_bios.c
drivers/gpu/drm/i915/display/intel_display_types.h
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_vdsc.c