diff options
author | Takashi Iwai <tiwai@suse.de> | 2016-03-29 15:03:06 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-04-04 11:46:17 +0200 |
commit | bfa5fb14fb9e698ae2d9429a82ef0ab67a17df37 (patch) | |
tree | 65d4398338ca2c40b51fa75f6fbd69ebe59eedbc /lib/memweight.c | |
parent | 9735a22799b9214d17d3c231fe377fc852f042e9 (diff) |
ALSA: hda - Bind with i915 only when Intel graphics is present
On Skylake and onwards, the HD-audio controller driver needs to bind
with i915 for having the control of power well audio domain before
actually probing the codec. This leads to the load of i915 driver
from the audio driver side. But, there are systems that have no Intel
graphics but Nvidia or AMD GPU, although they still use HD-audio bus
for the onboard audio codecs. On these, loading the i915 driver is
nothing but a useless memory and CPU consumption.
A simple way to avoid it is just to look for the Intel graphics PCI
entry beforehand, and try to bind with i915 only when such an entry is
found. Currently, it assumes the PCI display class. If another class
appears, this needs to be extended (although it's very unlikely).
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'lib/memweight.c')
0 files changed, 0 insertions, 0 deletions