linux-yocto/drivers/gpu/drm/msm
Akhil P Oommen db783adae1 drm/msm/a6xx: Fix stale rpmh votes from GPU
commit f561db72a663f8a73c2250bf3244ce1ce221bed7 upstream.

It was observed on sc7180 (A618 gpu) that GPU votes for GX rail and CNOC
BCM nodes were not removed after GPU suspend. This was because we
skipped sending 'prepare-slumber' request to gmu during suspend sequence
in some cases. So, make sure we always call prepare-slumber hfi during
suspend. Also, calling prepare-slumber without a prior oob-gpu handshake
messes up gmu firmware's internal state. So, do that when required.

Fixes: 4b565ca5a2 ("drm/msm: Add A6XX device support")
Cc: stable@vger.kernel.org
Signed-off-by: Akhil P Oommen <quic_akhilpo@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/639569/
Signed-off-by: Rob Clark <robdclark@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-04-25 10:43:56 +02:00
..
adreno drm/msm/a6xx: Fix stale rpmh votes from GPU 2025-04-25 10:43:56 +02:00
disp drm/msm/dpu: Disable dither in phys encoder cleanup 2025-03-07 16:56:38 +01:00
dp drm/msm/dp: set safe_to_exit_level before printing it 2025-02-21 13:48:54 +01:00
dsi drm/msm/dsi: Set PHY usescase (and mode) before registering DSI host 2025-04-10 14:33:32 +02:00
hdmi
Kconfig drm/msm: DEVFREQ_GOV_SIMPLE_ONDEMAND is no longer needed 2024-12-14 19:54:55 +01:00
Makefile
msm_atomic_trace.h
msm_atomic_tracepoints.c
msm_atomic.c
msm_debugfs.c drm/msm/gpu: Add devfreq tuning debugfs 2024-12-14 19:53:30 +01:00
msm_debugfs.h
msm_drv.c drm/msm: Switch idr_lock to spinlock 2023-08-03 10:24:06 +02:00
msm_drv.h drm/msm/gpu: Add devfreq tuning debugfs 2024-12-14 19:53:30 +01:00
msm_fb.c
msm_fbdev.c drm/aperture: Remove primary argument 2023-08-30 16:10:57 +02:00
msm_fence.c
msm_fence.h
msm_gem_prime.c
msm_gem_shrinker.c drm/msm: Reduce fallout of fence signaling vs reclaim hangs 2024-08-29 17:30:33 +02:00
msm_gem_submit.c drm/msm: Disallow submit with fence id 0 2023-08-03 10:24:06 +02:00
msm_gem_vma.c
msm_gem.c
msm_gem.h
msm_gpu_devfreq.c drm/msm/gpu: Check the status of registration to PM QoS 2024-12-14 19:53:30 +01:00
msm_gpu_trace.h
msm_gpu_tracepoints.c
msm_gpu.c drm/msm: Hangcheck progress detection 2023-05-17 11:53:53 +02:00
msm_gpu.h drm/msm/gpu: Bypass PM QoS constraint for idle clamp 2024-12-14 19:53:30 +01:00
msm_gpummu.c
msm_io_utils.c
msm_iommu.c drm/msm: Wire up tlb ops 2024-02-23 09:12:41 +01:00
msm_kms.h
msm_mdss.c
msm_mmu.h
msm_perf.c
msm_rd.c
msm_ringbuffer.c
msm_ringbuffer.h drm/msm: Hangcheck progress detection 2023-05-17 11:53:53 +02:00
msm_submitqueue.c drm/msm: Switch idr_lock to spinlock 2023-08-03 10:24:06 +02:00
NOTES