]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/msm/adreno: get CP_RPTR from register instead of shadow memory
authorCraig Stout <cstout@chromium.org>
Fri, 19 Feb 2016 00:50:02 +0000 (16:50 -0800)
committerRob Clark <robdclark@gmail.com>
Thu, 3 Mar 2016 16:55:28 +0000 (11:55 -0500)
commit7d0c5ee9f07779ab29ac291748060a0a6f1d66db
tree7694682f85ca1257d35e22ec3d2bbfbfdf614893
parent38bbc55ef5858301f5da6f6261434033a30058f6
drm/msm/adreno: get CP_RPTR from register instead of shadow memory

As described in the downstream/kgsl driver:
Sometimes the RPTR shadow memory is unreliable causing timeouts
in adreno_idle().  Read it directly from the register instead.

Signed-off-by: Craig Stout <cstout@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/adreno/adreno_gpu.c