]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/i915/dsc: Add helper for writing DSC Selective Update ET parameters
authorJouni Högander <jouni.hogander@intel.com>
Wed, 4 Mar 2026 11:30:10 +0000 (13:30 +0200)
committerJouni Högander <jouni.hogander@intel.com>
Mon, 9 Mar 2026 05:23:56 +0000 (07:23 +0200)
commitc8698d61aeb3f70fe33761ee9d3d0e131b5bc2eb
treef87004cec20419b2c8ba8ca4e84ea4223a0374ae
parent24f96d903daf3dcf8fafe84d3d22b80ef47ba493
drm/i915/dsc: Add helper for writing DSC Selective Update ET parameters

There are slice row per frame and pic height configuration in DSC Selective
Update Parameter Set 1 register. Add helper for configuring these.

v2:
  - Add WARN_ON_ONCE if vdsc instances per pipe > 2
  - instead of checking vdsc instances per pipe being > 1 check == 2

Bspec: 71709
Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Link: https://patch.msgid.link/20260304113011.626542-4-jouni.hogander@intel.com
drivers/gpu/drm/i915/display/intel_vdsc.c
drivers/gpu/drm/i915/display/intel_vdsc.h