drm/amd/display: Revert "Check HDCP returned status"
authorjsg <jsg@openbsd.org>
Fri, 18 Oct 2024 00:02:32 +0000 (00:02 +0000)
committerjsg <jsg@openbsd.org>
Fri, 18 Oct 2024 00:02:32 +0000 (00:02 +0000)
From Alex Hung
939b4b2c008d4c620b8127bfd12cb22e40447141 in linux-6.6.y/6.6.57
bc2fe69f16c7122b5dabc294aa2d6065d8da2169 in mainline linux

sys/dev/pci/drm/amd/display/modules/hdcp/hdcp1_execution.c

index b7da703..cee5e9e 100644 (file)
@@ -432,18 +432,18 @@ static enum mod_hdcp_status authenticated_dp(struct mod_hdcp *hdcp,
                goto out;
        }
 
-       if (!mod_hdcp_execute_and_set(mod_hdcp_read_bstatus,
+       mod_hdcp_execute_and_set(mod_hdcp_read_bstatus,
                        &input->bstatus_read, &status,
-                       hdcp, "bstatus_read"))
-               goto out;
-       if (!mod_hdcp_execute_and_set(check_link_integrity_dp,
+                       hdcp, "bstatus_read");
+
+       mod_hdcp_execute_and_set(check_link_integrity_dp,
                        &input->link_integrity_check, &status,
-                       hdcp, "link_integrity_check"))
-               goto out;
-       if (!mod_hdcp_execute_and_set(check_no_reauthentication_request_dp,
+                       hdcp, "link_integrity_check");
+
+       mod_hdcp_execute_and_set(check_no_reauthentication_request_dp,
                        &input->reauth_request_check, &status,
-                       hdcp, "reauth_request_check"))
-               goto out;
+                       hdcp, "reauth_request_check");
+
 out:
        return status;
 }