aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/display/intel_tc.c
diff options
context:
space:
mode:
authorSai Teja Pottumuttu <[email protected]>2024-10-23 05:46:55 +0000
committerMatt Roper <[email protected]>2024-10-28 20:09:42 +0000
commita0e45f70d44e25fdfa26b4f4fc170fba3e45cd62 (patch)
tree414efcdd2e9e17cd155abe9a3166f00966c3ba44 /drivers/gpu/drm/i915/display/intel_tc.c
parentdrm/i915/xe2lpd: Update C20 algorithm to include tx_misc (diff)
downloadkernel-a0e45f70d44e25fdfa26b4f4fc170fba3e45cd62.tar.gz
kernel-a0e45f70d44e25fdfa26b4f4fc170fba3e45cd62.zip
drm/i915: Use string enable/disable choice helpers
Replace the last few remaining instances of string enable(d)/disable(d) choices with the linux string choice helpers to avoid further cocci warnings. Signed-off-by: Sai Teja Pottumuttu <[email protected]> Reviewed-by: Jani Nikula <[email protected]> Signed-off-by: Matt Roper <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_tc.c')
-rw-r--r--drivers/gpu/drm/i915/display/intel_tc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_tc.c b/drivers/gpu/drm/i915/display/intel_tc.c
index 6f2ee7dbc43b..b16c4d2d4077 100644
--- a/drivers/gpu/drm/i915/display/intel_tc.c
+++ b/drivers/gpu/drm/i915/display/intel_tc.c
@@ -1005,7 +1005,7 @@ xelpdp_tc_phy_wait_for_tcss_power(struct intel_tc_port *tc, bool enabled)
if (wait_for(xelpdp_tc_phy_tcss_power_is_enabled(tc) == enabled, 5)) {
drm_dbg_kms(&i915->drm,
"Port %s: timeout waiting for TCSS power to get %s\n",
- enabled ? "enabled" : "disabled",
+ str_enabled_disabled(enabled),
tc->port_name);
return false;
}