drm/nouveau/pm: remove memtiming support check when assigning to perflvl
authorBen Skeggs <bskeggs@redhat.com>
Wed, 20 Apr 2011 01:34:39 +0000 (11:34 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 16 May 2011 00:50:38 +0000 (10:50 +1000)
Really not necessary here, we want to be able to see if/how we managed to
match a timingset to a performance level, even if we can't currently
program it.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_perf.c

index 92431a07d9bc945732be02c4001432d988de1493..b70b6ef4ee78c04ca879b11821eb16e472718633 100644 (file)
@@ -253,7 +253,7 @@ nouveau_perf_init(struct drm_device *dev)
                }
 
                /* get the corresponding memory timings */
-               if (pm->memtimings.supported && version > 0x15) {
+               if (version > 0x15) {
                        /* last 3 args are for < 0x40, ignored for >= 0x40 */
                        perflvl->timing =
                                nouveau_perf_timing(dev, &P,