From: Ben Skeggs Date: Wed, 20 Apr 2011 01:34:39 +0000 (+1000) Subject: drm/nouveau/pm: remove memtiming support check when assigning to perflvl X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=730673b6657d61d7380556876551b8e0af251dc0;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git 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 --- diff --git a/drivers/gpu/drm/nouveau/nouveau_perf.c b/drivers/gpu/drm/nouveau/nouveau_perf.c index 92431a07d9b..b70b6ef4ee7 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,