diff options
| author | Thomas Zimmermann <[email protected]> | 2024-08-12 08:28:22 +0000 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2024-08-13 14:21:07 +0000 |
| commit | c3c5b79b6ed1d7ae7356b51f7c17bd88197bf405 (patch) | |
| tree | b8a3931e9d2b95c6aa7a8bec2443222029cfba5b /drivers/gpu/drm/amd/amdgpu | |
| parent | drm: fixed: Don't use "proxy" headers (diff) | |
| download | kernel-c3c5b79b6ed1d7ae7356b51f7c17bd88197bf405.tar.gz kernel-c3c5b79b6ed1d7ae7356b51f7c17bd88197bf405.zip | |
drm: Do delayed switcheroo in drm_lastclose()
Amdgpu and nouveau call vga_switcheroo_process_delayed_switch() from
their lastclose callbacks. Call it from drm_lastclose(), so that the
driver functions can finally be removed. Only PCI devices with enabled
switcheroo do the delayed switching. The call has no effect on other
hardware.
v2:
- move change to drm_lastclose() (Sima)
- update docs for vga_switcheroo_process_delayed_switch()
Signed-off-by: Thomas Zimmermann <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
0 files changed, 0 insertions, 0 deletions
