소스 검색

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>
Ben Skeggs 14 년 전
부모
커밋
730673b665
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      drivers/gpu/drm/nouveau/nouveau_perf.c

+ 1 - 1
drivers/gpu/drm/nouveau/nouveau_perf.c

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