summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2012-02-06 05:42:29 +0400
committerBen Skeggs <bskeggs@redhat.com>2012-05-24 10:31:32 +0400
commita94ba1fcac417d0b72f73fb77e730279ca9203c3 (patch)
tree0c2b1683eda459d20b5df9c661ed0a629327b878 /drivers/gpu/drm/nouveau
parent6b91d6b056ba39633cbdf24b9973df4ac99d7130 (diff)
downloadlinux-a94ba1fcac417d0b72f73fb77e730279ca9203c3.tar.xz
drm/nvd9/pm: oops, fix timing calc
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_mem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_mem.c b/drivers/gpu/drm/nouveau/nouveau_mem.c
index bb2f0a43f590..ec4c53f41171 100644
--- a/drivers/gpu/drm/nouveau/nouveau_mem.c
+++ b/drivers/gpu/drm/nouveau/nouveau_mem.c
@@ -843,6 +843,7 @@ nouveau_mem_timing_calc(struct drm_device *dev, u32 freq,
ret = nv50_mem_timing_calc(dev, freq, e, len, boot, t);
break;
case NV_C0:
+ case NV_D0:
ret = nvc0_mem_timing_calc(dev, freq, e, len, boot, t);
break;
default: