]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/intel_sdvo: Check fixed_mode->clock against max_dotclock in mode_valid
authorAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Thu, 30 Apr 2026 13:12:16 +0000 (18:42 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Mon, 11 May 2026 04:20:53 +0000 (09:50 +0530)
commitdae483da59657eba80efa0437b72f14d221e1f03
tree8706a6d4446503b0e9a06a7dc6bf693cfba63e48
parent0161e2c2016337a2f22ef79dff0aee43c0841bce
drm/i915/intel_sdvo: Check fixed_mode->clock against max_dotclock in mode_valid

For LVDS SDVO, mode validation checks the requested mode against the
pipe max dotclock, but does not validate the selected fixed mode clock.

After intel_panel_mode_valid(), get the fixed mode and validate its
clock against the max dotclock.

Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Link: https://patch.msgid.link/20260430131220.3891497-2-ankit.k.nautiyal@intel.com
drivers/gpu/drm/i915/display/intel_sdvo.c