i965: Shorten the name of the workaround BO.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 26 Feb 2018 23:51:04 +0000 (15:51 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 1 Mar 2018 23:46:11 +0000 (15:46 -0800)
This makes the name shorter in debug printouts.  If "workaround_bo"
is good enough for the code, it's probably good enough for debugging.

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

index e5b3ffe640c955f3515602e7098071e332dd7222..2350a6148f3c379e90d909ec179f0ec3fc613c4b 100644 (file)
@@ -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;