diff options
author | Rob Clark <robdclark@chromium.org> | 2020-10-19 23:10:51 +0200 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2020-11-01 19:13:32 +0100 |
commit | 7e688294c61bdcb7468a71f7bb5a9c2d42fbd2a8 (patch) | |
tree | 29513446ce4ed634399e6a6b488ed5e4579a56c3 /drivers/gpu/drm/msm/adreno/a5xx_gpu.c | |
parent | drm/msm/atomic: Drop per-CRTC locks in reverse order (diff) | |
download | linux-7e688294c61bdcb7468a71f7bb5a9c2d42fbd2a8.tar.xz linux-7e688294c61bdcb7468a71f7bb5a9c2d42fbd2a8.zip |
drm/msm/gpu: Convert retire/recover work to kthread_worker
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/msm/adreno/a5xx_gpu.c')
-rw-r--r-- | drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/msm/adreno/a5xx_gpu.c b/drivers/gpu/drm/msm/adreno/a5xx_gpu.c index d6804a802355..a4cc3618abee 100644 --- a/drivers/gpu/drm/msm/adreno/a5xx_gpu.c +++ b/drivers/gpu/drm/msm/adreno/a5xx_gpu.c @@ -1056,7 +1056,6 @@ static void a5xx_gpmu_err_irq(struct msm_gpu *gpu) static void a5xx_fault_detect_irq(struct msm_gpu *gpu) { struct drm_device *dev = gpu->dev; - struct msm_drm_private *priv = dev->dev_private; struct msm_ringbuffer *ring = gpu->funcs->active_ring(gpu); DRM_DEV_ERROR(dev->dev, "gpu fault ring %d fence %x status %8.8X rb %4.4x/%4.4x ib1 %16.16llX/%4.4x ib2 %16.16llX/%4.4x\n", @@ -1072,7 +1071,7 @@ static void a5xx_fault_detect_irq(struct msm_gpu *gpu) /* Turn off the hangcheck timer to keep it from bothering us */ del_timer(&gpu->hangcheck_timer); - queue_work(priv->wq, &gpu->recover_work); + kthread_queue_work(gpu->worker, &gpu->recover_work); } #define RBBM_ERROR_MASK \ |