Radeon M7 rendering problem for SXGA+

Alex Deucher alexdeucher at gmail.com
Thu Oct 19 10:27:34 PDT 2006


On 10/19/06, John Klingler <john at jupiter.com> wrote:
> Rounding 1400 up to the next multiple of 64 results in 1408. Setting
> CRTC_PITCH
> to 1408 results in a screen width of 1408. If you tell the X Server that
> the screen width
> is 1408, everything works fine, otherwise the whole screen is messed up.
> The objective
> is to have a screen width of 1400 and have the graphics engine draw
> correctly.

As I tried to say earlier (though I mixed up my terms - that's what I
get for writing an email when I was half asleep) you can set the
horizontal width of the CRTC to what ever you want; the pitch just has
to match to that of the underlying desktop.  For example you can have
a 1400x1050 "mode" looking into a 4096x4096 desktop.  In your case,
set the crtc and src/dst engine pitches to 1408 and the set the "mode"
to 1400 (crtc_h_total_disp, etc.).

Alex

>
> Thanks for trying to help.
>
> John
>
> Benjamin Herrenschmidt wrote:
>
> >Well, you need to say both the scanout pich and the engine pitch to the
> >same value that is a multiple of 64. The former is in CRTC_PITCH and is
> >basically your virtual yres.
> >
> >Ben.
> >
> >
> >
> >
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg
>



More information about the xorg mailing list