projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c88d2b
)
drm/radeon/kms: clear wb memory by default
author
Alex Deucher
<alexdeucher@gmail.com>
Mon, 13 Jun 2011 22:02:51 +0000
(22:02 +0000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 16 Jun 2011 06:28:43 +0000
(16:28 +1000)
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_device.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon_device.c
b/drivers/gpu/drm/radeon/radeon_device.c
index e680501c78ea50e7d7a9d9d8f5d727c7c4e3337a..7cfaa7e2f3b57195671beb6958c8447f9f108683 100644
(file)
--- 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 */