]> www.infradead.org Git - nvme.git/commit
drm/xe/hdcp: Check GSC structure validity
authorSuraj Kandpal <suraj.kandpal@intel.com>
Mon, 22 Jul 2024 06:44:51 +0000 (12:14 +0530)
committerSuraj Kandpal <suraj.kandpal@intel.com>
Thu, 25 Jul 2024 03:25:26 +0000 (08:55 +0530)
commitb4224f6bae3801d589f815672ec62800a1501b0d
tree9248a4ca78275eb92994c4e3b8728a138a0d581f
parentd34f4f058edf1235c103ca9c921dc54820d14d40
drm/xe/hdcp: Check GSC structure validity

Sometimes xe_gsc is not initialized when checked at HDCP capability
check. Add gsc structure check to avoid null pointer error.

Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Dnyaneshwar Bhadane <dnyaneshwar.bhadane@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240722064451.3610512-4-suraj.kandpal@intel.com
drivers/gpu/drm/xe/display/xe_hdcp_gsc.c