diff options
author | Sid Pranjale <sidpranjale127@protonmail.com> | 2024-02-29 19:22:05 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2024-03-01 08:27:04 +0300 |
commit | f6ecfdad359a01c7fd8a3bcfde3ef0acdf107e6e (patch) | |
tree | 9a43029efc0adfc9fc370a68ee5fd6d781e73f50 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f7916c47f66d778817068d86e5c9b5e511e23c86 (diff) | |
download | linux-f6ecfdad359a01c7fd8a3bcfde3ef0acdf107e6e.tar.xz |
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