projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
852c619
)
drm/nouveau/clk/nv50: Enable user reclocking for NVA0
author
Roy Spliet
<rspliet@eclipso.eu>
Sun, 24 May 2015 08:44:02 +0000
(10:44 +0200)
committer
Ben Skeggs
<bskeggs@redhat.com>
Fri, 28 Aug 2015 02:39:57 +0000
(12:39 +1000)
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>
drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c
b/drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c
index 9b4ffd6347ce29831a7706d8ebdd29835f21f423..89c5d886f2adf91a34bbd6e2a0668968db10ca90 100644
(file)
--- 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;