Skip to contentSkip to conversation

New: [amdgpu] Framebuffer no image CARRIZO and STONEY

Bug 207581 [email protected] 1 participant 7 messages May 5, 2020 – May 6, 2020

lore
Share & tools
lore
#0 lore raw

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: [email protected]
          Reporter: [email protected]
        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

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

[Bug 207581] [amdgpu] Framebuffer no image CARRIZO and STONEY

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

--- Comment #1 from Jan Burgmeier ([email protected]) --- Created attachment 288909
--> https://bugzilla.kernel.org/attachment.cgi?id=288909&action=edit
lspci from lenovo 14w

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 207581] [amdgpu] Framebuffer no image CARRIZO and STONEY

In reply to [email protected]

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

--- Comment #2 from Jan Burgmeier ([email protected]) --- Created attachment 288911
--> https://bugzilla.kernel.org/attachment.cgi?id=288911&action=edit
lspci from IGEL UD7

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

[Bug 207581] [amdgpu] Framebuffer no image CARRIZO and STONEY

In reply to [email protected]

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

--- Comment #3 from Jan Burgmeier ([email protected]) --- Created attachment 288913
--> https://bugzilla.kernel.org/attachment.cgi?id=288913&action=edit
git bisect log

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

[Bug 207581] [amdgpu] Framebuffer no image CARRIZO and STONEY

In reply to [email protected]

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

Alex Deucher ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #4 from Alex Deucher ([email protected]) --- 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?

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw

[Bug 207581] [amdgpu] Framebuffer no image CARRIZO and STONEY

In reply to [email protected]

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

Alex Deucher ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #288915|0                           |1

is obsolete| |

--- Comment #5 from Alex Deucher ([email protected]) --- Created attachment 288919
--> https://bugzilla.kernel.org/attachment.cgi?id=288919&action=edit
possible fix

This might be a better option.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#6 lore raw

[Bug 207581] [amdgpu] Framebuffer no image CARRIZO and STONEY

In reply to [email protected]

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

--- Comment #6 from Jan Burgmeier ([email protected]) --- Thanks for the quick reply.

The first patch from comment 4 works
The second patch from comment 5 does not work

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel