]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm/nouveau/clk/g84: Enable reclocking for GDDR3 G94-G200
authorRoy Spliet <rspliet@eclipso.eu>
Tue, 29 Sep 2015 23:23:52 +0000 (00:23 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 3 Nov 2015 05:02:18 +0000 (15:02 +1000)
Your milage may vary, as it's only been tested on a single G94 and one G96.

Signed-off-by: Roy Spliet <rspliet@eclipso.eu>
Tested-by: Pierre Moreau <pierre.morrow@free.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/clk/g84.c

index 347da9ee20f537da2d26937c48b75253035f60c5..f97e3ec196bb03c9f35b80c5ac78aacc4a92eeb9 100644 (file)
@@ -44,5 +44,5 @@ int
 g84_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk)
 {
        return nv50_clk_new_(&g84_clk, device, index,
-                            (device->chipset == 0xa0), pclk);
+                            (device->chipset >= 0x94), pclk);
 }