]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/xe/hdcp: Fix gsc structure check in fw check status
authorSuraj Kandpal <suraj.kandpal@intel.com>
Fri, 25 Oct 2024 16:08:35 +0000 (21:38 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Dec 2024 12:53:18 +0000 (13:53 +0100)
commit94c81abcbdee13c31ab27c67ce9122595c8e6635
tree8cce0aa64429b2e895cdbf643ceef8f6d2d61ed9
parent10049302eef7dea6001b11dcd7ebe2d5bc52afa8
drm/xe/hdcp: Fix gsc structure check in fw check status

[ Upstream commit 182a32bcc223203c57761889fac7fa2dbb34684b ]

Fix the condition for gsc structure validity in
gsc_cs_status_check(). It needs to be an OR and not an AND
condition

Fixes: b4224f6bae38 ("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
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/xe/display/xe_hdcp_gsc.c