Re: Inspiron 7500 vs x.org server

From: Julian Elischer <julian_at_FreeBSD.ORG>
Date: Sun, 30 Jan 2005 22:51:05 +0000 (GMT)
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
Received on Sun Jan 30 2005 - 21:51:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:27 UTC