anv: track the current frame and write it into the driver identifier BO

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2201>
This commit is contained in:
Lionel Landwerlin
2020-03-05 01:15:57 +02:00
committed by Marge Bot
parent 42cb068d9f
commit 9f0db069d3
5 changed files with 35 additions and 4 deletions

View File

@@ -1391,6 +1391,8 @@ struct anv_device {
uint64_t perf_metric; /* 0 if unset */
struct gen_aux_map_context *aux_map_ctx;
struct gen_debug_block_frame *debug_frame_desc;
};
static inline struct anv_instance *