This breaks multiple graphics cards in the Amigaone x5000
on PPC.

This reverts commit 3d42f1ddc47a69c0ce155f9f30d764c4d689a5fa.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=109345
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
CC: Aaron Ma <aaron...@canonical.com>
---
 drivers/gpu/vga/vgaarb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/vga/vgaarb.c b/drivers/gpu/vga/vgaarb.c
index f2f3ef8af271..8a3c45219a2a 100644
--- a/drivers/gpu/vga/vgaarb.c
+++ b/drivers/gpu/vga/vgaarb.c
@@ -725,7 +725,7 @@ static bool vga_arbiter_add_pci_device(struct pci_dev *pdev)
        vga_arbiter_check_bridge_sharing(vgadev);
 
        /* Add to the list */
-       list_add_tail(&vgadev->list, &vga_list);
+       list_add(&vgadev->list, &vga_list);
        vga_count++;
        vgaarb_info(&pdev->dev, "VGA device added: 
decodes=%s,owns=%s,locks=%s\n",
                vga_iostate_to_str(vgadev->decodes),
-- 
2.20.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to