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>
This commit is contained in:
Roy Spliet 2015-05-24 10:44:02 +02:00 committed by Ben Skeggs
parent 852c619b6e
commit 087cd0db87
1 changed files with 2 additions and 1 deletions
drivers/gpu/drm/nouveau/nvkm/subdev/clk

View File

@ -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;