drm/radeon/kms: fix screen clearing before fbcon.
authorDave Airlie <airlied@redhat.com>
Tue, 9 Feb 2010 02:31:08 +0000 (12:31 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 11 Feb 2010 01:25:27 +0000 (11:25 +1000)
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>
drivers/gpu/drm/radeon/radeon_fb.c

index 66055b3d86684031ab16eb9e872360fb68fcaaa2..23aa393634f2af5661307e43dc6dbdf4271be3b2 100644 (file)
@@ -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");