From 485c4124b97af28ad7ac1fe4712f7fceb063686d Mon Sep 17 00:00:00 2001 From: jsg Date: Thu, 19 Sep 2024 09:44:36 +0000 Subject: [PATCH] fixup! drm/apple: Add support for the macOS 13.2 DCP firmware From Janne Grunau in asahi bits/200-dcp puts logging of power state changes under DRMDEBUG ok kettenis@ --- sys/dev/pci/drm/apple/iomfb_template.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/pci/drm/apple/iomfb_template.c b/sys/dev/pci/drm/apple/iomfb_template.c index dd9af89b9e3..e1230c70838 100644 --- a/sys/dev/pci/drm/apple/iomfb_template.c +++ b/sys/dev/pci/drm/apple/iomfb_template.c @@ -796,7 +796,7 @@ void DCP_FW_NAME(iomfb_poweron)(struct apple_dcp *dcp) struct dcp_wait_cookie *cookie; int ret; u32 handle; - dev_err(dcp->dev, "dcp_poweron() starting\n"); + dev_info(dcp->dev, "dcp_poweron() starting\n"); cookie = kzalloc(sizeof(*cookie), GFP_KERNEL); if (!cookie) @@ -938,7 +938,7 @@ void DCP_FW_NAME(iomfb_poweroff)(struct apple_dcp *dcp) kref_put(&poff_cookie->refcount, release_wait_cookie); - dev_err(dcp->dev, "dcp_poweroff() done\n"); + dev_info(dcp->dev, "dcp_poweroff() done\n"); } static void last_client_closed_sleep(struct apple_dcp *dcp, void *out, void *cookie) @@ -983,7 +983,7 @@ void DCP_FW_NAME(iomfb_sleep)(struct apple_dcp *dcp) dev_warn(dcp->dev, "setDCPPower(0) timeout %u ms\n", 1000); kref_put(&cookie->refcount, release_wait_cookie); - dev_err(dcp->dev, "dcp_sleep() done\n"); + dev_info(dcp->dev, "dcp_sleep() done\n"); } static void dcpep_cb_hotplug(struct apple_dcp *dcp, u64 *connected) -- 2.20.1