Files
kernel_xiaomi_sm8250/drivers/gpu/msm
Rakesh Naidu Bhaviripudi 02a3be4cf2 msm: kgsl: Fix error handling during drawctxt switch
Currently, separate submissions are made for page table
switch and context switch to the ring buffer. However, if
the page table switch succeeds but the context switch fails,
it can lead to use of wrong page table for drawctxt.

To address this issue, submit page table switch and context
switch commands as a single submission to ring buffer.

Also, remove the unnecessary ADRENO_DEVICE_FAULT check and
correctly put the refcount of adreno context during error
cleanup.

Change-Id: I1bb4ee3ebb0ce6ea32f0b6799cfb7fa89c0d09c7
Signed-off-by: Rakesh Naidu Bhaviripudi <quic_rakeshb@quicinc.com>
(cherry picked from commit fe4cb13a78)
2024-07-16 04:23:04 -07:00
..
2021-10-04 12:48:09 +05:30
2021-10-04 12:49:33 +05:30
2021-10-04 12:48:09 +05:30