<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>Well, Alex, as it turns out I tried that before and it didn't work
and now I can see<br>
why. By itself it is not enough. Backtracking to see what needs to be
done keeps widening<br>
with no end in sight short of just using the xorg radeon driver. If
there were a simple<br>
way of doing that, I would. However, the xorg drivers are not easily
decoupled from the <br>
upper level infrastructure. The alternative of just using the xorg DDX
would require<br>
integrating my DDX with it. I looked at that before and ran into the
same problem. <br>
<br>
In any case, thanks for taking the time to help. <br>
<br>
<br>
John<br>
</tt><br>
John Klingler wrote:
<blockquote cite="mid453693DE.7070800@jupiter.com" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
Thanks, Alex, <br>
<br>
I think that's what I was looking for:<br>
<b><tt>radeon_accelfuncs.c: OUT_ACCEL_REG(RADEON_DEFAULT_OFFSET,
info->dst_pitch_offset);</tt></b><br>
<br>
I'll try it in a few minutes.<br>
<br>
I wrote a little test program to see what RADEONSetPitch() does with
1400 and it<br>
does indeed round virtualX up to a displayWidth of 1408,
RADEONPreInitModes,<br>
however, sets displayWidth = virtualX without adjustment, which was
confusing.<br>
I was having trouble figuring out what the driver did with
displayWidth. <br>
<br>
John<br>
<br>
Alex Deucher wrote:
<blockquote
cite="mida728f9f90610181154lc5b46a0rd96353ed0d2dac8d@mail.gmail.com"
type="cite">On 10/18/06, John Klingler <a
class="moz-txt-link-rfc2396E" href="mailto:john@jupiter.com"><john@jupiter.com></a>
wrote: <br>
<blockquote type="cite">I am not using the xorg radeon driver but I
have been going through the code <br>
to see how this is handled. As far as I have been able to determine,
the <br>
driver does not support SXGA+. I will look again. (Can you give me a
hint?) <br>
<br>
</blockquote>
<br>
The driver handles all modes just fine. see radeon_driver.c <br>
RADEONSetPitch() and the drawing engine's destination/pitch register: <br>
info->dst_pitch_offset = (((pScrn->displayWidth * <br>
info->CurrentLayout.pixel_bytes / 64) <br>
<< 22) | ((info->fbLocation + pScrn->fbOffset) >>
10)); <br>
<br>
Alex <br>
<br>
<br>
</blockquote>
</blockquote>
</body>
</html>