Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/vga/
H A 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()
/openbmc/linux/include/linux/
H A 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()
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_switcheroo.c27 if (state == VGA_SWITCHEROO_ON) { in i915_switcheroo_set_state()
/openbmc/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_vga.c42 if (state == VGA_SWITCHEROO_ON) { in nouveau_switcheroo_set_state()
H A Dnouveau_acpi.c163 if (state == VGA_SWITCHEROO_ON) in nouveau_dsm_set_discrete_state()
/openbmc/linux/drivers/platform/x86/
H A Dapple-gmux.c515 if (state == VGA_SWITCHEROO_ON) { in gmux_set_discrete_state()
899 gmux_data->power_state = VGA_SWITCHEROO_ON; in gmux_probe()
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_device.c1221 if (state == VGA_SWITCHEROO_ON) { in radeon_switcheroo_set_state()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_device.c1536 if (state == VGA_SWITCHEROO_ON) { in amdgpu_switcheroo_set_state()