diff options
author | Rob Clark <robdclark@chromium.org> | 2023-04-18 01:55:10 +0300 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2023-06-10 16:46:12 +0300 |
commit | 171f580e32096e0cbd19e458d704b9330197d627 (patch) | |
tree | 47b6e8ca97d57c912019910fee68284b4ff9df52 /drivers/gpu/drm/msm/msm_gpu.c | |
parent | 38e27a6fbf2206b18417c5985dbcdeca0f2026b8 (diff) | |
download | linux-171f580e32096e0cbd19e458d704b9330197d627.tar.xz |
drm/msm: Move cmdstream dumping out of sched kthread
This is something that can block for arbitrary amounts of time as
userspace consumes from the FIFO. So we don't really want this to
be in the fence signaling path.
Signed-off-by: Rob Clark <robdclark@chromium.org>
Patchwork: https://patchwork.freedesktop.org/patch/532617/
Diffstat (limited to 'drivers/gpu/drm/msm/msm_gpu.c')
-rw-r--r-- | drivers/gpu/drm/msm/msm_gpu.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/msm/msm_gpu.c b/drivers/gpu/drm/msm/msm_gpu.c index 26ebda40be4f..b1647b851018 100644 --- a/drivers/gpu/drm/msm/msm_gpu.c +++ b/drivers/gpu/drm/msm/msm_gpu.c @@ -748,8 +748,6 @@ void msm_gpu_retire(struct msm_gpu *gpu) /* add bo's to gpu's ring, and kick gpu: */ void msm_gpu_submit(struct msm_gpu *gpu, struct msm_gem_submit *submit) { - struct drm_device *dev = gpu->dev; - struct msm_drm_private *priv = dev->dev_private; struct msm_ringbuffer *ring = submit->ring; unsigned long flags; @@ -761,8 +759,6 @@ void msm_gpu_submit(struct msm_gpu *gpu, struct msm_gem_submit *submit) submit->seqno = submit->hw_fence->seqno; - msm_rd_dump_submit(priv->rd, submit, NULL); - update_sw_cntrs(gpu); /* |