Skip to contentSkip to conversation

drm/radeon/kms: fix screen clearing before fbcon.

PATCH New Dave Airlie 1 participant 1 message Feb 9, 2010

Subsystems (2)
lore
Share & tools
lore

Dave Airlie

author maintainer
#0 lore raw

PATCH 1/1 drm/radeon/kms: fix screen clearing before fbcon.

From: Dave Airlie <[email protected]>

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.

---
 drivers/gpu/drm/radeon/radeon_fb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/gpu/drm/radeon/radeon_fb.c +1 -1
index 105c678..0284031 100644
@@ -243,7 +243,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");
 
Signature · 10 lines
1.6.5.2


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--