[Bug 216119] 087451f372bf76d breaks hibernation on amdgpu Radeon R9 390

bugzilla-daemon at kernel.org bugzilla-daemon at kernel.org
Thu Jul 6 14:51:47 UTC 2023


https://bugzilla.kernel.org/show_bug.cgi?id=216119

--- Comment #57 from Alex Deucher (alexdeucher at gmail.com) ---
Does this patch help?
https://gitlab.freedesktop.org/drm/amd/uploads/64dc2a05039b583e89da17309969fa50/0001-client-register-fix-plus-fbdev-debug-noise-2.patch

It's pretty noisy.  The meat of the patch is this hunk:

diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c
index 76e46713b2f0..5d28c54b2512 100644
--- a/drivers/gpu/drm/drm_fb_helper.c
+++ b/drivers/gpu/drm/drm_fb_helper.c
@@ -2634,10 +2678,12 @@ void drm_fbdev_generic_setup(struct drm_device *dev,
                preferred_bpp = 32;
        fb_helper->preferred_bpp = preferred_bpp;

+       drm_client_register(&fb_helper->client);
+
        ret = drm_fbdev_client_hotplug(&fb_helper->client);
        if (ret)
                drm_dbg_kms(dev, "client hotplug ret=%d\n", ret);

-       drm_client_register(&fb_helper->client);
+       drm_warn(dev, "%s:%d\n", __FILE__, __LINE__);
 }
 EXPORT_SYMBOL(drm_fbdev_generic_setup);

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.


More information about the dri-devel mailing list