summaryrefslogtreecommitdiff
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:37:23 +1000
commit26797760168042555d1b9d45f40b2e48cfb96892 (patch)
treebf0f69ca248b7fa3113c5b62b6766e6e68ea1659
parent9cefb12a17e75962bc984d0c1a9f4c752d750258 (diff)
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>
-rw-r--r--drm/nouveau/nvkm/subdev/clk/nv50.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drm/nouveau/nvkm/subdev/clk/nv50.c b/drm/nouveau/nvkm/subdev/clk/nv50.c
index 9b4ffd63..89c5d886 100644
--- a/drm/nouveau/nvkm/subdev/clk/nv50.c
+++ b/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;