ALSA: hda/hdmi - fix vgaswitcheroo detection for AMD
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 22 Nov 2019 21:43:50 +0000 (16:43 -0500)
committerTakashi Iwai <tiwai@suse.de>
Tue, 26 Nov 2019 15:53:51 +0000 (16:53 +0100)
commit586bc4aab878efcf672536f0cdec3d04b6990c94
tree026a7940b807cdf8cc74bae645658f70f9526e9a
parentbf2aa5cadd1c7bb91af4b5b1218e643cfffb5c9a
ALSA: hda/hdmi - fix vgaswitcheroo detection for AMD

Only enable the vga_switcheroo logic on systems with the
ATPX ACPI method.  This logic is not needed for asics
that are not part of a PX (PowerXpress)/HG (Hybrid Graphics)
platform.

Reviewed-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://lore.kernel.org/r/20191122214353.582899-2-alexander.deucher@amd.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c