]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/dp: Add helper to get min sdp guardband
authorAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Fri, 17 Oct 2025 12:35:01 +0000 (18:05 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Sat, 18 Oct 2025 02:11:20 +0000 (07:41 +0530)
commit52ecd48b8d3f5206049758d95ca5b291397b3209
tree4b0c4f0f7014fc135aed3740442a7033cda9d892
parent77fb33cb7ccb7c76e3847795b7ffb29906d14b0b
drm/i915/dp: Add helper to get min sdp guardband

Add a helper to compute vblank time needed for transmitting specific
DisplayPort SDPs like PPS, GAMUT_METADATA, and VSC_EXT. Latency is
based on line count per packet type.

This will be used to ensure adequate guardband when features like DSC/HDR
are enabled.

v2: Correct the lines required for PPS SDP. (Jouni)

Bspec: 70151
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Link: https://lore.kernel.org/r/20251017123504.2247954-3-ankit.k.nautiyal@intel.com
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_dp.h