i965: Delete more misleading comments.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 31 Jan 2018 14:47:02 +0000 (06:47 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 31 Jan 2018 19:33:52 +0000 (11:33 -0800)
brw_bo_wait_rendering used to take a brw_context pointer for perf_debug
messages about stalls.  Chris eliminated that in 833108ac14ade91f54cc6e.
This message about passing NULL to avoid those warnings is no longer
relevant, and just adds confusion.  So, drop it.

src/mesa/drivers/dri/i965/intel_batchbuffer.c

index 8e89963f2f9aa7963a720097659eedd495425da5..8a2b4218608dd553e6f4f83fd766d49bf0228d2b 100644 (file)
@@ -804,9 +804,6 @@ throttle(struct brw_context *brw)
    if (brw->need_swap_throttle && brw->throttle_batch[0]) {
       if (brw->throttle_batch[1]) {
          if (!brw->disable_throttling) {
-            /* Pass NULL rather than brw so we avoid perf_debug warnings;
-             * stalling is common and expected here...
-             */
             brw_bo_wait_rendering(brw->throttle_batch[1]);
          }
          brw_bo_unreference(brw->throttle_batch[1]);