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

Commit d02f7fa7 authored by Dave Airlie's avatar Dave Airlie
Browse files

drm/radeon: fix r600 writeback across suspend/resume



This update was done in mainline radeon, but not in the r600.

Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 6546bf6d
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -1737,9 +1737,6 @@ static void r600_cp_init_ring_buffer(struct drm_device *dev,


	RADEON_WRITE(R600_CP_DEBUG, (1 << 27) | (1 << 28));
	RADEON_WRITE(R600_CP_DEBUG, (1 << 27) | (1 << 28));


	/* Start with assuming that writeback doesn't work */
	dev_priv->writeback_works = 0;

	/* Initialize the scratch register pointer.  This will cause
	/* Initialize the scratch register pointer.  This will cause
	 * the scratch register values to be written out to memory
	 * the scratch register values to be written out to memory
	 * whenever they are updated.
	 * whenever they are updated.