[PATCH 2/2] drm/i915/display/drrs: Remove repeated DRRS in i915_drrs_status

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



User-space parsing of i915_drrs_status is already broken so lets
use this oportunity to drop those repeated "DRRS".
It is the DRRS status debugfs so all of this information is related to
DRRS and there is no need to mention it each time.

Cc: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>
Signed-off-by: José Roberto de Souza <jose.souza@xxxxxxxxx>
---
 drivers/gpu/drm/i915/display/intel_display_debugfs.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_display_debugfs.c b/drivers/gpu/drm/i915/display/intel_display_debugfs.c
index 0d7d2e750a4c7..799b0d2bbba18 100644
--- a/drivers/gpu/drm/i915/display/intel_display_debugfs.c
+++ b/drivers/gpu/drm/i915/display/intel_display_debugfs.c
@@ -1074,7 +1074,7 @@ static int intel_drrs_status(struct seq_file *m, struct drm_connector *connector
 	struct drm_i915_private *dev_priv = to_i915(connector->dev);
 	struct intel_crtc *crtc;
 
-	seq_printf(m, "DRRS type: %s\n",
+	seq_printf(m, "Type: %s\n",
 		   intel_drrs_type_str(intel_panel_drrs_type(intel_connector)));
 
 	for_each_intel_crtc(&dev_priv->drm, crtc) {
@@ -1087,16 +1087,16 @@ static int intel_drrs_status(struct seq_file *m, struct drm_connector *connector
 		mutex_lock(&crtc->drrs.mutex);
 
 		/* DRRS Supported */
-		seq_printf(m, "DRRS Enabled: %s\n",
+		seq_printf(m, "Enabled: %s\n",
 			   str_yes_no(crtc_state->has_drrs));
 
-		seq_printf(m, "DRRS Active: %s\n",
+		seq_printf(m, "Active: %s\n",
 			   str_yes_no(intel_drrs_is_active(crtc)));
 
 		seq_printf(m, "Busy_frontbuffer_bits: 0x%X\n",
 			   crtc->drrs.busy_frontbuffer_bits);
 
-		seq_printf(m, "DRRS refresh rate: %s\n",
+		seq_printf(m, "Refresh rate: %s\n",
 			   crtc->drrs.refresh_rate == DRRS_REFRESH_RATE_LOW ?
 			   "low" : "high");
 
-- 
2.35.3




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux