https://bugzilla.kernel.org/show_bug.cgi?id=207581
Bug ID: 207581 Summary: [amdgpu] Framebuffer no image CARRIZO and STONEY Product: Drivers Version: 2.5 Kernel Version: 5.4.27 Hardware: All OS: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: Video(DRI - non Intel) Assignee: drivers_video-dri@kernel-bugs.osdl.org Reporter: Jan.Burgmeier@unicon-software.com Regression: No
Created attachment 288907 --> https://bugzilla.kernel.org/attachment.cgi?id=288907&action=edit Path for 5.4.27 to fix framebuffer
Hi,
we have some ancient software which uses DirectFB to draw to the framebuffer during installation. After upgrading from kernel 4.14.99 to 5.4.27 the framebuffer stall the GPU and only a black image was shown. This could be reprocuded on an Igel UD 7 (CARRIZO) and a Lenovo 14w (STONEY) lspci -vv is attached from both devices.
We did some more investigation to find the breaking change please see attached git bisect log:
6c8d74caa2fa33908ecd07fb1cf1b7bc629b367a is the first bad commit
After finding the bad commit we reverted the changes on the 5.4.27 and framebuffer started working again. Patch for reverting is also attached.
Kind regards, Jan Burgmeier
https://bugzilla.kernel.org/show_bug.cgi?id=207581
--- Comment #1 from Jan Burgmeier (Jan.Burgmeier@unicon-software.com) --- Created attachment 288909 --> https://bugzilla.kernel.org/attachment.cgi?id=288909&action=edit lspci from lenovo 14w
https://bugzilla.kernel.org/show_bug.cgi?id=207581
--- Comment #2 from Jan Burgmeier (Jan.Burgmeier@unicon-software.com) --- Created attachment 288911 --> https://bugzilla.kernel.org/attachment.cgi?id=288911&action=edit lspci from IGEL UD7
https://bugzilla.kernel.org/show_bug.cgi?id=207581
--- Comment #3 from Jan Burgmeier (Jan.Burgmeier@unicon-software.com) --- Created attachment 288913 --> https://bugzilla.kernel.org/attachment.cgi?id=288913&action=edit git bisect log
https://bugzilla.kernel.org/show_bug.cgi?id=207581
Alex Deucher (alexdeucher@gmail.com) changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexdeucher@gmail.com
--- Comment #4 from Alex Deucher (alexdeucher@gmail.com) --- Created attachment 288915 --> https://bugzilla.kernel.org/attachment.cgi?id=288915&action=edit possible fix
Reverting will break all systems with limited vram and large displays. Does this patch fix the issue?
https://bugzilla.kernel.org/show_bug.cgi?id=207581
Alex Deucher (alexdeucher@gmail.com) changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #288915|0 |1 is obsolete| |
--- Comment #5 from Alex Deucher (alexdeucher@gmail.com) --- Created attachment 288919 --> https://bugzilla.kernel.org/attachment.cgi?id=288919&action=edit possible fix
This might be a better option.
https://bugzilla.kernel.org/show_bug.cgi?id=207581
--- Comment #6 from Jan Burgmeier (Jan.Burgmeier@unicon-software.com) --- Thanks for the quick reply.
The first patch from comment 4 works The second patch from comment 5 does not work
dri-devel@lists.freedesktop.org