drm/msm: spin helper
authorRob Clark <robdclark@gmail.com>
Sat, 11 Jan 2014 21:11:59 +0000 (16:11 -0500)
committerRob Clark <robdclark@gmail.com>
Mon, 31 Mar 2014 14:27:45 +0000 (10:27 -0400)
commit0963756fe51313a1e2d76885cd21624d3b2cfbf2
treeddb5bdc7770c2a386bfdf78f0463d8e1c228c9f4
parent5b6ef08e4b4e1bcb6b3ac4172c054e4462e2c767
drm/msm: spin helper

Helper macro to simplify places where we need to poll with timeout
waiting for gpu.

Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/adreno/a3xx_gpu.c
drivers/gpu/drm/msm/adreno/adreno_gpu.c
drivers/gpu/drm/msm/adreno/adreno_gpu.h