drm/i915/hdcp: Remove log for HDMI HDCP LIC check
authorSuraj Kandpal <suraj.kandpal@intel.com>
Mon, 2 Dec 2024 06:04:10 +0000 (11:34 +0530)
committerSuraj Kandpal <suraj.kandpal@intel.com>
Mon, 2 Dec 2024 08:38:05 +0000 (14:08 +0530)
We don't need to shout out loud if there is a Link Integrity
Failure. This does not mean HDCP has failed, it is expected and
taken into account in the HDCP Spec. The real failure happens when
we are not able to reauthenticate and get HDCP running again for
which we already have the right logging.

--v2
-Remove the log altogether [Ankit]

--v3
-Remove useless display variable

Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241202060410.1872121-1-suraj.kandpal@intel.com
drivers/gpu/drm/i915/display/intel_hdmi.c

index 23c270a8c4aa31228bcdbb2c7d1de62496e73d7e..63e56c9ff516032835685e0a9604df63017fe7f2 100644 (file)
@@ -1600,14 +1600,12 @@ static
 bool intel_hdmi_hdcp_check_link(struct intel_digital_port *dig_port,
                                struct intel_connector *connector)
 {
-       struct intel_display *display = to_intel_display(dig_port);
        int retry;
 
        for (retry = 0; retry < 3; retry++)
                if (intel_hdmi_hdcp_check_link_once(dig_port, connector))
                        return true;
 
-       drm_err(display->drm, "Link check failed\n");
        return false;
 }