diff options
author | Alex Deucher | 2011-06-13 22:02:51 +0000 |
---|---|---|
committer | Dave Airlie | 2011-06-16 16:28:43 +1000 |
commit | e6ba759980e65084b0db9f1684d9d65a2a3e1741 (patch) | |
tree | f5af962584902984f9b6c71dad843f179aa77ab3 /drivers | |
parent | 7c88d2b80ba5c175398013842782461a3b980130 (diff) |
drm/radeon/kms: clear wb memory by default
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_device.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c index e680501c78ea..7cfaa7e2f3b5 100644 --- a/drivers/gpu/drm/radeon/radeon_device.c +++ b/drivers/gpu/drm/radeon/radeon_device.c @@ -215,6 +215,8 @@ int radeon_wb_init(struct radeon_device *rdev) return r; } + /* clear wb memory */ + memset((char *)rdev->wb.wb, 0, RADEON_GPU_PAGE_SIZE); /* disable event_write fences */ rdev->wb.use_event = false; /* disabled via module param */ |