All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe/hdcp: Fix condition for hdcp gsc cs requirement
@ 2024-03-08 13:48 Suraj Kandpal
  2024-03-08 15:04 ` Jani Nikula
                   ` (16 more replies)
  0 siblings, 17 replies; 19+ messages in thread
From: Suraj Kandpal @ 2024-03-08 13:48 UTC (permalink / raw)
  To: intel-xe; +Cc: Suraj Kandpal

Add condition for check of hdcp gsc cs requirement rather than
assuming gsc cs to always be required when xe is loaded. It is not
required for Gen pre-MTL

Fixes: 152f2df954d8 ("drm/xe/hdcp: Enable HDCP for XE")
Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
---
 drivers/gpu/drm/xe/display/xe_hdcp_gsc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/display/xe_hdcp_gsc.c b/drivers/gpu/drm/xe/display/xe_hdcp_gsc.c
index dcde1d0ac1f8..25c73602ef55 100644
--- a/drivers/gpu/drm/xe/display/xe_hdcp_gsc.c
+++ b/drivers/gpu/drm/xe/display/xe_hdcp_gsc.c
@@ -32,7 +32,7 @@ struct intel_hdcp_gsc_message {
 
 bool intel_hdcp_gsc_cs_required(struct xe_device *xe)
 {
-	return true;
+	return DISPLAY_VER(xe) >= 14;
 }
 
 bool intel_hdcp_gsc_check_status(struct xe_device *xe)
-- 
2.43.2


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

end of thread, other threads:[~2024-03-11  5:25 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-08 13:48 [PATCH] drm/xe/hdcp: Fix condition for hdcp gsc cs requirement Suraj Kandpal
2024-03-08 15:04 ` Jani Nikula
2024-03-08 15:23 ` Lucas De Marchi
2024-03-08 15:34 ` ✓ CI.Patch_applied: success for " Patchwork
2024-03-08 15:34 ` ✓ CI.checkpatch: " Patchwork
2024-03-08 15:35 ` ✓ CI.KUnit: " Patchwork
2024-03-08 15:49 ` [PATCH] " Suraj Kandpal
2024-03-11  5:24   ` Shankar, Uma
2024-03-08 15:50 ` ✓ CI.Build: success for " Patchwork
2024-03-08 15:50 ` ✓ CI.Hooks: " Patchwork
2024-03-08 15:52 ` ✓ CI.checksparse: " Patchwork
2024-03-08 16:16 ` ✓ CI.BAT: " Patchwork
2024-03-08 16:52 ` ✓ CI.Patch_applied: success for drm/xe/hdcp: Fix condition for hdcp gsc cs requirement (rev2) Patchwork
2024-03-08 16:52 ` ✓ CI.checkpatch: " Patchwork
2024-03-08 16:54 ` ✓ CI.KUnit: " Patchwork
2024-03-08 17:05 ` ✓ CI.Build: " Patchwork
2024-03-08 17:05 ` ✓ CI.Hooks: " Patchwork
2024-03-08 17:07 ` ✓ CI.checksparse: " Patchwork
2024-03-08 17:33 ` ✓ CI.BAT: " Patchwork

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.