{"id":808541,"url":"http://patchwork.ozlabs.org/api/1.0/covers/808541/?format=json","project":{"id":28,"url":"http://patchwork.ozlabs.org/api/1.0/projects/28/?format=json","name":"Linux PCI development","link_name":"linux-pci","list_id":"linux-pci.vger.kernel.org","list_email":"linux-pci@vger.kernel.org","web_url":null,"scm_url":null,"webscm_url":null},"msgid":"<20170901072744.2409-1-dja@axtens.net>","date":"2017-09-01T07:27:41","name":"[v3,0/3] Split default display handling out from VGA arbiter","submitter":{"id":65792,"url":"http://patchwork.ozlabs.org/api/1.0/people/65792/?format=json","name":"Daniel Axtens","email":"dja@axtens.net"},"series":[{"id":959,"url":"http://patchwork.ozlabs.org/api/1.0/series/959/?format=json","date":"2017-09-01T07:27:41","name":"Split default display handling out from VGA arbiter","version":3,"mbox":"http://patchwork.ozlabs.org/series/959/mbox/"}],"headers":{"Return-Path":"<linux-pci-owner@vger.kernel.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=linux-pci-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=axtens.net header.i=@axtens.net\n\theader.b=\"nNBLHNMT\"; dkim-atps=neutral"],"Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xk9nx0h62z9s81\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  1 Sep 2017 17:28:21 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751359AbdIAH2T (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tFri, 1 Sep 2017 03:28:19 -0400","from mail-pg0-f68.google.com ([74.125.83.68]:34393 \"EHLO\n\tmail-pg0-f68.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751354AbdIAH2T (ORCPT\n\t<rfc822;linux-pci@vger.kernel.org>); Fri, 1 Sep 2017 03:28:19 -0400","by mail-pg0-f68.google.com with SMTP id 63so1249431pgc.1\n\tfor <linux-pci@vger.kernel.org>; Fri, 01 Sep 2017 00:28:18 -0700 (PDT)","from localhost.localdomain (124-171-202-56.dyn.iinet.net.au.\n\t[124.171.202.56]) by smtp.gmail.com with ESMTPSA id\n\tl30sm2430300pgc.61.2017.09.01.00.28.12\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 01 Sep 2017 00:28:18 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=axtens.net; s=google;\n\th=from:to:cc:subject:date:message-id;\n\tbh=UPYSRpF6pwAnbpFPJLw5aLd69/8V53O87xUWraljj+Q=;\n\tb=nNBLHNMTobPDo9sVxufPm8qwRE2HLUuMTY2ECLCEzx++Y8K0zXGXX/KUAZQIKb2LRO\n\tTQJUa19qIu5Eo8D6DTqGpklDOHr5sYNXSVSQAi5lu1nNieg2u+NylGrBFgs6Mj4JdIdn\n\tQ0oIv8ZZvPTt5FJjYKvmdKb8mfGkLd/ZzAvks=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=UPYSRpF6pwAnbpFPJLw5aLd69/8V53O87xUWraljj+Q=;\n\tb=ArUlM2MX7/weOjKOulrRUPno7+mun/vP4KdyRMCTzcf+t1WcVuAp6+CDKI0sMsNNc3\n\tH0Xs0lBy2GYIDfUvUId3xVZdPNEfZs8UWDvlVrczMKQVP7NnhBkcFxIv0ojnExzBf67E\n\tXSA6eRG4qrUvc/iNni7nxuEQ+mTtak0fVC/r/wTEpAFHWvJXMyD+efnTuiB5GVr9vjOZ\n\t4w2Yid4DajmEPzhkJ6YW1mbM4gLKiDGtgoJptiMY02WvRHXjyQPfqyy6CmMl8C3KpOvH\n\t/JBqWifIeBrmgXbcm0qeD1C9LfU911gJVsNcIzFT7yq1Oixw73Eitf5+FGy/n32UihYT\n\tqZHQ==","X-Gm-Message-State":"AHPjjUizfnPEMV9Vt/sI4Rra0lA0uTlUAaomdzT5xYlQFf92EsUu9d62\n\tUGIipJ8Gdt8n7PzEqRt86Q==","X-Google-Smtp-Source":"ADKCNb7xZROecgE8ih+swvD2Yye0PkI0bAkaPIc1zoGf6bbxbkPhjIhYS5OneLmefpJv2TR1o7pvGQ==","X-Received":"by 10.84.128.36 with SMTP id 33mr1319276pla.212.1504250898562;\n\tFri, 01 Sep 2017 00:28:18 -0700 (PDT)","From":"Daniel Axtens <dja@axtens.net>","To":"linux-pci@vger.kernel.org, linuxppc-dev@lists.ozlabs.org,\n\tlinux-arm-kernel@lists.infradead.org","Cc":"benh@kernel.crashing.org, z.liuxinliang@hisilicon.com,\n\tzourongrong@gmail.com, catalin.marinas@arm.com,\n\twill.deacon@arm.com, gabriele.paoloni@huawei.com,\n\thelgaas@kernel.org, airlied@linux.ie, daniel.vetter@intel.com,\n\talex.williamson@redhat.com, dri-devel@lists.freedesktop.org,\n\tlukas@wunner.de, ard.biesheuvel@linaro.org,\n\tlorenzo.pieralisi@arm.com, Daniel Axtens <dja@axtens.net>","Subject":"[PATCH v3 0/3] Split default display handling out from VGA arbiter","Date":"Fri,  1 Sep 2017 17:27:41 +1000","Message-Id":"<20170901072744.2409-1-dja@axtens.net>","X-Mailer":"git-send-email 2.11.0","Sender":"linux-pci-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<linux-pci.vger.kernel.org>","X-Mailing-List":"linux-pci@vger.kernel.org"},"content":"This patch set:\n\n - splits the default display handling out from VGA arbiter, into its\n   own file and behind its own Kconfig option (and gives the functions\n   better names).\n\n - adds extra detection of default devices. To be nominated, the vga\n   arbiter and platform hooks must not have nominated a default. A\n   card will then only be nominated if it has a driver attached and\n   has IO or memory decoding enabled.\n\n - adds relevant documentation.\n\nThe practical impact of this is improved X autoconfiguration on some\narm64 systems.\n\nChanges in v3:\n\n - Add documentation - thanks Daniel Vetter for pointing it out.\n\n - Clarify explanations. Thanks to everyone for continuing to bear\n   with my incomplete understanding of PCI and provide some clarity.\n\n - Split refactoring and adding functionality.\n\nChanges in v2: https://www.spinics.net/lists/linux-pci/msg64007.html\n\nDrop all the powerpc patches. [explanation snipped]\n\nv1: https://www.spinics.net/lists/linux-pci/msg63581.html\n\nRegards,\nDaniel\n\nDaniel Axtens (3):\n  drm: split default display handler out of VGA arbiter\n  drm: add fallback default device detection\n  drm: documentation for default display device\n\n Documentation/gpu/default_display.rst |  93 +++++++++++++++++++\n Documentation/gpu/index.rst           |   1 +\n arch/ia64/pci/fixup.c                 |   6 +-\n arch/powerpc/kernel/pci-common.c      |   6 +-\n arch/x86/pci/fixup.c                  |   6 +-\n arch/x86/video/fbdev.c                |   4 +-\n drivers/gpu/vga/Kconfig               |  12 +++\n drivers/gpu/vga/Makefile              |   1 +\n drivers/gpu/vga/default_display.c     | 163 ++++++++++++++++++++++++++++++++++\n drivers/gpu/vga/vga_switcheroo.c      |   8 +-\n drivers/gpu/vga/vgaarb.c              |  61 +++----------\n drivers/pci/pci-sysfs.c               |   4 +-\n include/linux/default_display.h       |  44 +++++++++\n include/linux/vgaarb.h                |  15 ----\n 14 files changed, 344 insertions(+), 80 deletions(-)\n create mode 100644 Documentation/gpu/default_display.rst\n create mode 100644 drivers/gpu/vga/default_display.c\n create mode 100644 include/linux/default_display.h"}