drm/radeon/kms: clear wb memory by default

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Alex Deucher 2011-06-13 22:02:51 +00:00 committed by Dave Airlie
parent 7c88d2b80b
commit e6ba759980
1 changed files with 2 additions and 0 deletions

View File

@ -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 */