Commit 3d81fceb authored by Bhanuprakash Modem's avatar Bhanuprakash Modem Committed by Jani Nikula

drm/i915/display/debugfs: Fix duplicate checks in i915_drrs_status

Remove duplicate checks for debugfs entry "DRRS capable:".

Fixes: 20af1084 ("drm/i915/display/debugfs: New entry "DRRS capable" to i915_drrs_status")
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Cc: Mitul Golani <mitulkumar.ajitkumar.golani@intel.com>
Signed-off-by: default avatarBhanuprakash Modem <bhanuprakash.modem@intel.com>
Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240227123833.2799647-2-bhanuprakash.modem@intel.comSigned-off-by: default avatarJani Nikula <jani.nikula@intel.com>
parent 2d04f815
...@@ -321,9 +321,8 @@ static int intel_drrs_debugfs_status_show(struct seq_file *m, void *unused) ...@@ -321,9 +321,8 @@ static int intel_drrs_debugfs_status_show(struct seq_file *m, void *unused)
mutex_lock(&crtc->drrs.mutex); mutex_lock(&crtc->drrs.mutex);
seq_printf(m, "DRRS capable: %s\n", seq_printf(m, "DRRS capable: %s\n",
str_yes_no(crtc_state->has_drrs || str_yes_no(intel_cpu_transcoder_has_drrs(i915,
HAS_DOUBLE_BUFFERED_M_N(i915) || crtc_state->cpu_transcoder)));
intel_cpu_transcoder_has_m2_n2(i915, crtc_state->cpu_transcoder)));
seq_printf(m, "DRRS enabled: %s\n", seq_printf(m, "DRRS enabled: %s\n",
str_yes_no(crtc_state->has_drrs)); str_yes_no(crtc_state->has_drrs));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment