summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvkm/subdev/clk
diff options
context:
space:
mode:
authorRoy Spliet <rspliet@eclipso.eu>2015-05-24 10:44:02 +0200
committerBen Skeggs <bskeggs@redhat.com>2015-08-28 12:39:57 +1000
commit087cd0db87a79b03d35567a32d4a29bee179ad9e (patch)
tree88685980abc96e7112fb08c22b73c44fcdc80d23 /drivers/gpu/drm/nouveau/nvkm/subdev/clk
parent852c619b6e6e33509b405a5ad7400255e02ba8ec (diff)
downloadblackbird-op-linux-087cd0db87a79b03d35567a32d4a29bee179ad9e.tar.gz
blackbird-op-linux-087cd0db87a79b03d35567a32d4a29bee179ad9e.zip
drm/nouveau/clk/nv50: Enable user reclocking for NVA0
Tested on a few cards. Probably works quite well for most, given they should all be GDDR3. Signed-off-by: Roy Spliet <rspliet@eclipso.eu> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/subdev/clk')
-rw-r--r--drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c b/drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c
index 9b4ffd6347ce..89c5d886f2ad 100644
--- a/drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c
+++ b/drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c
@@ -509,7 +509,8 @@ nv50_clk_ctor(struct nvkm_object *parent, struct nvkm_object *engine,
int ret;
ret = nvkm_clk_create(parent, engine, oclass, pclass->domains,
- NULL, 0, false, &priv);
+ NULL, 0, nv_device(parent)->chipset == 0xa0,
+ &priv);
*pobject = nv_object(priv);
if (ret)
return ret;
OpenPOWER on IntegriCloud