]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/display: Use HAS_LT_PHY() for LT PHY AUX power
authorGustavo Sousa <gustavo.sousa@intel.com>
Tue, 2 Dec 2025 01:23:06 +0000 (17:23 -0800)
committerMatt Roper <matthew.d.roper@intel.com>
Tue, 2 Dec 2025 18:08:08 +0000 (10:08 -0800)
commit4d7f266e688480fdd4103c90331b012cd1e8b859
tree225fe198c8e6d4566d1d018c2a616c8c22c5eebe
parent97afa2da35f3bab11d5c9885508ee1d6162b8d98
drm/i915/display: Use HAS_LT_PHY() for LT PHY AUX power

Bspec states that the new AUX power enable/disable sequences are
associated with the LT PHY.  As such, use HAS_LT_PHY() instead of IP
checks in those paths in the driver code.

While at it, also move the comment that we can't use the power status
flag to the "else" branch, since that comment is not applicable for the
LT PHY.

Bspec: 68967
Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Suraj Kandpal <suraj.kandpal@intel.com>
Suggested-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com>
Link: https://patch.msgid.link/20251202012306.9315-9-matthew.s.atwood@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
drivers/gpu/drm/i915/display/intel_display_power_well.c