summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-02-26 15:51:04 -0800
committerKenneth Graunke <[email protected]>2018-03-01 15:46:11 -0800
commit6712611735afa23bf11da6a3db2293ab1a589470 (patch)
tree0382fa64942f76f563e0ce63cc149dd7a5bcba8b
parentb04c5cece7764967e834f4ca0ce5d650df5f8893 (diff)
i965: Shorten the name of the workaround BO.
This makes the name shorter in debug printouts. If "workaround_bo" is good enough for the code, it's probably good enough for debugging.
-rw-r--r--src/mesa/drivers/dri/i965/brw_pipe_control.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_pipe_control.c b/src/mesa/drivers/dri/i965/brw_pipe_control.c
index e5b3ffe640c..2350a6148f3 100644
--- a/src/mesa/drivers/dri/i965/brw_pipe_control.c
+++ b/src/mesa/drivers/dri/i965/brw_pipe_control.c
@@ -572,9 +572,7 @@ brw_init_pipe_control(struct brw_context *brw,
* the gen6 workaround because it involves actually writing to
* the buffer, and the kernel doesn't let us write to the batch.
*/
- brw->workaround_bo = brw_bo_alloc(brw->bufmgr,
- "pipe_control workaround",
- 4096, 4096);
+ brw->workaround_bo = brw_bo_alloc(brw->bufmgr, "workaround", 4096, 4096);
if (brw->workaround_bo == NULL)
return -ENOMEM;