drm/nve0/fb/gddr5: fix calculation of RDQS setting

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
Ben Skeggs 2013-11-28 12:34:13 +10:00
parent 334565abfe
commit e7084c669b

View 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: