Re: mono, gray and index configs
From: Jon Smirl <hidden>
Date: 2005-08-20 01:14:20
Could everyone give this a try and give me some feedback? On 8/11/05, Jon Smirl [off-list ref] wrote:
Here's a new version that actually lets me set all possible scanout configs on radeonfb. I can even set I4 but I don't think the code is correct for it yet everywhere in radeonfb. The core code in the patch should be ok. My further changes should be restricted to the radeonfb code. For example, I haven't added the logic to radeonfb to "round up" to the next config. You get two new sysfs attributes: configs - optional, but really nice to have, list of all configs supported by the driver config - current config the hardware is set to. example syntax... [root@jonsmirl fb0]# cat configs I4 I8 A1R5G5B5 R5G6B5 R8G8B8 A8R8G8B8 A4R4G4B4 A8I8 A2R10G10B10 Offsets are computed from the field widths. So if a card sets BGR vs RGB and you cat its config you will see RGB or BGR in the config string. M is used for a grayscale field. So give the patch a try and start expanding it to handle other cards. -- Jon Smirl jonsmirl@gmail.com
-- Jon Smirl jonsmirl@gmail.com ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf