summaryrefslogtreecommitdiff
path: root/drivers/gpu/msm/adreno_ringbuffer.c
diff options
context:
space:
mode:
authorJonathan Wicks <jwicks@codeaurora.org>2016-01-12 10:38:07 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 21:18:15 -0700
commitb29045982380abc527aba9086b284b9bfc0ff187 (patch)
tree7e3c5d9e64e3338064f38527b7f1e9b7b03162eb /drivers/gpu/msm/adreno_ringbuffer.c
parent7daad880e22fdd82d49c0ba8dae3c7df03e66595 (diff)
msm: kgsl: Add A5x support for CONTEXT_SWITCH_YIELD preemption
Enable CP to process yield packets placed in the IB2s. Change-Id: I2fadfb108a2dc42f574b3f6ed2e667baddb7889c Signed-off-by: Jonathan Wicks <jwicks@codeaurora.org>
Diffstat (limited to 'drivers/gpu/msm/adreno_ringbuffer.c')
-rw-r--r--drivers/gpu/msm/adreno_ringbuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/msm/adreno_ringbuffer.c b/drivers/gpu/msm/adreno_ringbuffer.c
index a6fab3e29f55..b7830c2268fd 100644
--- a/drivers/gpu/msm/adreno_ringbuffer.c
+++ b/drivers/gpu/msm/adreno_ringbuffer.c
@@ -579,7 +579,7 @@ adreno_ringbuffer_addcmds(struct adreno_ringbuffer *rb,
if (gpudev->preemption_pre_ibsubmit &&
adreno_is_preemption_enabled(adreno_dev))
- total_sizedwords += 20;
+ total_sizedwords += 22;
if (gpudev->preemption_post_ibsubmit &&
adreno_is_preemption_enabled(adreno_dev))