On 03/04/18 19:20, Kenneth Graunke wrote:
diff --git a/src/mesa/drivers/dri/i965/brw_performance_query.c
b/src/mesa/drivers/dri/i965/brw_performance_query.c
index 98666759d75..7d5b44cf61d 100644
--- a/src/mesa/drivers/dri/i965/brw_performance_query.c
+++ b/src/mesa/drivers/dri/i965/brw_performan
> >> diff --git a/src/mesa/drivers/dri/i965/brw_performance_query.c
> >> b/src/mesa/drivers/dri/i965/brw_performance_query.c
> >> index 98666759d75..7d5b44cf61d 100644
> >> --- a/src/mesa/drivers/dri/i965/brw_performance_query.c
> >> +++ b/src/mesa/drivers/dri/i965/brw_performance_query.c
> >> @@
On 23/03/18 18:00, Kenneth Graunke wrote:
On Thursday, March 8, 2018 7:42:53 AM PDT Lionel Landwerlin wrote:
This register contains the frequency of the GT, it's one of the value
GPA would like to have as part of their queries.
Signed-off-by: Lionel Landwerlin
---
src/mesa/drivers/dri/i965/b
On Thursday, March 8, 2018 7:42:53 AM PDT Lionel Landwerlin wrote:
> This register contains the frequency of the GT, it's one of the value
> GPA would like to have as part of their queries.
>
> Signed-off-by: Lionel Landwerlin
> ---
> src/mesa/drivers/dri/i965/brw_defines.h | 10 +
On 08/03/18 17:00, Chris Wilson wrote:
Quoting Lionel Landwerlin (2018-03-08 15:42:53)
+static void
+read_gt_frequency(struct brw_context *brw,
+ struct brw_perf_query_object *obj)
+{
+ const struct gen_device_info *devinfo = &brw->screen->devinfo;
+ uint32_t *start_reg = ob
Quoting Lionel Landwerlin (2018-03-08 15:42:53)
> +static void
> +read_gt_frequency(struct brw_context *brw,
> + struct brw_perf_query_object *obj)
> +{
> + const struct gen_device_info *devinfo = &brw->screen->devinfo;
> + uint32_t *start_reg = obj->oa.map + MI_FREQ_START_OFFS
This register contains the frequency of the GT, it's one of the value
GPA would like to have as part of their queries.
Signed-off-by: Lionel Landwerlin
---
src/mesa/drivers/dri/i965/brw_defines.h | 10 +
src/mesa/drivers/dri/i965/brw_performance_query.c | 45 +++