drm/nouveau/pm/nv40: rename pcounter domains to 'pc' instead of 'pm'
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 19 Jun 2015 15:36:38 +0000 (17:36 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 28 Aug 2015 02:40:01 +0000 (12:40 +1000)
This trivial patch makes thing more consistent since hardware signals
names are prefixed by 'pcXX'.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c

index 1c6d1ca4799ede6fdaa8de0179511b709219029a..5a87f3a1b947d962cd056cc0fe3083300cf013d1 100644 (file)
@@ -108,7 +108,7 @@ nv40_pm_ctor(struct nvkm_object *parent, struct nvkm_object *engine,
        if (ret)
                return ret;
 
-       ret = nvkm_perfdom_new(&priv->base, "pm", 0, 0, 0, 4, mclass->doms);
+       ret = nvkm_perfdom_new(&priv->base, "pc", 0, 0, 0, 4, mclass->doms);
        if (ret)
                return ret;