]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/ltphy: Provide protection against unsupported modes
authorSuraj Kandpal <suraj.kandpal@intel.com>
Mon, 5 Jan 2026 05:59:37 +0000 (11:29 +0530)
committerSuraj Kandpal <suraj.kandpal@intel.com>
Mon, 5 Jan 2026 08:20:59 +0000 (13:50 +0530)
commitb3aa6769288303567d5a2f069778f37de32942f1
tree747d2e883fa916f843545abde9c26b395d1325f4
parent73b506e6aa11dd1e8f2bdd3d82280341c510b0a2
drm/i915/ltphy: Provide protection against unsupported modes

We need to make sure we return some port clock in case we have
unsupported LT PHY modes or if we were not able to read the LT PHY state
for whatever reason and the mode ends up being 0.

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