Skip to content
Snippets Groups Projects
Commit 16a0ce7e authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nouveau/nvkm: move switcheroo from drm


The DRM driver needs to do things in response to vga_switcheroo_client
callbacks, so this move isn't a direct copy+paste.

3 new callbacks are added to nvif_driver_func, which are basically the
same as the switcheroo callbacks, except NVKM handles all the PCI/ACPI
parts, and calls into the DRM driver for the rest.

Signed-off-by: default avatarBen Skeggs <bskeggs@nvidia.com>
parent fa05c5e6
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment