Home
last modified time | relevance | path

Searched refs:VGA_SWITCHEROO_ON (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/gpu/vga/
Dvga_switcheroo.c304 client->pwr_state = VGA_SWITCHEROO_ON; in register_client()
460 return VGA_SWITCHEROO_ON; in vga_switcheroo_pwr_state()
677 vgasr_priv.handler->power_state(client->id, VGA_SWITCHEROO_ON); in vga_switchon()
679 client->ops->set_gpu_state(client->pdev, VGA_SWITCHEROO_ON); in vga_switchon()
680 client->pwr_state = VGA_SWITCHEROO_ON; in vga_switchon()
750 if (vga_switcheroo_pwr_state(active) == VGA_SWITCHEROO_ON) in vga_switchto_stage2()
755 set_audio_state(new_client->id, VGA_SWITCHEROO_ON); in vga_switchto_stage2()
806 if (client->pwr_state == VGA_SWITCHEROO_ON) in vga_switcheroo_debugfs_write()
820 set_audio_state(client->id, VGA_SWITCHEROO_ON); in vga_switcheroo_debugfs_write()
1039 vga_switcheroo_power_switch(pdev, VGA_SWITCHEROO_ON); in vga_switcheroo_runtime_resume()
/linux-6.1.9/include/linux/
Dvga_switcheroo.h70 VGA_SWITCHEROO_ON, enumerator
193 …switcheroo_state vga_switcheroo_get_client_state(struct pci_dev *dev) { return VGA_SWITCHEROO_ON; } in vga_switcheroo_get_client_state()
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_switcheroo.c27 if (state == VGA_SWITCHEROO_ON) { in i915_switcheroo_set_state()
/linux-6.1.9/drivers/gpu/drm/nouveau/
Dnouveau_vga.c44 if (state == VGA_SWITCHEROO_ON) { in nouveau_switcheroo_set_state()
Dnouveau_acpi.c163 if (state == VGA_SWITCHEROO_ON) in nouveau_dsm_set_discrete_state()
/linux-6.1.9/drivers/platform/x86/
Dapple-gmux.c422 if (state == VGA_SWITCHEROO_ON) { in gmux_set_discrete_state()
641 gmux_data->power_state = VGA_SWITCHEROO_ON; in gmux_probe()
/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_device.c1220 if (state == VGA_SWITCHEROO_ON) { in radeon_switcheroo_set_state()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_device.c1586 if (state == VGA_SWITCHEROO_ON) { in amdgpu_switcheroo_set_state()