]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/dsc: Add intel_dsc_get_slice_config()
authorImre Deak <imre.deak@intel.com>
Wed, 14 Jan 2026 16:22:28 +0000 (18:22 +0200)
committerImre Deak <imre.deak@intel.com>
Thu, 15 Jan 2026 18:20:20 +0000 (20:20 +0200)
commit91f0a9497414443b708e84e60b3813ff119f2444
tree748bc8c8068181821fb09a08e47a28546d1a578d
parentda833bb4baf58a8c817818a064bc354429a8c091
drm/i915/dsc: Add intel_dsc_get_slice_config()

Add intel_dsc_get_slice_config() and move the logic to select a given
slice configuration to that function from the configuration loop in
intel_dp_dsc_get_slice_count(). The same functionality can be used by
other outputs like DSI as well, done as a follow-up.

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