diff options
author | 2024-02-29 21:52:05 +0530 | |
---|---|---|
committer | 2024-03-01 15:27:04 +1000 | |
commit | f6ecfdad359a01c7fd8a3bcfde3ef0acdf107e6e (patch) | |
tree | 9a43029efc0adfc9fc370a68ee5fd6d781e73f50 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | nouveau: report byte usage in VRAM usage. (diff) | |
download | wireguard-linux-f6ecfdad359a01c7fd8a3bcfde3ef0acdf107e6e.tar.xz wireguard-linux-f6ecfdad359a01c7fd8a3bcfde3ef0acdf107e6e.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions