]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/dp: Use a mode's crtc_clock vs. clock during state computation
authorImre Deak <imre.deak@intel.com>
Mon, 15 Dec 2025 19:23:45 +0000 (21:23 +0200)
committerImre Deak <imre.deak@intel.com>
Fri, 19 Dec 2025 14:46:40 +0000 (16:46 +0200)
commit1867564b9080d096445f1c40b3fc360364735bb9
tree53cd9017a0e3781e85684f469db5e04a496f47e0
parent1f28404ad4712cae0f04532e1fb7b26f9c423292
drm/i915/dp: Use a mode's crtc_clock vs. clock during state computation

The encoder state computation should use the
drm_display_mode::crtc_clock member, instead of the clock member, the
former one possibly having a necessary adjustment wrt. to the latter
due to driver specific constraints. In practice the two values should
not differ at spots changed in this patch, since only MSO and 3D modes
would make them different, neither MSO or 3D relevant here, but still
use the expected crtc_clock version for consistency.

Reviewed-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patch.msgid.link/20251215192357.172201-6-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_dp.c