From e5c49bc25b07b76dbcf577186484ab271114c48a Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Tue, 26 Mar 2013 15:22:22 -0700 Subject: i965: Add #define for MI_REPORT_PERF_COUNT on Gen6+. This appears in Volume 1 Part 1 of the Sandybridge PRM on page 48. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_defines.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mesa') diff --git a/src/mesa/drivers/dri/i965/brw_defines.h b/src/mesa/drivers/dri/i965/brw_defines.h index e2838059050..b14c346abe6 100644 --- a/src/mesa/drivers/dri/i965/brw_defines.h +++ b/src/mesa/drivers/dri/i965/brw_defines.h @@ -1825,6 +1825,8 @@ enum brw_wm_barycentric_interp_mode { # define MI_COUNTER_ADDRESS_GTT (1 << 0) /* DW2: a user-defined report ID (written to the buffer but can be anything) */ +#define GEN6_MI_REPORT_PERF_COUNT ((0x28 << 23) | (3 - 2)) + /* Bitfields for the URB_WRITE message, DW2 of message header: */ #define URB_WRITE_PRIM_END 0x1 #define URB_WRITE_PRIM_START 0x2 -- cgit v1.2.3