Received: by 10.223.185.111 with SMTP id b44csp1292901wrg; Sat, 10 Mar 2018 02:41:44 -0800 (PST) X-Google-Smtp-Source: AG47ELtcCbXym2Q3CGKHJ24qg5giLWILAKPyBkWZOwqy2ZLbobVEW8QDqAxbP9YBK9/guA+aUtLw X-Received: by 2002:a17:902:34f:: with SMTP id 73-v6mr1703831pld.55.1520678503931; Sat, 10 Mar 2018 02:41:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520678503; cv=none; d=google.com; s=arc-20160816; b=0GtGwyWb8Dq4L65RbrtOLa2eFjXCnGDddrfN2u8K2sLGJnryzF9rmwHCDbZYTm8OU+ I194eGX5luCxhx5uqAFU3K11G3rbIRJZLfsL+6j666+U2DsjV+odnlRGbBNNld7VSUqb t4Vhm/IDLlbU8WRQnZnqPc7EJX/ckQmIkeEAGj3bGbi2fiQQ4nNxf/B4ZHAx1ICrTL76 0b8E5HehRLkmYO24fNpw6dOkDnKCA95YT8F9OXvjI96ZypmwDORUdJkUYL+RMJUvTxOa /ovNrxoQ4RexzZSMcHj18i+r1Ee8mm8AyWkssr62gWOjJRb/Pc5QKvEsEAJnxaO0wR8L 8bcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=raIaioyTdYTVLZWfxL2BcLAt8INHsLrLG/5WNoShHaU=; b=gWb1IkwDrYLHf0ZUh4qGFJgIs3C8ULUDTx2K3xeOBULY9GiY8X8dueuXjG70HxLpPT UheggJp9w+G87j911KBvBNCxudzrngRRcXyUw7GYqtPtamc6jlFtT/N++vR4ckCdjH4V 3CT4yN+43oi9txoOn3wUeChEDLssm0AzZYjz+wrswfDVloHCqq0pgbrZEhG4baSLMMD6 1CFkeoK1b/k4WvFTF+EYSD7F5TTCLEFrOK2bQpmkNEI2neGMhKPof3MczAtpDkRmTmlO nO8CSa+idn3TTvKPyGx0W9LEZJsVH72JxhQgpKzUVZd2wP1DXMobGfFduxd4y925nYCu sy8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Lnfd+JKL; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a7-v6si2602773plp.325.2018.03.10.02.41.29; Sat, 10 Mar 2018 02:41:43 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Lnfd+JKL; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752051AbeCJKki (ORCPT + 99 others); Sat, 10 Mar 2018 05:40:38 -0500 Received: from mail-wm0-f51.google.com ([74.125.82.51]:50709 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751906AbeCJKkg (ORCPT ); Sat, 10 Mar 2018 05:40:36 -0500 Received: by mail-wm0-f51.google.com with SMTP id w128so8208945wmw.0; Sat, 10 Mar 2018 02:40:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=raIaioyTdYTVLZWfxL2BcLAt8INHsLrLG/5WNoShHaU=; b=Lnfd+JKLZVujeraYyDbLg0IocJcdQizHZ0lhO39lvnjBcagKqODo8Afa4SiO3uPZ9/ FFfdzcMa6ic3dfGL6k0EpGJLbJisSQmhtEBtM+XChIl0QMtnxH4za8VaIDGsu8SXAAup 7GD1MKOuM/FDI5KyoUkZg3bIySRMu33gFoOxZ3UuzwojxTtvN6wkJTIP0SQH+LrHn9x3 aTq98D2eebZU+mAErJf+xs+5L6BVIbKsGqqmVQ1zZYqLehFupqS3NvGbdmWxKrxeFMOJ azX8dLULZMXUlXNXHmQCSOqI3nSanQ2FRf0wxlTDJHdKqYER+RZOb/mJDuKDvtRyiy0K OxhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=raIaioyTdYTVLZWfxL2BcLAt8INHsLrLG/5WNoShHaU=; b=aK3RAcNS7sRiy0V3m9Bgj4kZtpMdCKiDS2gB76NmO2Tj/CzPisCiFUNaNgM5ri7pky JthTjXDt4Id+lh4aHcXiIHsFE0wX9eGQj1XiW/dAXMyHg4JV5BNdDA2JBDOzgtVgvQZ2 TbqoaRS+ZC1On5EKdwWdm3afZMWYJo4evsNLw86kEzPU3lBfLL7I4/oItEKYnATTMVuk pRJZqdeTyzmOzrk2WkAF0VAotAXTjEATciKZKE4y2ox8PQM92BYY7vC4OaMDSGZo1lcz +oGKLRrAqMzNNlycedDaU/NX578U3PkH6QWIz76qLj7KU5V9c71By4j4QjKfLkKpKBtD 5kMw== X-Gm-Message-State: AElRT7FAanCNJEDe1inzqSuygU3VuaCBWUG49mZxf/LYyS6+T2ClxGFh 0+q1GcpjZLAY7NXluILoRUA= X-Received: by 10.28.112.8 with SMTP id l8mr847649wmc.47.1520678434924; Sat, 10 Mar 2018 02:40:34 -0800 (PST) Received: from pali ([2a02:2b88:2:1::5cc6:2f]) by smtp.gmail.com with ESMTPSA id f23sm3133447wra.51.2018.03.10.02.40.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 10 Mar 2018 02:40:34 -0800 (PST) Date: Sat, 10 Mar 2018 11:40:33 +0100 From: Pali =?utf-8?B?Um9ow6Fy?= To: Lukas Wunner Cc: Kai Heng Feng , mjg59@srcf.ucam.org, dvhart@infradead.org, andy@infradead.org, Mario Limonciello , tiwai@suse.com, platform-driver-x86@vger.kernel.org, Linux Kernel Mailing List , alsa-devel@alsa-project.org Subject: Re: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics Message-ID: <20180310104033.ndmlwt4evbs6xg5u@pali> References: <20180308091023.9061-1-kai.heng.feng@canonical.com> <20180308091023.9061-3-kai.heng.feng@canonical.com> <20180309090223.xb55ltac4pfesdrh@pali> <723DA929-C9FA-4F69-8D3A-03D8A75D09A6@canonical.com> <20180310065039.GA6633@wunner.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7lb3d2knnhwyrstn" Content-Disposition: inline In-Reply-To: <20180310065039.GA6633@wunner.de> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --7lb3d2knnhwyrstn Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Saturday 10 March 2018 07:50:39 Lukas Wunner wrote: > Pretty much all modern Nvidia GPUs do have an integrated HDA > controller, however it's possible to hide it by clearing a bit > at offset 0x488 in the GPU's config space. Some BIOSes hide > the HDA if no external display is attached. >=20 > I could imagine that the BIOS of the Dell machines in question > hides the HDA if Switchable Graphics is enabled. If that is the > case, be aware that there's an ongoing discussion to always expose > the HDA controller because the behavior of some BIOSes to only > expose the HDA when a display is attached causes massive problems > with Linux' HDA driver: > https://bugs.freedesktop.org/show_bug.cgi?id=3D75985 >=20 > If we decide to always expose the HDA controller on Nvidia cards, > you may need to also match for the Nvidia vendor ID here. This is probably the example of reason why current solution based on vendor id is fragile and could be broken in future... if such changes to unhide devices are going to be implemented. --=20 Pali Roh=C3=A1r pali.rohar@gmail.com --7lb3d2knnhwyrstn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQS4VrIQdKium2krgIWL8Mk9A+RDUgUCWqO2HQAKCRCL8Mk9A+RD UnA+AKCMayrsTj+qiYSGDWAb1DTH+TudoQCeOYtBDhTFqf8RbCuyprC4YVm/RVg= =CueD -----END PGP SIGNATURE----- --7lb3d2knnhwyrstn--