summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-01-31 06:47:02 -0800
committerKenneth Graunke <[email protected]>2018-01-31 11:33:52 -0800
commit876f1537e90685e76a1894f758c63ae9d98a8276 (patch)
tree68b2e5b14219500f04ab702bc4c70ed3f9165aea /src/mesa
parent8996610acbfee3beec153a5c92c25c566d02003f (diff)
i965: Delete more misleading comments.
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.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/intel_batchbuffer.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_batchbuffer.c b/src/mesa/drivers/dri/i965/intel_batchbuffer.c
index 8e89963f2f9..8a2b4218608 100644
--- a/src/mesa/drivers/dri/i965/intel_batchbuffer.c
+++ b/src/mesa/drivers/dri/i965/intel_batchbuffer.c
@@ -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]);