msm: kgsl: Fix false timeout gpu faults
Sometimes ringbuffer timer is not getting updated due to race with the preemption. This can cause dispatcher to detect false timeout gpu faults. Remove preempt state check in adreno_dispatch_process_cmdqueue(), which will allow to update ringbuffer timeout value irrespective of the preemption state. If the preemption completes successfully, preemption logic updates timer for new_rb. We don’t need to care if it is not updated for prev_rb. If preemption in-progress timer will be updated for cur_rb in adreno_dispatch_process_cmdqueue(). In both cases we are taking care to update ringbuffer timer. Hence we don’t need to check preemption state. CRs-Fixed: 1095344 Change-Id: I0e0ec655e2262c4f499748ce35a8d710ed15b5e3 Signed-off-by:Hareesh Gundu <hareeshg@codeaurora.org> Signed-off-by:
Abhilash Kumar <krabhi@codeaurora.org>
Loading
Please register or sign in to comment