{"id":808546,"url":"http://patchwork.ozlabs.org/api/1.0/covers/808546/?format=json","project":{"id":2,"url":"http://patchwork.ozlabs.org/api/1.0/projects/2/?format=json","name":"Linux PPC development","link_name":"linuxppc-dev","list_id":"linuxppc-dev.lists.ozlabs.org","list_email":"linuxppc-dev@lists.ozlabs.org","web_url":"https://github.com/linuxppc/wiki/wiki","scm_url":"https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git","webscm_url":"https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/"},"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":961,"url":"http://patchwork.ozlabs.org/api/1.0/series/961/?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/961/mbox/"}],"headers":{"Return-Path":"<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>","X-Original-To":["patchwork-incoming@ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Delivered-To":["patchwork-incoming@ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Received":["from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xk9qg0Yklz9s81\n\tfor <patchwork-incoming@ozlabs.org>;\n\tFri,  1 Sep 2017 17:29:51 +1000 (AEST)","from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xk9qf6VX0zDqm5\n\tfor <patchwork-incoming@ozlabs.org>;\n\tFri,  1 Sep 2017 17:29:50 +1000 (AEST)","from mail-pg0-x243.google.com (mail-pg0-x243.google.com\n\t[IPv6:2607:f8b0:400e:c05::243])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3xk9ny2xFSzDqk0\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tFri,  1 Sep 2017 17:28:21 +1000 (AEST)","by mail-pg0-x243.google.com with SMTP id r133so1242806pgr.2\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tFri, 01 Sep 2017 00:28:21 -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)"],"Authentication-Results":["ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=axtens.net header.i=@axtens.net\n\theader.b=\"nNBLHNMT\"; dkim-atps=neutral","lists.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=axtens.net header.i=@axtens.net\n\theader.b=\"nNBLHNMT\"; dkim-atps=neutral","lists.ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=axtens.net header.i=@axtens.net\n\theader.b=\"nNBLHNMT\"; dkim-atps=neutral"],"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=NfaddOH7uCaXPrCY34TQDha5JpLiZ3zNjK4bKV0Mt3z8JcS2ZqNwE1hjRHfGfu31FY\n\t33H9sbdbDFFM94IAI66XRFXWB6IBxxv9A7vE3CHxh3AUKKoFlAYnppzL1tpZ0xy6xSQ2\n\tDiFPhAjjxFZh1a0ZtokRvpcrmbUBcYrBvGbmtNPwi+pKS3Dr4a1BAD9+tyAKM5XXlowB\n\tfFJf6dFQh4712CYky7s8rL3oOVyPF9EJhs1ZpcAOeg446IjKfs24gSV8IxCuB286txBg\n\tRH/6S+SOyDDXfmvNmFJMhmTzyTiye6LdyIwaKfY9ZgjESze5oPZKrTZzFYSqILQ2FqHZ\n\tk1bA==","X-Gm-Message-State":"AHPjjUivrmH6d5EBK6l0oBCTGc5TESBAuZk+xQuD/6fg8f10Y6Oo1pJN\n\tSOB96DayaefxsU62","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","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","X-BeenThere":"linuxppc-dev@lists.ozlabs.org","X-Mailman-Version":"2.1.23","Precedence":"list","List-Id":"Linux on PowerPC Developers Mail List\n\t<linuxppc-dev.lists.ozlabs.org>","List-Unsubscribe":"<https://lists.ozlabs.org/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>","List-Archive":"<http://lists.ozlabs.org/pipermail/linuxppc-dev/>","List-Post":"<mailto:linuxppc-dev@lists.ozlabs.org>","List-Help":"<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>","List-Subscribe":"<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>","Cc":"lorenzo.pieralisi@arm.com, gabriele.paoloni@huawei.com,\n\tard.biesheuvel@linaro.org, airlied@linux.ie, will.deacon@arm.com,\n\tdri-devel@lists.freedesktop.org, z.liuxinliang@hisilicon.com,\n\talex.williamson@redhat.com, lukas@wunner.de, helgaas@kernel.org,\n\tcatalin.marinas@arm.com, zourongrong@gmail.com, daniel.vetter@intel.com, \n\tDaniel Axtens <dja@axtens.net>","Errors-To":"linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org","Sender":"\"Linuxppc-dev\"\n\t<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.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"}