Radeon M7 rendering problem for SXGA+

John Klingler john at jupiter.com
Wed Oct 18 13:51:42 PDT 2006


Thanks, Alex,

I think that's what I was looking for:
radeon_accelfuncs.c: OUT_ACCEL_REG(RADEON_DEFAULT_OFFSET, 
info->dst_pitch_offset);

I'll try it in a few minutes.

I wrote a little test program to see what RADEONSetPitch() does with 
1400 and it
does indeed round virtualX up to a displayWidth of 1408, RADEONPreInitModes,
however, sets displayWidth  = virtualX without adjustment, which was 
confusing.
I was having trouble figuring out what the driver did with displayWidth.

John

Alex Deucher wrote:

> On 10/18/06, John Klingler <john at jupiter.com> wrote:
>
>> I am not using the xorg radeon driver but I have been going through 
>> the code
>> to see how this is handled. As far as I have been able to determine, the
>> driver does not support SXGA+. I will look again. (Can you give me a 
>> hint?)
>>
>
> The driver handles all modes just fine.  see radeon_driver.c
> RADEONSetPitch() and the drawing engine's destination/pitch register:
> info->dst_pitch_offset = (((pScrn->displayWidth *
> info->CurrentLayout.pixel_bytes / 64)
> << 22) | ((info->fbLocation + pScrn->fbOffset) >> 10));
>
> Alex
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20061018/0d9f1379/attachment.html>


More information about the xorg mailing list