mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Valdis Kletnieks <Valdis.Kletnieks@vt.edu>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org
Subject: next-20151208 - CONFIG_SND_HDA_I915
Date: Tue, 08 Dec 2015 22:46:38 -0500	[thread overview]
Message-ID: <8943.1449632798@turing-police.cc.vt.edu> (raw)

[-- Attachment #1: Type: text/plain, Size: 1441 bytes --]

I'm experiencing a spot of trouble with this commit:

commit aad730d0704545ad97654bd929b0aba05adb1436
Author: Takashi Iwai <tiwai@suse.de>
Date:   Mon Dec 2 13:33:57 2013 +0100

    ALSA: hda - Always do delayed probes for HD-audio devices

That adds some code:

#ifndef CONFIG_SND_HDA_I915
	if (chip->driver_caps & AZX_DCAPS_I915_POWERWELL)
		dev_err(card->dev, "Haswell must build in CONFIG_SND_HDA_I915\n");

"Oh, bother" -- Winnie the Pooh

So I go looking how to fix this, and 'make menuconfig' tells me:

Symbol: SND_HDA_I915 [=n]                                                                                             x  
  x Type  : boolean                                                                                                       x  
  x   Defined at sound/hda/Kconfig:8                                                                                      x  
  x   Depends on: SOUND [=y] && !M68K && !UML && SND [=y] && DRM_I915 [=n] && SND_HDA_CORE [=y]

And why is DRM_I915=n?

# lspci | grep NV
01:00.0 VGA compatible controller: NVIDIA Corporation GF108GLM [NVS 5200M] (rev a1)

Because this Dell laptop has NVidia graphics onboard, and no sign of I915
graphics that needs I915 DRM.

I think the infrastructure that you're trying to re-use from DRM_I915 needs
to be moved to another symbol which can be SELECT/DEPEND by both DRM_I915
and SND_HSA_I915.

Comments/suggestions?

[-- Attachment #2: Type: application/pgp-signature, Size: 848 bytes --]

             reply	other threads:[~2015-12-09  3:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-09  3:46 Valdis Kletnieks [this message]
2015-12-09  6:38 ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8943.1449632798@turing-police.cc.vt.edu \
    --to=valdis.kletnieks@vt.edu \
    --cc=alsa-devel@alsa-project.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®