Re: [Mesa-dev] [PATCH 08/11] i965: perf: snapshot RPSTAT1 register

2018-04-03 Thread Lionel Landwerlin
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 +++

Re: [Mesa-dev] [PATCH 08/11] i965: perf: snapshot RPSTAT1 register

2018-04-03 Thread Kenneth Graunke
> >> 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 > >> @@

Re: [Mesa-dev] [PATCH 08/11] i965: perf: snapshot RPSTAT1 register

2018-04-03 Thread Lionel Landwerlin
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

Re: [Mesa-dev] [PATCH 08/11] i965: perf: snapshot RPSTAT1 register

2018-03-23 Thread Kenneth Graunke
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 > --- >

Re: [Mesa-dev] [PATCH 08/11] i965: perf: snapshot RPSTAT1 register

2018-03-08 Thread Lionel Landwerlin
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 = >screen->devinfo; + uint32_t *start_reg =

Re: [Mesa-dev] [PATCH 08/11] i965: perf: snapshot RPSTAT1 register

2018-03-08 Thread Chris Wilson
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 = >screen->devinfo; > + uint32_t *start_reg = obj->oa.map +