Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1344451ybl; Wed, 14 Aug 2019 15:20:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqzIZL6mXhCDGYFW+X/YeSFPHiJMatu0dVpElT4D3KWUUg5ohev03BOle2UcOLAYaaFFSS64 X-Received: by 2002:a63:5550:: with SMTP id f16mr1162137pgm.426.1565821215850; Wed, 14 Aug 2019 15:20:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565821215; cv=none; d=google.com; s=arc-20160816; b=PdWaLWuaQ6UzQdKWuHgy4OZ5I0yYgC354iG8XPCrgpXmTNN2NEuiX5xI1MOGmYCeH2 Y5wlm9/3F/ADUN7jfu/hhRTkARbyEQLcB3f2to+6imoc4YEhzQljkuc67S8C4bhmN3q7 r+dyLMKzN12mPzBdAvsRoo/2UjXnnNSdInI381On7TvBNvBBbQoFXaEoeX16AYFGVhKo gHoYLnO1erkhAeVdTOj4rd4SF1L5KW6eQsR+lf3dnbqAHjkh9b6FjBeggAQjur9VNZ5O gXq5uG4580moBOaFdJiMmnyb7figqDdXCpQynEoh10zpGtVxNcJNVFLEjwr5lrgkV4rZ bBRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=w1D8Zv52DMVI+1tJMrYZUNsEQ+/Ls5xmkyTop5o1js0=; b=MnRjt+KoGJlALGjUt2IHEsY+UIR96MRTLt52WWH+845ubpixuLCIz6md8cjewm+xPa 7kBK8O/izSk3DeCyvwwXHbEY5Yk0CTnGpYT8k7FQR8kHE8/u3MvE62cJTaeRP5FL2H3A ZoFwFtuT4GLNg3FlzcXGTT9d2oW+Ql8j3xk0j+3E9sqQbeKpkS7eS/XiWbAKeO6BW8fJ +eQ2GEpVrqa/1duq91Cpa1YyLh/RYVz7eJyykjAh9HFmbdgPZG8QYj+BF9n5nZ5WbRsi JNbDfh+FBO/vy82HqagUO9A+0e6TqBB8rkaGZMIaED51+hhakNr2aNfF45HYgGoKtrqY UP9w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u9si589925pgr.196.2019.08.14.15.19.59; Wed, 14 Aug 2019 15:20:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729306AbfHNVtr (ORCPT + 99 others); Wed, 14 Aug 2019 17:49:47 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:51452 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728683AbfHNVtr (ORCPT ); Wed, 14 Aug 2019 17:49:47 -0400 Received: from mail-qk1-f200.google.com ([209.85.222.200]) by youngberry.canonical.com with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1hy19M-0002lm-EC for linux-kernel@vger.kernel.org; Wed, 14 Aug 2019 21:49:44 +0000 Received: by mail-qk1-f200.google.com with SMTP id d203so274979qke.4 for ; Wed, 14 Aug 2019 14:49:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=w1D8Zv52DMVI+1tJMrYZUNsEQ+/Ls5xmkyTop5o1js0=; b=YgJgQ1u6bPgwMDqWQwxV60iuyOg0U/r2PqYUZ86BmSKArxkDzrHhGPK39Zic9g3ylC fRqLTsEBAgz1xUihh4C30XfycWhSokMGhsktkcdasUyr3O0U087UlJNU8eSwOsQIzorf C7PDpqUsmHLZHg0UCC4NPOZf7XydQyOSnGlFMn6kU5+8sP9LMmsuIGMi4MOdtg2o3xnO h7cHtM5Za7BGoZTzl1LZKhgF/MOSKGIh6y5M6rzJrs01zyBPygsFUSsVK1EDoAtEkdzT z2jYHJoe2cSw09D3qQSYpUgo2zgJw0Q660ygWau8jChEsNZbNjTVSgaj5pHzVNP1Dx9f Q0LQ== X-Gm-Message-State: APjAAAV10XEhl/Cyht+6X+xKVcZEsexOvUlegjorl7AQ9A+t+rpjXQkE 7ebTn7zQiZJF2Cc6KchtYH36Ax0O6nrfwtHJe8dwX468faJXdxCrGXrIBqX0FbaiO9TrO2K1DHo Gqa5vMvSacno6m6Xel4Ff/eL4c5648IcsxXEY7BHvHNZrCB43Pr5gYAzT0w== X-Received: by 2002:a0c:f706:: with SMTP id w6mr1203589qvn.98.1565819383589; Wed, 14 Aug 2019 14:49:43 -0700 (PDT) X-Received: by 2002:a0c:f706:: with SMTP id w6mr1203573qvn.98.1565819383322; Wed, 14 Aug 2019 14:49:43 -0700 (PDT) MIME-Version: 1.0 References: <20190814213118.28473-1-kherbst@redhat.com> <20190814213118.28473-2-kherbst@redhat.com> In-Reply-To: <20190814213118.28473-2-kherbst@redhat.com> From: Alex Hung Date: Wed, 14 Aug 2019 15:49:32 -0600 Message-ID: Subject: Re: [PATCH 1/7] Revert "ACPI / OSI: Add OEM _OSI string to enable dGPU direct output" To: Karol Herbst Cc: LKML , Linux ACPI Mailing List , dri-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org, "Rafael J . Wysocki" , Dave Airlie , Lyude Paul , Ben Skeggs Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thanks for the series of fixes. I will check whether these fixes work on the original intended systems. On Wed, Aug 14, 2019 at 3:31 PM Karol Herbst wrote: > > This reverts commit 28586a51eea666d5531bcaef2f68e4abbd87242c. > > The original commit message didn't even make sense. AMD _does_ support it and > it works with Nouveau as well. > > Also what was the issue being solved here? No references to any bugs and not > even explaining any issue at all isn't the way we do things. > > And even if it means a muxed design, then the fix is to make it work inside the > driver, not adding some hacky workaround through ACPI tricks. > > And what out of tree drivers do or do not support we don't care one bit anyway. > > Signed-off-by: Karol Herbst > CC: Alex Hung > CC: Rafael J. Wysocki > CC: Dave Airlie > CC: Lyude Paul > CC: Ben Skeggs > --- > drivers/acpi/osi.c | 7 ------- > 1 file changed, 7 deletions(-) > > diff --git a/drivers/acpi/osi.c b/drivers/acpi/osi.c > index bec0bebc7f52..9b20ac4d79a0 100644 > --- a/drivers/acpi/osi.c > +++ b/drivers/acpi/osi.c > @@ -61,13 +61,6 @@ osi_setup_entries[OSI_STRING_ENTRIES_MAX] __initdata = { > * a BIOS workaround. > */ > {"Linux-Lenovo-NV-HDMI-Audio", true}, > - /* > - * Linux-HPI-Hybrid-Graphics is used by BIOS to enable dGPU to > - * output video directly to external monitors on HP Inc. mobile > - * workstations as Nvidia and AMD VGA drivers provide limited > - * hybrid graphics supports. > - */ > - {"Linux-HPI-Hybrid-Graphics", true}, > }; > > static u32 acpi_osi_handler(acpi_string interface, u32 supported) > -- > 2.21.0 > -- Cheers, Alex Hung