From fdf07312828286433000ea8e6c2281ff5050f39f Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Mon, 11 Dec 2023 05:04:46 +0000 Subject: 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 --- sys/dev/pci/drm/amd/display/dmub/src/dmub_srv.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys') 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; } -- cgit v1.2.3