From patchwork Fri May 10 14:29:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Deucher X-Patchwork-Id: 10938949 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3252592A for ; Fri, 10 May 2019 14:30:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1A37128B6A for ; Fri, 10 May 2019 14:30:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0D8F428B93; Fri, 10 May 2019 14:30:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B89C728B78 for ; Fri, 10 May 2019 14:30:09 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DB45D89DA8; Fri, 10 May 2019 14:30:07 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qt1-x843.google.com (mail-qt1-x843.google.com [IPv6:2607:f8b0:4864:20::843]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8ABEE89DA7; Fri, 10 May 2019 14:30:06 +0000 (UTC) Received: by mail-qt1-x843.google.com with SMTP id a17so5543918qth.3; Fri, 10 May 2019 07:30:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=or9D5WuW8eJkNri9s9UWGSGro2pvBkeC2DMXbybI4JQ=; b=AyUDWCse2w5F5ENt2qmPtX1JMrk0cmHQvERzZm0tB0fZtLELy5gS+oVd3WzaOQ5J7n 1Fnn6nyFf1DP7o+CFD7hBtTxgwrLvdGehcABl3raHX7YVa9slUmZh+wvKfTERXIYl9qo i5aGYelCSV5O8y2IGlO3SW2F3iC+2fE6iOpBbIg9pu6ix7z3vNEHRKPZOYt3bWrD41zI j4Iw4pDDbW3kfVioSKYaPA2VzA3BWRUWMSwrph+XpxKPJAPW8wWV2xEnUXtm/Aqszewg 12dMgriJqE6hP4xHKZ8znVti6fvDnfp6LIsMgdjQ3nKyTNx0NeJ9+WjUqnxajKzA+GgI csgw== X-Gm-Message-State: APjAAAX6GoSx0SGYF4Bl9yJdq3fy4Ofz/pCAFyVUFTvb9rF78ookBBSo lTqK+mC8jFvPIoaD1jfoqSlX9wCR X-Google-Smtp-Source: APXvYqxS9xpjpoGJjxzz3CiPX5SnUuN70/CtXrfYmlqinEBYoi1vRo31B9EkqaeXS0iNx3mPRUJNWA== X-Received: by 2002:ac8:2f6c:: with SMTP id k41mr9624277qta.371.1557498605231; Fri, 10 May 2019 07:30:05 -0700 (PDT) Received: from localhost.localdomain ([71.219.84.143]) by smtp.gmail.com with ESMTPSA id r4sm2778208qkb.20.2019.05.10.07.30.04 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 10 May 2019 07:30:04 -0700 (PDT) From: Alex Deucher X-Google-Original-From: Alex Deucher To: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH] Revert "vgaarb: Keep adding VGA device in queue" Date: Fri, 10 May 2019 09:29:58 -0500 Message-Id: <20190510142958.28017-1-alexander.deucher@amd.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=or9D5WuW8eJkNri9s9UWGSGro2pvBkeC2DMXbybI4JQ=; b=Su+2nvWT29MwnECgRTWEqgq7qhm3L9uje5OkoZb+JkX0QOaYpany2OGf9dzSylHjST wOndxkauXccBttPMxe6QU5oHhfi3pqkXOpOo1Yl/wV4AsE9u5kzLgi217TkU58cluqCb xchYjL4lZu8mThKdjDFICaIDliXABxRBJnKr+BOnm2ncAH5e1DLXIBIvi/o8LrXjrYcG sQuZG2RRQ1ARe6EK7nWCE/p6GAJw8cpucbCZSnqdD0d7VSwDwCg/CONj7J9/lKf8npRK 8yQLxK9WXJeQuMgoQlog2d4jEvSJ6UF/AXYpFYm4VCRJnGjmthuaq6fmqH6Hd9D3ewzS ebBw== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alex Deucher , Aaron Ma Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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 CC: Aaron Ma Reviewed-by: Daniel Vetter --- 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),