drm/msm: Implement preemption for A5XX targets
authorJordan Crouse <jcrouse@codeaurora.org>
Fri, 20 Oct 2017 17:07:01 +0000 (11:07 -0600)
committerRob Clark <robdclark@gmail.com>
Sat, 28 Oct 2017 15:01:38 +0000 (11:01 -0400)
commitb1fc2839d2f92d09da90d1e09156a73ddaba8a93
tree2cbc4001472d16c4290e7a4d8be6742d57c72d3c
parent4d87fc32dfd20ad0d4ffd5204f6e5d41d281e128
drm/msm: Implement preemption for A5XX targets

Implement preemption for A5XX targets - this allows multiple
ringbuffers for different priorities with automatic preemption
of a lower priority ringbuffer if a higher one is ready.

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/Makefile
drivers/gpu/drm/msm/adreno/a5xx_gpu.c
drivers/gpu/drm/msm/adreno/a5xx_gpu.h
drivers/gpu/drm/msm/adreno/a5xx_preempt.c [new file with mode: 0644]
drivers/gpu/drm/msm/adreno/adreno_gpu.c
drivers/gpu/drm/msm/adreno/adreno_gpu.h
drivers/gpu/drm/msm/msm_drv.h
drivers/gpu/drm/msm/msm_gpu.c
drivers/gpu/drm/msm/msm_ringbuffer.c
drivers/gpu/drm/msm/msm_ringbuffer.h