Commit 4624b553 authored by Shubhraprakash Das's avatar Shubhraprakash Das
Browse files

msm: kgsl: Add draw workaround commands after every 50 context switches



We need to add a draw workaround command sequence after every 50 context
switches if the gmem has not been saved in those 50 switches. This
workaround is required to prevent the GPU from deadlocking. Since gmem
save commands have draw calls in them we only need to execute this
workaround if the gmem has not been saved. The number 50 was chosen
empirically.

CRs-fixed: 362302
Change-Id: I1a659c85736c47fe6f45030b20ce7a12851b0815
Signed-off-by: default avatarShubhraprakash Das <sadas@codeaurora.org>
parent 75c34ca1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment