|
@@ -345,6 +345,11 @@ enum {
|
|
#define use_vga_switcheroo(chip) 0
|
|
#define use_vga_switcheroo(chip) 0
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
+#define CONTROLLER_IN_GPU(pci) (((pci)->device == 0x0a0c) || \
|
|
|
|
+ ((pci)->device == 0x0c0c) || \
|
|
|
|
+ ((pci)->device == 0x0d0c) || \
|
|
|
|
+ ((pci)->device == 0x160c))
|
|
|
|
+
|
|
static char *driver_short_names[] = {
|
|
static char *driver_short_names[] = {
|
|
[AZX_DRIVER_ICH] = "HDA Intel",
|
|
[AZX_DRIVER_ICH] = "HDA Intel",
|
|
[AZX_DRIVER_PCH] = "HDA Intel PCH",
|
|
[AZX_DRIVER_PCH] = "HDA Intel PCH",
|
|
@@ -1976,8 +1981,8 @@ static int azx_probe_continue(struct azx *chip)
|
|
* display codec needs the power and it can be released after probe.
|
|
* display codec needs the power and it can be released after probe.
|
|
*/
|
|
*/
|
|
if (chip->driver_caps & AZX_DCAPS_I915_POWERWELL) {
|
|
if (chip->driver_caps & AZX_DCAPS_I915_POWERWELL) {
|
|
- /* Baytral/Braswell controllers don't need this power */
|
|
|
|
- if (pci->device != 0x0f04 && pci->device != 0x2284)
|
|
|
|
|
|
+ /* HSW/BDW controllers need this power */
|
|
|
|
+ if (CONTROLLER_IN_GPU(pci))
|
|
hda->need_i915_power = 1;
|
|
hda->need_i915_power = 1;
|
|
|
|
|
|
err = snd_hdac_i915_init(bus);
|
|
err = snd_hdac_i915_init(bus);
|