0098-drm-vc4-No-need-to-stop-the-stopped-threads.patch 802 B

1234567891011121314151617181920212223242526
  1. From c3634a10a0b792baedf12691a83598c89976830c Mon Sep 17 00:00:00 2001
  2. From: Eric Anholt <eric@anholt.net>
  3. Date: Fri, 23 Oct 2015 12:31:56 +0100
  4. Subject: [PATCH 098/381] drm/vc4: No need to stop the stopped threads.
  5. This was leftover debug code from the hackdriver. We never submit
  6. unless the thread is already idle.
  7. Signed-off-by: Eric Anholt <eric@anholt.net>
  8. ---
  9. drivers/gpu/drm/vc4/vc4_gem.c | 4 ----
  10. 1 file changed, 4 deletions(-)
  11. --- a/drivers/gpu/drm/vc4/vc4_gem.c
  12. +++ b/drivers/gpu/drm/vc4/vc4_gem.c
  13. @@ -104,10 +104,6 @@ submit_cl(struct drm_device *dev, uint32
  14. {
  15. struct vc4_dev *vc4 = to_vc4_dev(dev);
  16. - /* Stop any existing thread and set state to "stopped at halt" */
  17. - V3D_WRITE(V3D_CTNCS(thread), V3D_CTRUN);
  18. - barrier();
  19. -
  20. V3D_WRITE(V3D_CTNCA(thread), start);
  21. barrier();