Sid Pranjale f6ecfdad35 drm/nouveau: keep DMA buffers required for suspend/resume
Nouveau deallocates a few buffers post GPU init which are required for GPU suspend/resume to function correctly.
This is likely not as big an issue on systems where the NVGPU is the only GPU, but on multi-GPU set ups it leads to a regression where the kernel module errors and results in a system-wide rendering freeze.

This commit addresses that regression by moving the two buffers required for suspend and resume to be deallocated at driver unload instead of post init.

Fixes: 042b5f83841fb ("drm/nouveau: fix several DMA buffer leaks")
Signed-off-by: Sid Pranjale <sidpranjale127@protonmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2024-03-01 15:27:04 +10:00
..
2023-11-27 13:56:32 -06:00
2023-11-27 13:56:32 -06:00
2024-01-25 14:22:15 +10:00
2024-01-18 21:10:41 +01:00
2023-11-15 10:56:44 +01:00
2024-02-21 09:30:20 +02:00
2024-01-12 11:32:19 -08:00
2023-11-27 13:56:32 -06:00
2024-01-22 09:44:15 +01:00
2023-12-12 11:32:33 +10:00
2023-12-04 09:42:32 +01:00
2024-01-12 14:59:50 -08:00
2024-01-18 21:10:41 +01:00
2024-01-12 11:32:19 -08:00
2024-01-12 11:32:19 -08:00
2024-01-12 11:32:19 -08:00
2023-08-24 07:26:06 +10:00