Commit 087cd0db authored by Roy Spliet's avatar Roy Spliet Committed by Ben Skeggs

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: default avatarRoy Spliet <rspliet@eclipso.eu>
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 852c619b
...@@ -509,7 +509,8 @@ nv50_clk_ctor(struct nvkm_object *parent, struct nvkm_object *engine, ...@@ -509,7 +509,8 @@ nv50_clk_ctor(struct nvkm_object *parent, struct nvkm_object *engine,
int ret; int ret;
ret = nvkm_clk_create(parent, engine, oclass, pclass->domains, 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); *pobject = nv_object(priv);
if (ret) if (ret)
return ret; return ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment