mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-08 15:14:30 -04:00
drm/xe/hdcp: Fix gsc structure check in fw check status
Fix the condition for gsc structure validity in
gsc_cs_status_check(). It needs to be an OR and not an AND
condition
Fixes: b4224f6bae ("drm/xe/hdcp: Check GSC structure validity")
Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241025160834.8785-1-suraj.kandpal@intel.com
This commit is contained in:
@@ -43,7 +43,7 @@ bool intel_hdcp_gsc_check_status(struct intel_display *display)
|
||||
struct xe_gsc *gsc = >->uc.gsc;
|
||||
bool ret = true;
|
||||
|
||||
if (!gsc && !xe_uc_fw_is_enabled(&gsc->fw)) {
|
||||
if (!gsc || !xe_uc_fw_is_enabled(&gsc->fw)) {
|
||||
drm_dbg_kms(&xe->drm,
|
||||
"GSC Components not ready for HDCP2.x\n");
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user