]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/msm/a8xx: Preemption support for A840
authorAkhil P Oommen <akhilpo@oss.qualcomm.com>
Fri, 27 Mar 2026 00:14:04 +0000 (05:44 +0530)
committerRob Clark <robin.clark@oss.qualcomm.com>
Tue, 31 Mar 2026 20:47:30 +0000 (13:47 -0700)
commita693602ef56f6bf89fb497f3e3410785b8ef05cc
treee68b01da55db8270447dd931820f5852ede01032
parentee37487ffecff1de834fa05b0e4b1c1d920a8189
drm/msm/a8xx: Preemption support for A840

The programing sequence related to preemption is unchanged from A7x. But
there is some code churn due to register shuffling in A8x. So, split out
the common code into a header file for code sharing and add/update
additional changes required to support preemption feature on A8x GPUs.

Finally, enable the preemption quirk in A840's catalog to enable this
feature.

Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/714682/
Message-ID: <20260327-a8xx-gpu-batch2-v2-15-2b53c38d2101@oss.qualcomm.com>
Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
drivers/gpu/drm/msm/Makefile
drivers/gpu/drm/msm/adreno/a6xx_catalog.c
drivers/gpu/drm/msm/adreno/a6xx_gpu.c
drivers/gpu/drm/msm/adreno/a6xx_gpu.h
drivers/gpu/drm/msm/adreno/a6xx_preempt.c
drivers/gpu/drm/msm/adreno/a6xx_preempt.h [new file with mode: 0644]
drivers/gpu/drm/msm/adreno/a8xx_gpu.c
drivers/gpu/drm/msm/adreno/a8xx_preempt.c [new file with mode: 0644]