]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/nve0/fb/gddr5: fix calculation of RDQS setting
authorBen Skeggs <bskeggs@redhat.com>
Thu, 28 Nov 2013 02:34:13 +0000 (12:34 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 23 Jan 2014 03:38:52 +0000 (13:38 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c

index ebc314bdc41231b95439d00bc755d7da551c09e0..b0b9939c2098a19bf02a4f2ff5f56db1c792519f 100644 (file)
@@ -999,6 +999,7 @@ nve0_ram_calc(struct nouveau_fb *pfb, u32 freq)
                if (ram_have(fuc, mr[i]))
                        ram->base.mr[i] = ram_rd32(fuc, mr[i]);
        }
+       ram->base.freq = freq;
 
        switch (ram->base.type) {
        case NV_MEM_TYPE_DDR3: