summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-02-09 12:31:08 +1000
committerDave Airlie <airlied@redhat.com>2010-02-11 11:25:27 +1000
commit6719fc663c6cd30da5dd02d08aaefb031a7a98fd (patch)
treed898b52352add966b418684d929b5c60a80d0db1 /drivers/gpu
parentefa8450f6c93c9d4c99adfea2f52f1d02d878d5b (diff)
downloadlinux-6719fc663c6cd30da5dd02d08aaefb031a7a98fd.tar.bz2
drm/radeon/kms: fix screen clearing before fbcon.
This memset_io was added to debug something way back and got left behind, memset the fb to black so the borders don't be all white. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/radeon/radeon_fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_fb.c b/drivers/gpu/drm/radeon/radeon_fb.c
index 66055b3d8668..23aa393634f2 100644
--- a/drivers/gpu/drm/radeon/radeon_fb.c
+++ b/drivers/gpu/drm/radeon/radeon_fb.c
@@ -248,7 +248,7 @@ int radeonfb_create(struct drm_device *dev,
if (ret)
goto out_unref;
- memset_io(fbptr, 0xff, aligned_size);
+ memset_io(fbptr, 0x0, aligned_size);
strcpy(info->fix.id, "radeondrmfb");