Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d2491567 authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nv50/pm: only touch 0x611200 on nv92-



Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 8b5f4d0d
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -594,8 +594,10 @@ nv50_pm_clocks_set(struct drm_device *dev, void *data)
	}

	/* disable display */
	if (dev_priv->chipset >= 0x92) {
		nv_wr32(dev, 0x611200, 0x00003300);
		udelay(100);
	}

	/* prepare ram for reclocking */
	nv_wr32(dev, 0x1002d4, 0x00000001); /* precharge */
@@ -617,6 +619,7 @@ nv50_pm_clocks_set(struct drm_device *dev, void *data)
	udelay(100);

	/* re-enable display */
	if (dev_priv->chipset >= 0x92)
		nv_wr32(dev, 0x611200, 0x00003330);

	goto resume;