xf86-video-intel

Sergio Monteiro Basto sergio at sergiomb.no-ip.org
Fri Nov 23 19:34:57 PST 2007


On Thu, 2007-11-22 at 10:05 +0100, Lukas Hejtmanek wrote:
> On Tue, Nov 20, 2007 at 12:49:57PM -0800, Jesse Barnes wrote:
> > Ooh, that's actually a bug I think... does this work better for you?
> 
> also something like the patch below is needed otherwise the driver restores
> backlight level to the level gained at the server startup every time some 
> application touches screensaver.
> 
> diff --git a/src/i830_lvds.c b/src/i830_lvds.c
> index a3a56f7..ab6b472 100644
> --- a/src/i830_lvds.c
> +++ b/src/i830_lvds.c
> @@ -355,6 +354,14 @@ i830SetLVDSPanelPower(xf86OutputPtr output, Bool on)
>      I830Ptr                pI830 = I830PTR(pScrn);
>      CARD32                 pp_status;
>  
> +    /* We need to save current backlight level which can be different from 
> +     * the server start up so that we restore it correctly.
> +     * We assume that if LVDS is turned on, it contains also correct backlight 
> +     * level.
> +     */
> +    if (INREG(PP_CONTROL) & POWER_TARGET_ON)
> +        dev_priv->backlight_duty_cycle = dev_priv->get_backlight(output);
> +
>      if (on) {
>         OUTREG(PP_CONTROL, INREG(PP_CONTROL) | POWER_TARGET_ON);
>         do {
> 
Hi, first I'd like to say thanks to you and I'd say to Jesse, thanks,
and I am here to try to have a best graphics, I trying this software on
my working machine but I know this is a devel version so I don't care if
my machine brokes or not, normally I think this software can't break
hardware, in this type of issues. And having version 2.2.0 to test it is
positive. 
IMO the great test will be when I have the new drm with Mesa devel which
have i915tex, but we will need xserver 1.5 ! (not yet released).
Most people have xserver 1.3 for Xorg 7.2 and no distro I don't see any,
is shipping the released xserver 1.4 and Xorg 7.3, ( I don't know
why :) ).
What I'd like say when on xorg-drv-video-intel was introduce buffers
stuff (20 Set 2007), I am running git Mesa and git drm at the time and
for it I need xserver >= 1.4 , but if I used video-intel 2.2 with last
stable version of Mesa and of drm (more than a year version) , it can be
work , I don't test it to be honest, with xserver 1.3. 

Lukas, I see 3 patches in this tread, what is the best combination ?
"also something" say that is this patch more something, should I apply
all of the 3 or just yours 2 ?   
I have applied yours 2 and no crash nor flicks.

Thanks,     
-- 
Sérgio M. B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2192 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20071124/90a5f131/attachment.bin>


More information about the xorg mailing list