]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/i915/intel_sdvo: Drop call to intel_panel_fixed_mode() from compute_config
authorAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Thu, 30 Apr 2026 13:12:19 +0000 (18:42 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Mon, 11 May 2026 04:20:56 +0000 (09:50 +0530)
commit90d8acc6d8b780822aa3fa7ff6f1614d0454fd58
tree8ce5a9120d65f87c7537e35b4f37719ab3569fea
parentc6aeb1229dc282d04cc738bc4ac7f9d673fbaf24
drm/i915/intel_sdvo: Drop call to intel_panel_fixed_mode() from compute_config

Currently, in intel_sdvo_compute_config(), intel_panel_fixed_mode() is
called to get the fixed mode. However, since the call is made after
intel_panel_compute_config, that copies the selected fixed mode to the
adjusted mode, we can directly use the crtc_state->hw.adjusted_mode.

So remove the extra call to intel_panel_fixed_mode() and use adjusted
mode instead.

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-5-ankit.k.nautiyal@intel.com
drivers/gpu/drm/i915/display/intel_sdvo.c