This is a revised preemption support patchset follows Jordan's recent "drm/msm: Add A6XX device support" patch series. Preemption allows the GPU to switch to a higher priority ringbuffer when one is ready, thereby improving user experience. A6xx hardware supports various preemption levels each with different granularities and different switch-out-switch-in times. This series starts off by adding basic preemption support for A6xx targets, leading up to the tip of the stack which enables L1 level preemption. This is a more fine grained version and faster than the default level. Sharat Masetty (6): drm/msm: Add submitqueue setup and close drm/msm: Add new PM4 type7 opcodes drm/msm/A6xx: Implement preemption for A6XX targets drm/msm/A6xx: Enable preemption for A6xx targets drm/msm/Adreno: Refactor some preemption code drm/msm/A6xx: Enable L1 preemption level drivers/gpu/drm/msm/Makefile | 1 + drivers/gpu/drm/msm/adreno/a5xx_gpu.h | 26 -- drivers/gpu/drm/msm/adreno/a5xx_preempt.c | 55 ++--- drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 44 ++++ drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 148 ++++++++++- drivers/gpu/drm/msm/adreno/a6xx_gpu.h | 110 +++++++++ drivers/gpu/drm/msm/adreno/a6xx_preempt.c | 366 ++++++++++++++++++++++++++++ drivers/gpu/drm/msm/adreno/adreno_gpu.h | 54 ++++ drivers/gpu/drm/msm/adreno/adreno_pm4.xml.h | 2 + drivers/gpu/drm/msm/msm_gpu.h | 7 + drivers/gpu/drm/msm/msm_submitqueue.c | 15 +- 11 files changed, 757 insertions(+), 71 deletions(-) create mode 100644 drivers/gpu/drm/msm/adreno/a6xx_preempt.c -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html