All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915/hdcp: Use correct function to check if encoder is HDMI
@ 2025-01-16  5:20 Suraj Kandpal
  2025-01-16  5:47 ` ✓ CI.Patch_applied: success for drm/i915/hdcp: Use correct function to check if encoder is HDMI (rev2) Patchwork
                   ` (9 more replies)
  0 siblings, 10 replies; 17+ messages in thread
From: Suraj Kandpal @ 2025-01-16  5:20 UTC (permalink / raw)
  To: intel-xe, intel-gfx; +Cc: ankit.k.nautiyal, dnyaneshwar.bhadane, Suraj Kandpal

Use intel_encoder_is_hdmi function which was recently introduced to
see if encoder is HDMI or not.

Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
---
 drivers/gpu/drm/i915/display/intel_hdcp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/display/intel_hdcp.c b/drivers/gpu/drm/i915/display/intel_hdcp.c
index 7464b44c8bb3..91d5629cd9f9 100644
--- a/drivers/gpu/drm/i915/display/intel_hdcp.c
+++ b/drivers/gpu/drm/i915/display/intel_hdcp.c
@@ -41,7 +41,7 @@ intel_hdcp_adjust_hdcp_line_rekeying(struct intel_encoder *encoder,
 	u32 rekey_bit = 0;
 
 	/* Here we assume HDMI is in TMDS mode of operation */
-	if (encoder->type != INTEL_OUTPUT_HDMI)
+	if (!intel_encoder_is_hdmi(encoder))
 		return;
 
 	if (DISPLAY_VER(display) >= 30) {
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [PATCH] drm/i915/hdcp: Use correct function to check if encoder is HDMI
@ 2025-01-17  4:12 Suraj Kandpal
  2025-01-20 10:51 ` Jani Nikula
  0 siblings, 1 reply; 17+ messages in thread
From: Suraj Kandpal @ 2025-01-17  4:12 UTC (permalink / raw)
  To: intel-xe, intel-gfx
  Cc: jani.nikula, ankit.k.nautiyal, dnyaneshwar.bhadane, Suraj Kandpal

Use intel_encoder_is_hdmi function which was recently introduced to
see if encoder is HDMI or not.

--v2
-Add Fixes tag [Jani]

Fixes: 6a3691ca4799 ("drm/i915/hdcp: Disable HDCP Line Rekeying for HDCP2.2 on HDMI")
Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
---
 drivers/gpu/drm/i915/display/intel_hdcp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/display/intel_hdcp.c b/drivers/gpu/drm/i915/display/intel_hdcp.c
index 7464b44c8bb3..91d5629cd9f9 100644
--- a/drivers/gpu/drm/i915/display/intel_hdcp.c
+++ b/drivers/gpu/drm/i915/display/intel_hdcp.c
@@ -41,7 +41,7 @@ intel_hdcp_adjust_hdcp_line_rekeying(struct intel_encoder *encoder,
 	u32 rekey_bit = 0;
 
 	/* Here we assume HDMI is in TMDS mode of operation */
-	if (encoder->type != INTEL_OUTPUT_HDMI)
+	if (!intel_encoder_is_hdmi(encoder))
 		return;
 
 	if (DISPLAY_VER(display) >= 30) {
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [PATCH] drm/i915/hdcp: Use correct function to check if encoder is HDMI
@ 2025-01-16  5:19 Suraj Kandpal
  0 siblings, 0 replies; 17+ messages in thread
From: Suraj Kandpal @ 2025-01-16  5:19 UTC (permalink / raw)
  To: intel-xe, intel-gfx; +Cc: ankit.k.nautiyal, dnyaneshwar.bhadane, Suraj Kandpal

Use intel_encoder_is_hdmi function which was recently introduced to
see if encoder is HDMI or not.

Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
---
 drivers/gpu/drm/i915/display/intel_hdcp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/display/intel_hdcp.c b/drivers/gpu/drm/i915/display/intel_hdcp.c
index 7464b44c8bb3..378bc5c2927b 100644
--- a/drivers/gpu/drm/i915/display/intel_hdcp.c
+++ b/drivers/gpu/drm/i915/display/intel_hdcp.c
@@ -41,7 +41,7 @@ intel_hdcp_adjust_hdcp_line_rekeying(struct intel_encoder *encoder,
 	u32 rekey_bit = 0;
 
 	/* Here we assume HDMI is in TMDS mode of operation */
-	if (encoder->type != INTEL_OUTPUT_HDMI)
+	if (intel_encoder_is_hdmi(encoder))
 		return;
 
 	if (DISPLAY_VER(display) >= 30) {
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2025-01-21  4:52 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-16  5:20 [PATCH] drm/i915/hdcp: Use correct function to check if encoder is HDMI Suraj Kandpal
2025-01-16  5:47 ` ✓ CI.Patch_applied: success for drm/i915/hdcp: Use correct function to check if encoder is HDMI (rev2) Patchwork
2025-01-16  5:48 ` ✓ CI.checkpatch: " Patchwork
2025-01-16  5:49 ` ✓ CI.KUnit: " Patchwork
2025-01-16  6:07 ` ✓ CI.Build: " Patchwork
2025-01-16  6:09 ` ✓ CI.Hooks: " Patchwork
2025-01-16  6:11 ` ✗ CI.checksparse: warning " Patchwork
2025-01-16  6:36 ` ✓ Xe.CI.BAT: success " Patchwork
2025-01-16  7:11 ` ✗ i915.CI.BAT: failure " Patchwork
2025-01-16  8:06 ` [PATCH] drm/i915/hdcp: Use correct function to check if encoder is HDMI Jani Nikula
2025-01-16  8:08   ` Jani Nikula
2025-01-16  9:25     ` Kandpal, Suraj
2025-01-16 10:30 ` ✗ Xe.CI.Full: failure for drm/i915/hdcp: Use correct function to check if encoder is HDMI (rev2) Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2025-01-17  4:12 [PATCH] drm/i915/hdcp: Use correct function to check if encoder is HDMI Suraj Kandpal
2025-01-20 10:51 ` Jani Nikula
2025-01-21  4:52   ` Kandpal, Suraj
2025-01-16  5:19 Suraj Kandpal

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.