Skip to content

Commit

Permalink
drm/radeon/kms: fix screen clearing before fbcon.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dave Airlie committed Feb 11, 2010
1 parent efa8450 commit 6719fc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/radeon/radeon_fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down

0 comments on commit 6719fc6

Please sign in to comment.