From: jsg Date: Mon, 11 Dec 2023 05:04:45 +0000 (+0000) Subject: drm/amd/display: Include udelay when waiting for INBOX0 ACK X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=22b9dc1433fee75fd236168f0a876de295a12fd1;p=openbsd drm/amd/display: Include udelay when waiting for INBOX0 ACK From Alvin Lee 33ed892f0cdeb1350648cd3bfe8140aa9f792076 in linux-6.1.y/6.1.66 3c9ea68cb61bd7e5bd312c06a12adada74ff5805 in mainline linux --- diff --git a/sys/dev/pci/drm/amd/display/dmub/src/dmub_srv.c b/sys/dev/pci/drm/amd/display/dmub/src/dmub_srv.c index c3327875933..f58803de37c 100644 --- a/sys/dev/pci/drm/amd/display/dmub/src/dmub_srv.c +++ b/sys/dev/pci/drm/amd/display/dmub/src/dmub_srv.c @@ -964,6 +964,7 @@ enum dmub_status dmub_srv_wait_for_inbox0_ack(struct dmub_srv *dmub, uint32_t ti ack = dmub->hw_funcs.read_inbox0_ack_register(dmub); if (ack) return DMUB_STATUS_OK; + udelay(1); } return DMUB_STATUS_TIMEOUT; }