[Mesa-stable] [PATCH 2/3] i965: Drop Broadwell perf_debugs about missing MOCS that aren't missing.

Kenneth Graunke kenneth at whitecape.org
Sat Jun 14 01:43:27 PDT 2014


I actually added MOCS support for these things, but forgot to delete the
corresponding perf_debug() warnings.

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Cc: "10.2" <mesa-stable at lists.freedesktop.org>
---
 src/mesa/drivers/dri/i965/gen8_draw_upload.c | 2 --
 src/mesa/drivers/dri/i965/gen8_misc_state.c  | 2 --
 2 files changed, 4 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/gen8_draw_upload.c b/src/mesa/drivers/dri/i965/gen8_draw_upload.c
index 05a9c06..4d62739 100644
--- a/src/mesa/drivers/dri/i965/gen8_draw_upload.c
+++ b/src/mesa/drivers/dri/i965/gen8_draw_upload.c
@@ -94,8 +94,6 @@ gen8_emit_vertices(struct brw_context *brw)
    if (brw->vb.nr_buffers) {
       assert(brw->vb.nr_buffers <= 33);
 
-      perf_debug("Missing MOCS setup for 3DSTATE_VERTEX_BUFFERS.");
-
       BEGIN_BATCH(1 + 4*brw->vb.nr_buffers);
       OUT_BATCH((_3DSTATE_VERTEX_BUFFERS << 16) | (4*brw->vb.nr_buffers - 1));
       for (unsigned i = 0; i < brw->vb.nr_buffers; i++) {
diff --git a/src/mesa/drivers/dri/i965/gen8_misc_state.c b/src/mesa/drivers/dri/i965/gen8_misc_state.c
index 44966e0..3c27c1a 100644
--- a/src/mesa/drivers/dri/i965/gen8_misc_state.c
+++ b/src/mesa/drivers/dri/i965/gen8_misc_state.c
@@ -31,8 +31,6 @@
  */
 static void upload_state_base_address(struct brw_context *brw)
 {
-   perf_debug("Missing MOCS setup for STATE_BASE_ADDRESS.");
-
    BEGIN_BATCH(16);
    OUT_BATCH(CMD_STATE_BASE_ADDRESS << 16 | (16 - 2));
    /* General state base address: stateless DP read/write requests */
-- 
1.9.1



More information about the mesa-stable mailing list