Displaying 4 results from an estimated 4 matches for "vga_switcheroo_registered".
2018 Feb 18
0
[PATCH 5/7] vga_switcheroo: Use device link for HDA controller
...dev_info(chip->card->dev,
"Handle vga_switcheroo audio client\n");
hda->use_vga_switcheroo = 1;
+ chip->driver_caps |= AZX_DCAPS_PM_RUNTIME;
pci_dev_put(p);
}
}
@@ -1320,9 +1329,6 @@ static int register_vga_switcheroo(struct azx *chip)
return err;
hda->vga_switcheroo_registered = 1;
- /* register as an optimus hdmi audio power domain */
- vga_switcheroo_init_domain_pm_optimus_hdmi_audio(chip->card->dev,
- &hda->hdmi_pm_domain);
return 0;
}
#else
@@ -1351,10 +1357,8 @@ static int azx_free(struct azx *chip)
if (use_vga_switcheroo(hda)) {
if (c...
2018 Feb 20
2
[PATCH 5/7] vga_switcheroo: Use device link for HDA controller
...quot;Handle vga_switcheroo audio client\n");
> hda->use_vga_switcheroo = 1;
> + chip->driver_caps |= AZX_DCAPS_PM_RUNTIME;
> pci_dev_put(p);
> }
> }
> @@ -1320,9 +1329,6 @@ static int register_vga_switcheroo(struct azx *chip)
> return err;
> hda->vga_switcheroo_registered = 1;
>
> - /* register as an optimus hdmi audio power domain */
> - vga_switcheroo_init_domain_pm_optimus_hdmi_audio(chip->card->dev,
> - &hda->hdmi_pm_domain);
> return 0;
> }
> #else
> @@ -1351,10 +1357,8 @@ static int azx_free(struct azx *chip)
&...
2018 Feb 18
12
[PATCH 0/7] Modernize vga_switcheroo by using device link for HDA
Modernize vga_switcheroo by using a "device link" to enforce a runtime PM
dependency from an HDA controller to the GPU it's integrated into.
Remove thereby obsoleted code and fix a bunch of bugs.
Device links were introduced in v4.10.
Users might see a small power saving if the discrete GPU is in use and
its HDA controller is not, because the HDA controller is now allowed
to runtime
2018 Mar 03
12
[PATCH v2 0/7] Modernize vga_switcheroo by using device link for HDA
Modernize vga_switcheroo by using a device link to enforce a runtime PM
dependency from an HDA controller to the GPU it's integrated into, v2.
Changes since v1:
- Replace patch [1/7] to use pci_save_state() / pci_restore_state()
for consistency between runtime PM code path of bound and unbound
devices. (Rafael, Bjorn)
- Patch [5/7]: Drop an unnecessary initialization. (Bjorn)
Rephrase