summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-04-20 11:34:39 +1000
committerBen Skeggs <bskeggs@redhat.com>2011-05-16 10:50:38 +1000
commit730673b6657d61d7380556876551b8e0af251dc0 (patch)
tree298da198a32d4b26f5c69526bdbe38cd0b109774 /drivers/gpu
parentfcfc768806f2ed8ad56d9fd3f0c6af1cdb5e10e2 (diff)
downloadop-kernel-dev-730673b6657d61d7380556876551b8e0af251dc0.zip
op-kernel-dev-730673b6657d61d7380556876551b8e0af251dc0.tar.gz
drm/nouveau/pm: remove memtiming support check when assigning to perflvl
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>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_perf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_perf.c b/drivers/gpu/drm/nouveau/nouveau_perf.c
index 92431a0..b70b6ef 100644
--- a/drivers/gpu/drm/nouveau/nouveau_perf.c
+++ b/drivers/gpu/drm/nouveau/nouveau_perf.c
@@ -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,
OpenPOWER on IntegriCloud