All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: Bhanuprakash Modem <bhanuprakash.modem@intel.com>,
	Jani Nikula <jani.nikula@intel.com>,
	Ankit Nautiyal <ankit.k.nautiyal@intel.com>,
	Mitul Golani <mitulkumar.ajitkumar.golani@intel.com>
Subject: [PATCH 2/2] drm/i915/display/debugfs: Fix duplicate checks in i915_drrs_status
Date: Tue, 27 Feb 2024 18:08:33 +0530	[thread overview]
Message-ID: <20240227123833.2799647-2-bhanuprakash.modem@intel.com> (raw)
In-Reply-To: <20240227123833.2799647-1-bhanuprakash.modem@intel.com>

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

Fixes: (20af10845864) 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: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
---
 drivers/gpu/drm/i915/display/intel_drrs.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_drrs.c b/drivers/gpu/drm/i915/display/intel_drrs.c
index 169ef38ff188..e1b2a0e20e05 100644
--- a/drivers/gpu/drm/i915/display/intel_drrs.c
+++ b/drivers/gpu/drm/i915/display/intel_drrs.c
@@ -312,9 +312,8 @@ static int intel_drrs_debugfs_status_show(struct seq_file *m, void *unused)
 	mutex_lock(&crtc->drrs.mutex);
 
 	seq_printf(m, "DRRS capable: %s\n",
-		   str_yes_no(crtc_state->has_drrs ||
-			      HAS_DOUBLE_BUFFERED_M_N(i915) ||
-			      intel_cpu_transcoder_has_m2_n2(i915, crtc_state->cpu_transcoder)));
+		   str_yes_no(intel_cpu_transcoder_has_drrs(i915,
+						crtc_state->cpu_transcoder)));
 
 	seq_printf(m, "DRRS enabled: %s\n",
 		   str_yes_no(crtc_state->has_drrs));
-- 
2.43.0


  reply	other threads:[~2024-02-27 12:44 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-27 12:38 [PATCH 1/2] drm/i915/display/drrs: Refactor CPU transcoder DRRS check Bhanuprakash Modem
2024-02-27 12:38 ` Bhanuprakash Modem [this message]
2024-02-27 14:12 ` Jani Nikula
2024-02-27 14:58 ` ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/2] " Patchwork
2024-02-27 14:58 ` ✗ Fi.CI.SPARSE: " Patchwork
2024-02-27 15:18 ` ✓ Fi.CI.BAT: success " Patchwork
2024-02-28  1:15 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-02-28  5:55 ` [V2 1/2] drm/i915/drrs: " Bhanuprakash Modem
2024-03-07 14:08   ` Jani Nikula
2024-02-28  8:10 ` ✗ Fi.CI.CHECKPATCH: warning for series starting with [V2,1/2] drm/i915/drrs: Refactor CPU transcoder DRRS check (rev2) Patchwork
2024-02-28  8:10 ` ✗ Fi.CI.SPARSE: " Patchwork
2024-02-28  8:28 ` ✗ Fi.CI.BAT: failure " Patchwork
2024-02-28  8:54   ` Modem, Bhanuprakash
2024-02-28  9:44     ` Illipilli, TejasreeX
2024-02-28  9:42 ` ✓ Fi.CI.BAT: success " Patchwork
2024-02-28 22:04 ` ✓ Fi.CI.IGT: " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240227123833.2799647-2-bhanuprakash.modem@intel.com \
    --to=bhanuprakash.modem@intel.com \
    --cc=ankit.k.nautiyal@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jani.nikula@intel.com \
    --cc=mitulkumar.ajitkumar.golani@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.