mbox series

[0/2] Fix null pointer error in HDCP capability check

Message ID 20240722040622.3605835-1-suraj.kandpal@intel.com (mailing list archive)
Headers show
Series Fix null pointer error in HDCP capability check | expand

Message

Kandpal, Suraj July 22, 2024, 4:06 a.m. UTC
During suspend/resume or plug/unplug scenarios encoder and gsc
are not initialized. This patch series adds checks to make sure
we don't run into a null pointer error.

Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>

Suraj Kandpal (2):
  drm/i915/hdcp: Check encoder availibility before using it
  drm/xe/hdcp: Check GSC structure validity

 drivers/gpu/drm/i915/display/intel_hdcp.c | 7 ++++++-
 drivers/gpu/drm/xe/display/xe_hdcp_gsc.c  | 8 ++++++--
 2 files changed, 12 insertions(+), 3 deletions(-)