Quoting Suraj Kandpal (2023-05-02 05:36:52) >Check if media_gt exits if we are using gsc cs > >Cc: Ankit Nautiyal <ankit.k.nauti...@intel.com> >Signed-off-by: Suraj Kandpal <suraj.kand...@intel.com>
Reviewed-by: Gustavo Sousa <gustavo.so...@intel.com> >--- > drivers/gpu/drm/i915/display/intel_hdcp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/drivers/gpu/drm/i915/display/intel_hdcp.c >b/drivers/gpu/drm/i915/display/intel_hdcp.c >index 650232c4892b..f3956eca4ec4 100644 >--- a/drivers/gpu/drm/i915/display/intel_hdcp.c >+++ b/drivers/gpu/drm/i915/display/intel_hdcp.c >@@ -214,7 +214,7 @@ bool intel_hdcp2_capable(struct intel_connector *connector) > > /* If MTL+ make sure gsc is loaded and proxy is setup */ > if (intel_hdcp_gsc_cs_required(dev_priv)) >- if (!intel_uc_fw_is_running(&gsc->fw)) >+ if (!gt || !intel_uc_fw_is_running(&gsc->fw)) > return false; > > /* MEI/GSC interface is solid depending on which is used */ >-- >2.25.1 >