mirror-linux/drivers/gpu/drm
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: 042b5f8384 ("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
..
amd drm/amd/display: Add monitor patch for specific eDP 2024-02-28 17:33:05 -05:00
arm drm/drm_property: make replace_property_blob_from_id a DRM helper 2023-12-13 15:09:53 -05:00
armada
aspeed
ast This cycle, I2C removes the currently unused CLASS_DDC support 2024-01-18 17:29:01 -08:00
atmel-hlcdc
bridge Merge drm/drm-fixes into drm-misc-fixes 2024-02-26 15:23:00 +01:00
ci Merge tag 'drm-msm-next-2023-12-15' of https://gitlab.freedesktop.org/drm/msm into drm-next 2023-12-20 07:54:03 +10:00
display drm/dp_mst: Separate @failing_port list in drm_dp_mst_atomic_check_mgr() comment 2024-01-22 19:20:36 +02:00
etnaviv
exynos Several fixups 2024-01-25 14:22:15 +10:00
fsl-dcu
gma500 drm: remove I2C_CLASS_DDC support 2024-01-18 21:10:41 +01:00
gud
hisilicon drm: remove I2C_CLASS_DDC support 2024-01-18 21:10:41 +01:00
hyperv drm/hyperv: Remove firmware framebuffers with aperture helper 2024-01-12 12:38:37 +01:00
i2c
i915 drm/i915/tv: Fix TV mode 2024-02-21 09:30:20 +02:00
imagination One fix for drm/plane to avoid a use-after-free and some additional 2024-01-05 10:31:54 +10:00
imx
ingenic
kmb
lib
lima drm-next for 6.8: 2024-01-12 11:32:19 -08:00
logicvc
loongson This cycle, I2C removes the currently unused CLASS_DDC support 2024-01-18 17:29:01 -08:00
mcde
mediatek This cycle, I2C removes the currently unused CLASS_DDC support 2024-01-18 17:29:01 -08:00
meson drm/meson: Don't remove bridges which are created by other drivers 2024-02-19 09:41:34 +01:00
mgag200 This cycle, I2C removes the currently unused CLASS_DDC support 2024-01-18 17:29:01 -08:00
msm Merge tag 'drm-msm-fixes-2024-02-28' of https://gitlab.freedesktop.org/drm/msm into drm-fixes 2024-03-01 14:24:52 +10:00
mxsfb
nouveau drm/nouveau: keep DMA buffers required for suspend/resume 2024-03-01 15:27:04 +10:00
omapdrm
panel Linux 6.8-rc1 2024-01-22 09:44:15 +01:00
panfrost Linux 6.7-rc5 2023-12-12 11:32:33 +10:00
pl111
qxl
radeon This cycle, I2C removes the currently unused CLASS_DDC support 2024-01-18 17:29:01 -08:00
renesas
rockchip drm/rockchip: vop2: add a missing unlock in vop2_crtc_atomic_enable() 2024-02-13 20:33:39 +01:00
scheduler drm/sched: Re-queue run job worker when drm_sched_entity_pop_job() returns NULL 2024-02-06 12:47:43 +10:00
solomon pwm: Changes for v6.8-rc1 2024-01-12 14:59:50 -08:00
sprd
sti
stm
sun4i drm: remove I2C_CLASS_DDC support 2024-01-18 21:10:41 +01:00
tegra Merge drm/drm-fixes into drm-misc-fixes 2024-02-26 15:23:00 +01:00
tests A reset fix for host1x, a resource leak fix and a probe fix for aux-hpd, 2024-03-01 13:13:06 +10:00
tidss
tilcdc
tiny
ttm drm/ttm: Fix an invalid freeing on already freed page in error path 2024-02-22 10:57:41 +01:00
tve200
udl
v3d drm/v3d: Free the job and assign it to NULL if initialization fails 2024-01-11 11:23:13 -03:00
vboxvideo
vc4 drm-next for 6.8: 2024-01-12 11:32:19 -08:00
vgem
virtio drm/virtio: Set segment size for virtio_gpu device 2024-01-29 11:44:34 +03:00
vkms drm/vkms: move wb's atomic_check from encoder to connector 2023-12-08 10:24:30 +01:00
vmwgfx
xe drm/xe/xe_trace: Add move_lacks_source detail to xe_bo_move trace 2024-02-29 12:32:15 +01:00
xen
xlnx
Kconfig drm/ttm/tests: depend on UML || COMPILE_TEST 2024-02-26 16:17:02 +01:00
Makefile drm/xe: Introduce a new DRM driver for Intel GPUs 2023-12-12 14:05:48 -05:00
drm_aperture.c
drm_atomic.c drm/drm_plane: track color mgmt changes per plane 2023-12-13 15:09:53 -05:00
drm_atomic_helper.c drm-misc-next for $kernel-version: 2023-12-19 17:07:32 +10:00
drm_atomic_state_helper.c drm/drm_plane: track color mgmt changes per plane 2023-12-13 15:09:53 -05:00
drm_atomic_uapi.c drm/drm_property: make replace_property_blob_from_id a DRM helper 2023-12-13 15:09:53 -05:00
drm_auth.c drm-next for 6.8: 2024-01-12 11:32:19 -08:00
drm_blend.c
drm_bridge.c
drm_bridge_connector.c
drm_buddy.c drm/buddy: check range allocation matches alignment 2024-02-28 08:02:53 +01:00
drm_cache.c
drm_client.c
drm_client_modeset.c
drm_color_mgmt.c
drm_connector.c
drm_crtc.c drm/crtc: fix uninitialized variable use even harder 2024-02-13 18:03:58 +02:00
drm_crtc_helper.c
drm_crtc_helper_internal.h
drm_crtc_internal.h
drm_damage_helper.c
drm_debugfs.c drm/debugfs: fix potential NULL pointer dereference 2023-12-07 12:29:17 +02:00
drm_debugfs_crc.c
drm_displayid.c
drm_drv.c
drm_dumb_buffers.c
drm_edid.c drm-next for 6.8: 2024-01-12 11:32:19 -08:00
drm_edid_load.c
drm_eld.c
drm_encoder.c
drm_encoder_slave.c
drm_exec.c drm/exec: Pass in initial # of objects 2023-12-10 10:38:47 -08:00
drm_fb_dma_helper.c
drm_fb_helper.c
drm_fbdev_dma.c
drm_fbdev_generic.c
drm_file.c drm/drm_file: fix use of uninitialized variable 2023-12-07 09:21:43 +02:00
drm_flip_work.c
drm_format_helper.c
drm_fourcc.c
drm_framebuffer.c drm: Warn when freeing a framebuffer that's still on a list 2023-12-23 07:31:29 +02:00
drm_gem.c
drm_gem_atomic_helper.c
drm_gem_dma_helper.c
drm_gem_framebuffer_helper.c
drm_gem_shmem_helper.c
drm_gem_ttm_helper.c
drm_gem_vram_helper.c
drm_gpuvm.c Merge tag 'drm-msm-next-2023-12-15' of https://gitlab.freedesktop.org/drm/msm into drm-next 2023-12-20 07:54:03 +10:00
drm_internal.h
drm_ioc32.c
drm_ioctl.c
drm_kms_helper_common.c
drm_lease.c
drm_managed.c
drm_mipi_dbi.c
drm_mipi_dsi.c drm/mipi-dsi: Fix detach call without attach 2023-12-07 09:22:47 +02:00
drm_mm.c
drm_mode_config.c
drm_mode_object.c
drm_modes.c
drm_modeset_helper.c
drm_modeset_lock.c
drm_of.c
drm_panel.c
drm_panel_orientation_quirks.c
drm_pci.c
drm_plane.c drm: Don't unref the same fb many times by mistake due to deadlock handling 2023-12-23 07:31:05 +02:00
drm_plane_helper.c
drm_prime.c drm/prime: Support page array >= 4GB 2024-02-13 16:36:04 +01:00
drm_print.c
drm_privacy_screen.c
drm_privacy_screen_x86.c
drm_probe_helper.c
drm_property.c drm/drm_property: make replace_property_blob_from_id a DRM helper 2023-12-13 15:09:53 -05:00
drm_rect.c
drm_self_refresh_helper.c
drm_simple_kms_helper.c
drm_suballoc.c
drm_syncobj.c drm/syncobj: handle NULL fence in syncobj_eventfd_entry_func 2024-02-22 13:52:52 +01:00
drm_sysfs.c
drm_trace.h
drm_trace_points.c
drm_vblank.c
drm_vblank_work.c
drm_vma_manager.c
drm_writeback.c