On 02/16/2016 10:04 PM, Ilia Mirkin wrote:
On Tue, Feb 16, 2016 at 3:59 PM, Samuel Pitoiset
wrote:
static inline const struct nvc0_hw_sm_query_cfg **
nvc0_hw_sm_get_queries(struct nvc0_screen *screen)
{
+ const struct nvc0_hw_sm_query_cfg **queries = NULL;
struct nouveau_device *
On Tue, Feb 16, 2016 at 3:59 PM, Samuel Pitoiset
wrote:
> static inline const struct nvc0_hw_sm_query_cfg **
> nvc0_hw_sm_get_queries(struct nvc0_screen *screen)
> {
> + const struct nvc0_hw_sm_query_cfg **queries = NULL;
> struct nouveau_device *dev = screen->base.device;
>
> - if (dev
Because compute support is not enabled by default for these chipsets,
NVF0_COMPUTE=1 needs to be used, along with GALLIUM_HUD to enable
performance counters.
Signed-off-by: Samuel Pitoiset
---
.../drivers/nouveau/nvc0/nvc0_query_hw_sm.c| 755 ++---
.../drivers/nouveau/nvc