aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorBen Skeggs2013-11-28 12:34:13 +1000
committerBen Skeggs2014-01-23 13:38:52 +1000
commite7084c669b4fbbc695116cb63a7e2c9360706220 (patch)
tree303bdeb454aba7cbd1df28eae1124759f175311d /drivers
parent334565abfea84d424d7721d9c9f9ca1227d14bd8 (diff)
drm/nve0/fb/gddr5: fix calculation of RDQS setting
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c b/drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c
index ebc314bdc412..b0b9939c2098 100644
--- a/drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c
+++ b/drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c
@@ -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: