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

Commit e6ba7599 authored by Alex Deucher's avatar Alex Deucher Committed by Dave Airlie
Browse files

drm/radeon/kms: clear wb memory by default

parent 7c88d2b8
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -215,6 +215,8 @@ int radeon_wb_init(struct radeon_device *rdev)
		return r;
		return r;
	}
	}


	/* clear wb memory */
	memset((char *)rdev->wb.wb, 0, RADEON_GPU_PAGE_SIZE);
	/* disable event_write fences */
	/* disable event_write fences */
	rdev->wb.use_event = false;
	rdev->wb.use_event = false;
	/* disabled via module param */
	/* disabled via module param */