Inspiron 7500 vs x.org server

Julian Elischer julian at FreeBSD.ORG
Sun Jul 3 00:32:31 GMT 2005


I tried the fix of changing vert to horz as mentionned in 1881
in the radeon driver but that didn't seem to fix anything.

In particular I have the following code in radeon_driver.c now:


static void RADEONGetPanelInfoFromReg (ScrnInfoPtr pScrn)
{
    RADEONInfoPtr info     = RADEONPTR(pScrn);
    unsigned char *RADEONMMIO = info->MMIO;
    CARD32 fp_vert_stretch = INREG(RADEON_FP_VERT_STRETCH);
    CARD32 fp_horz_stretch = INREG(RADEON_FP_HORZ_STRETCH);

    info->PanelPwrDly = 200;
    if (fp_vert_stretch & RADEON_VERT_STRETCH_ENABLE) {
        info->PanelYRes = (fp_vert_stretch>>12) + 1;
    } else {
        info->PanelYRes = (INREG(RADEON_CRTC_V_TOTAL_DISP)>>16) + 1;
    }
    if (fp_horz_stretch & RADEON_HORZ_STRETCH_ENABLE) {
        info->PanelXRes = ((fp_horz_stretch>>16) + 1) * 8;
    } else {
        info->PanelXRes = ((INREG(RADEON_CRTC_H_TOTAL_DISP)>>16) + 1) * 8;
    }

    if ((info->PanelXRes < 640) || (info->PanelYRes < 480)) {
        info->PanelXRes = 640;
        info->PanelYRes = 480;
    }

    xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
               "Panel size %dx%d is derived, this may not be correct.\n"
                   "If not, use PanelSize option to overwrite this setting\n",
               info->PanelXRes, info->PanelYRes);
}

Can you put that file somewhere I can download it?
I don't have mime at teh moment.. I'm reading mail on hub.freebsd.org using
'mail' :-)

(I edited the file by had and then cd'd to /usr/ports/x11-servers/xorg-servers and typed "make ; make install"  it did a lot of stuff
and installed it but the problem persists.


> From eta at lclark.edu  Sun Jan 30 21:19:03 2005
> Delivered-To: julian at freebsd.org
> X-Authentication-Warning: leguin.anholt.net: anholt set sender to eta at lclark.edu using -f
> Subject: Re: Inspiron 7500 vs x.org server
> From: Eric Anholt <eta at lclark.edu>
> To: Julian Elischer <julian at freebsd.org>
> Cc: current at freebsd.org, x11 at freebsd.org
> In-Reply-To: <20050130205650.C370416A4CF at hub.freebsd.org>
> References: <20050130205650.C370416A4CF at hub.freebsd.org>
> Content-Type: multipart/mixed; boundary="=-hrD0wS1TBru356BqLxVW"
> Date: Sun, 30 Jan 2005 13:19:01 -0800
> Mime-Version: 1.0
> X-Mailer: Evolution 2.0.2 FreeBSD GNOME Team Port 
>
>
> --=-hrD0wS1TBru356BqLxVW
> Content-Type: text/plain
> Content-Transfer-Encoding: 7bit
>
> On Sun, 2005-01-30 at 20:56 +0000, Julian Elischer wrote:
> > Adding more to this.. x.org has this as bug 1109
> > It was erroneously linked as  a duplicate of 1881 which has 
> > been fixed, however that was a bug in the radeon driver and this 
> > is the ati driver.
>
> The ati driver is just a little wrapper that loads radeon, r128, or
> atimisc as appropriate.  If you could verify that 1881's fix helps you,
> I'll dump it into the xorg-server port (or I might anyway whenever I
> commit to xorg-server next).  A patch to xorg-server is attached.
>
> -- 
> Eric Anholt                                eta at lclark.edu          
> http://people.freebsd.org/~anholt/         anholt at FreeBSD.org


_______________________________________________
freebsd-current at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"



More information about the freebsd-x11 mailing list