瀏覽代碼

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>
Roy Spliet 10 年之前
父節點
當前提交
087cd0db87
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c

+ 2 - 1
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;
 	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;