summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-pxa2xx-dma.c
diff options
context:
space:
mode:
authorSid Pranjale <sidpranjale127@protonmail.com>2024-02-29 21:52:05 +0530
committerDave Airlie <airlied@redhat.com>2024-03-01 15:27:04 +1000
commitf6ecfdad359a01c7fd8a3bcfde3ef0acdf107e6e (patch)
tree9a43029efc0adfc9fc370a68ee5fd6d781e73f50 /drivers/spi/spi-pxa2xx-dma.c
parentf7916c47f66d778817068d86e5c9b5e511e23c86 (diff)
downloadlinux-stable-f6ecfdad359a01c7fd8a3bcfde3ef0acdf107e6e.tar.gz
linux-stable-f6ecfdad359a01c7fd8a3bcfde3ef0acdf107e6e.tar.bz2
linux-stable-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 'drivers/spi/spi-pxa2xx-dma.c')
0 files changed, 0 insertions, 0 deletions