linux-yocto/drivers/gpu/drm
Eeli Haapalainen 56f99fdb0b drm/amdgpu/gfx8: reset compute ring wptr on the GPU on resume
commit 8326193401 upstream.

Commit 42cdf6f687 ("drm/amdgpu/gfx8: always restore kcq MQDs") made the
ring pointer always to be reset on resume from suspend. This caused compute
rings to fail since the reset was done without also resetting it for the
firmware. Reset wptr on the GPU to avoid a disconnect between the driver
and firmware wptr.

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3911
Fixes: 42cdf6f687 ("drm/amdgpu/gfx8: always restore kcq MQDs")
Signed-off-by: Eeli Haapalainen <eeli.haapalainen@protonmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 2becafc319)
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-07-24 08:53:12 +02:00
..
amd drm/amdgpu/gfx8: reset compute ring wptr on the GPU on resume 2025-07-24 08:53:12 +02:00
arm drm/komeda: Add check for komeda_get_layer_fourcc_list() 2025-02-17 09:40:17 +01:00
armada
aspeed
ast drm/ast: Fix comment on modeset lock 2025-07-06 11:00:14 +02:00
atmel-hlcdc
bridge drm/bridge: cdns-dsi: Wait for Clk and Data Lanes to be ready 2025-07-06 11:00:15 +02:00
ci
display drm/dp_mst: Fix drm RAD print 2025-04-10 14:37:27 +02:00
etnaviv drm/etnaviv: Protect the scheduler's pending list with its lock 2025-07-06 11:00:14 +02:00
exynos drm/exynos: exynos7_drm_decon: add vblank check in IRQ handling 2025-07-17 18:35:07 +02:00
fsl-dcu drm: fsl-dcu: enable PIXCLK on LS1021A 2024-12-09 10:32:04 +01:00
gma500 drm/gma500: Add NULL check for pci_gfx_root in mid_get_vbt_data() 2025-03-22 12:50:48 -07:00
gud
hisilicon
hyperv drm/hyperv: Fix address space leak when Hyper-V DRM device is removed 2025-03-22 12:50:38 -07:00
i2c
i915 Revert "drm/i915/gem: Allow EXEC_CAPTURE on recoverable contexts on DG1" 2025-07-10 16:03:12 +02:00
imx drm/imx/ipuv3: Use IRQF_NO_AUTOEN flag in request_irq() 2024-12-09 10:32:00 +01:00
ingenic
kmb
lib
lima drm/lima: set gp bus_stop bit before hard reset 2024-08-29 17:33:34 +02:00
logicvc
loongson
mcde drm/mcde: Enable module autoloading 2024-12-14 20:00:02 +01:00
mediatek drm/mediatek: mtk_drm_drv: Unbind secondary mmsys components on err 2025-06-19 15:28:09 +02:00
meson drm/meson: Use 1000ULL when operating with mode->clock 2025-06-19 15:28:47 +02:00
mgag200 drm/mgag200: Bind I2C lifetime to DRM device 2024-08-14 13:59:01 +02:00
msm drm/msm: Fix another leak in the submit error path 2025-07-10 16:03:15 +02:00
mxsfb
nouveau drm/nouveau/bl: increase buffer size to avoid truncate warning 2025-06-27 11:09:01 +01:00
omapdrm drm/omap: Fix locking in omap_gem_new_dmabuf() 2024-12-09 10:32:00 +01:00
panel drm/panel-edp: Add Starry 116KHD024006 2025-06-04 14:42:15 +02:00
panfrost drm/panfrost: Remove unused id_mask from struct panfrost_model 2024-12-09 10:32:06 +01:00
pl111
qxl drm/qxl: Add check for drm_cvt_mode 2024-08-03 08:53:52 +02:00
radeon drm/radeon: fix uninitialized size issue in radeon_vce_cs_parse() 2025-03-28 21:59:55 +01:00
renesas drm: rcar-du: Fix memory leak in rcar_du_vsps_init() 2025-06-19 15:28:08 +02:00
rockchip drm/rockchip: vop2: Add uv swap for cluster window 2025-06-04 14:42:03 +02:00
scheduler drm/scheduler: signal scheduled fence when kill job 2025-07-06 11:00:07 +02:00
solomon
sprd
sti drm/sti: remove duplicate object names 2025-04-25 10:45:53 +02:00
stm drm/stm: ltdc: reset plane transparency after plane disable 2024-10-10 11:57:35 +02:00
sun4i
tegra drm/tegra: nvdec: Fix dma_alloc_coherent error check 2025-07-17 18:35:18 +02:00
tests drm/tests: probe-helper: Fix drm_display_mode memory leak 2025-04-25 10:45:08 +02:00
tidss drm/tidss: Fix race condition while handling interrupt registers 2025-02-27 04:10:50 -08:00
tilcdc
tiny drm/simpledrm: Do not upcast in release helpers 2025-07-10 16:03:14 +02:00
ttm drm/ttm: fix error handling in ttm_buffer_object_transfer 2025-07-17 18:35:13 +02:00
tve200
udl drm/udl: Unregister device before cleaning up on disconnect 2025-07-06 11:00:14 +02:00
v3d drm/v3d: Disable interrupts before resetting the GPU 2025-07-10 16:03:17 +02:00
vboxvideo drm/vboxvideo: Replace fake VLA at end of vbva_mouse_pointer_shape with real VLA 2024-11-01 01:58:27 +01:00
vc4 drm/vc4: tests: Use return instead of assert 2025-06-19 15:28:06 +02:00
vgem
virtio drm/virtio: New fence for every plane update 2025-02-17 09:40:04 +01:00
vkms drm/vkms: Adjust vkms_state->active_planes allocation type 2025-06-19 15:28:08 +02:00
vmwgfx drm/vmwgfx: Add seqno waiter for sync_files 2025-06-19 15:28:06 +02:00
xen
xlnx drm: xlnx: zynqmp: Fix max dma segment size 2025-04-10 14:37:27 +02:00
drm_agpsupport.c
drm_aperture.c
drm_atomic_helper.c drm: Add valid clones check 2025-06-04 14:42:15 +02:00
drm_atomic_state_helper.c
drm_atomic_uapi.c drm/atomic: Filter out redundant DPMS calls 2025-03-22 12:50:46 -07:00
drm_atomic.c
drm_auth.c
drm_blend.c
drm_bridge_connector.c
drm_bridge.c
drm_buddy.c
drm_bufs.c
drm_cache.c
drm_client_modeset.c drm/client: fix null pointer dereference in drm_client_modeset_probe 2024-08-14 13:58:53 +02:00
drm_client.c
drm_color_mgmt.c
drm_connector.c drm/atomic: Filter out redundant DPMS calls 2025-03-22 12:50:46 -07:00
drm_context.c
drm_crtc_helper_internal.h
drm_crtc_helper.c
drm_crtc_internal.h
drm_crtc.c drm/crtc: fix uninitialized variable use even harder 2024-10-17 15:24:09 +02:00
drm_damage_helper.c
drm_debugfs_crc.c
drm_debugfs.c
drm_displayid.c
drm_dma.c
drm_drv.c drm: Expand max DRM device number to full MINORBITS 2024-09-30 16:25:13 +02:00
drm_dumb_buffers.c
drm_edid_load.c
drm_edid.c drm/edid: fixed the bug that hdr metadata was not reset 2025-06-04 14:42:20 +02:00
drm_encoder_slave.c
drm_encoder.c
drm_exec.c
drm_fb_dma_helper.c
drm_fb_helper.c drm/modeset: Handle tiled displays in pan_display_atomic. 2025-02-17 09:40:15 +01:00
drm_fbdev_dma.c drm/fbdev-dma: Only set smem_start is enable per module option 2024-07-05 09:34:03 +02:00
drm_fbdev_generic.c
drm_file.c drm/fdinfo: Protect against driver unbind 2025-05-09 09:43:50 +02:00
drm_flip_work.c
drm_format_helper.c
drm_fourcc.c
drm_framebuffer.c drm/framebuffer: Acquire internal references on GEM handles 2025-07-17 18:35:14 +02:00
drm_gem_atomic_helper.c
drm_gem_dma_helper.c
drm_gem_framebuffer_helper.c drm/framebuffer: Acquire internal references on GEM handles 2025-07-17 18:35:14 +02:00
drm_gem_shmem_helper.c
drm_gem_ttm_helper.c
drm_gem_vram_helper.c
drm_gem.c drm/framebuffer: Acquire internal references on GEM handles 2025-07-17 18:35:14 +02:00
drm_gpuva_mgr.c
drm_hashtab.c
drm_internal.h drm/framebuffer: Acquire internal references on GEM handles 2025-07-17 18:35:14 +02:00
drm_ioc32.c
drm_ioctl.c
drm_irq.c
drm_kms_helper_common.c
drm_lease.c
drm_legacy_misc.c
drm_legacy.h
drm_lock.c
drm_managed.c
drm_memory.c
drm_mipi_dbi.c
drm_mipi_dsi.c
drm_mm.c drm/mm: Mark drm_mm_interval_tree*() functions with __maybe_unused 2024-12-09 10:31:58 +01:00
drm_mode_config.c
drm_mode_object.c
drm_modes.c drm/modes: Avoid divide by zero harder in drm_mode_vrefresh() 2024-12-27 13:58:51 +01:00
drm_modeset_helper.c
drm_modeset_lock.c
drm_of.c
drm_panel_orientation_quirks.c drm: panel-orientation-quirks: Add quirk for OneXPlayer Mini (Intel) 2025-04-25 10:45:18 +02:00
drm_panel.c drm/bridge: panel: forbid initializing a panel with unknown connector type 2025-04-25 10:45:18 +02:00
drm_pci.c
drm_plane_helper.c
drm_plane.c
drm_prime.c
drm_print.c drm/printer: Allow NULL data in devcoredump printer 2024-10-10 11:57:36 +02:00
drm_privacy_screen_x86.c
drm_privacy_screen.c
drm_probe_helper.c
drm_property.c
drm_rect.c
drm_scatter.c
drm_self_refresh_helper.c
drm_simple_kms_helper.c
drm_suballoc.c
drm_syncobj.c drm/syncobj: Fix syncobj leak in drm_syncobj_eventfd_ioctl 2024-09-18 19:24:09 +02:00
drm_sysfs.c
drm_trace_points.c
drm_trace.h
drm_vblank_work.c
drm_vblank.c
drm_vm.c
drm_vma_manager.c
drm_writeback.c
Kconfig drm/tests: Build KMS helpers when DRM_KUNIT_TEST_HELPERS is enabled 2025-04-25 10:45:58 +02:00
Makefile