]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/dp: Fix VSC dynamic range signaling for RGB formats
authorChaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
Tue, 5 May 2026 09:09:20 +0000 (14:39 +0530)
committerTvrtko Ursulin <tursulin@ursulin.net>
Tue, 12 May 2026 07:05:24 +0000 (08:05 +0100)
commit1ae15b6c7965d137eef21f2cc7d367b29cb88369
tree4f9547569fe378ed98ed256491ee072303834eb7
parent4cfe4c0efbdcde742a47813180cc69b132d7598e
drm/i915/dp: Fix VSC dynamic range signaling for RGB formats

For RGB, set dynamic_range to CTA or VESA based on
crtc_state->limited_color_range so sinks apply correct
quantization. YCbCr remains limited (CTA) range.
(DP v1.4, Table 5-1)

v2:
- Added Reported-by and Tested-by tags

v3:
- Add back YCbCr comment(Suraj)

Cc: stable@vger.kernel.org #v5.8+
Reported-by: DeepChirp <DeepChirp@outlook.com>
Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/work_items/15874
Tested-by: DeepChirp <DeepChirp@outlook.com>
Fixes: 9799c4c3b76e ("drm/i915/dp: Add compute routine for DP VSC SDP")
Assisted-by: GitHub-Copilot:GPT-5.4
Signed-off-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Link: https://patch.msgid.link/20260505090920.2479112-1-chaitanya.kumar.borah@intel.com
(cherry picked from commit 38e10ddae6f8d42a2e8437fcd25a1cac51106c64)
Signed-off-by: Tvrtko Ursulin <tursulin@ursulin.net>
drivers/gpu/drm/i915/display/intel_dp.c