diff options
author | R Sundar <[email protected]> | 2024-10-07 23:18:57 +0530 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2024-10-22 13:09:10 +0300 |
commit | df6bbcb19ff8d3e659537e1ca0cba054df5fb1bb (patch) | |
tree | 56dce7dad78339613f2f4533837f68e45aee72db | |
parent | a081908ba4a534ad0f1961291850b3cba85bdc53 (diff) |
drm/i915/dp: use string choice helpers
Use str_on_off string helpers for better readability and to fix cocci
warning.
Reported-by: kernel test robot <[email protected]>
Reported-by: Julia Lawall <[email protected]>
Closes: https://lore.kernel.org/r/[email protected]/
Signed-off-by: R Sundar <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Jani Nikula <[email protected]>
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_dp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c index 7e04913bc2ff..6aba1d03a9d2 100644 --- a/drivers/gpu/drm/i915/display/intel_dp.c +++ b/drivers/gpu/drm/i915/display/intel_dp.c @@ -2476,7 +2476,7 @@ intel_dp_compute_config_link_bpp_limits(struct intel_dp *intel_dp, encoder->base.base.id, encoder->base.name, crtc->base.base.id, crtc->base.name, adjusted_mode->crtc_clock, - dsc ? "on" : "off", + str_on_off(dsc), limits->max_lane_count, limits->max_rate, limits->pipe.max_bpp, |