• Takashi Iwai's avatar
    ALSA: hda - Fix uninitialized HDMI controllers with VGA-switcheroo · 12b78a7f
    Takashi Iwai authored
    When VGA-switcheroo is built in but unused on systems with multiple
    graphics cards, the initializations of non-default graphics cards are
    skipped and never enabled (because the switcheroo is activated only
    when the controller supports).  The current behavior is for avoiding
    the system lockup by accessing the disabled GPU, but due to the recent
    change in VGA-switcheroo, it determines the state simply by checking
    with the default VGA device.  This is the culprit.
    
    Now with the new vga_switcheroo_get_client_state(), we can know the
    initial state of the bound GPU, thus can determine the initial audio
    client state more correctly.
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    12b78a7f
hda_intel.c 92.1 KB