r600: drop l2 related queries
authorDave Airlie <airlied@redhat.com>
Wed, 6 Dec 2017 23:41:35 +0000 (23:41 +0000)
committerDave Airlie <airlied@redhat.com>
Wed, 10 Jan 2018 00:56:09 +0000 (00:56 +0000)
radeonsi only.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_pipe_common.h
src/gallium/drivers/r600/r600_query.c
src/gallium/drivers/r600/r600_query.h

index c8b971a..1fdbc39 100644 (file)
@@ -564,8 +564,6 @@ struct r600_common_context {
        unsigned                        num_cs_flushes;
        unsigned                        num_cb_cache_flushes;
        unsigned                        num_db_cache_flushes;
-       unsigned                        num_L2_invalidates;
-       unsigned                        num_L2_writebacks;
        unsigned                        num_resident_handles;
        uint64_t                        num_alloc_tex_transfer_bytes;
 
index 987da9a..0d22bc5 100644 (file)
@@ -141,12 +141,6 @@ static bool r600_query_sw_begin(struct r600_common_context *rctx,
        case R600_QUERY_NUM_DB_CACHE_FLUSHES:
                query->begin_result = rctx->num_db_cache_flushes;
                break;
-       case R600_QUERY_NUM_L2_INVALIDATES:
-               query->begin_result = rctx->num_L2_invalidates;
-               break;
-       case R600_QUERY_NUM_L2_WRITEBACKS:
-               query->begin_result = rctx->num_L2_writebacks;
-               break;
        case R600_QUERY_NUM_RESIDENT_HANDLES:
                query->begin_result = rctx->num_resident_handles;
                break;
@@ -299,12 +293,6 @@ static bool r600_query_sw_end(struct r600_common_context *rctx,
        case R600_QUERY_NUM_DB_CACHE_FLUSHES:
                query->end_result = rctx->num_db_cache_flushes;
                break;
-       case R600_QUERY_NUM_L2_INVALIDATES:
-               query->end_result = rctx->num_L2_invalidates;
-               break;
-       case R600_QUERY_NUM_L2_WRITEBACKS:
-               query->end_result = rctx->num_L2_writebacks;
-               break;
        case R600_QUERY_NUM_RESIDENT_HANDLES:
                query->end_result = rctx->num_resident_handles;
                break;
@@ -1932,8 +1920,6 @@ static struct pipe_driver_query_info r600_driver_query_list[] = {
        X("num-cs-flushes",             NUM_CS_FLUSHES,         UINT64, AVERAGE),
        X("num-CB-cache-flushes",       NUM_CB_CACHE_FLUSHES,   UINT64, AVERAGE),
        X("num-DB-cache-flushes",       NUM_DB_CACHE_FLUSHES,   UINT64, AVERAGE),
-       X("num-L2-invalidates",         NUM_L2_INVALIDATES,     UINT64, AVERAGE),
-       X("num-L2-writebacks",          NUM_L2_WRITEBACKS,      UINT64, AVERAGE),
        X("num-resident-handles",       NUM_RESIDENT_HANDLES,   UINT64, AVERAGE),
        X("tc-offloaded-slots",         TC_OFFLOADED_SLOTS,     UINT64, AVERAGE),
        X("tc-direct-slots",            TC_DIRECT_SLOTS,        UINT64, AVERAGE),
index acba1a6..20647ff 100644 (file)
@@ -55,8 +55,6 @@ enum {
        R600_QUERY_NUM_CS_FLUSHES,
        R600_QUERY_NUM_CB_CACHE_FLUSHES,
        R600_QUERY_NUM_DB_CACHE_FLUSHES,
-       R600_QUERY_NUM_L2_INVALIDATES,
-       R600_QUERY_NUM_L2_WRITEBACKS,
        R600_QUERY_NUM_RESIDENT_HANDLES,
        R600_QUERY_TC_OFFLOADED_SLOTS,
        R600_QUERY_TC_DIRECT_SLOTS,