Re: Standby also seems to reset the VideoLUT/crtc



On Sun, Nov 15, 2009 at 2:15 PM, Pedro Côrte-Real <pedro pedrocr net> wrote:
> On Sun, Nov 15, 2009 at 7:33 AM, Andrew Lutomirski <amluto gmail com> wrote:
>> Heh, I replied to Pascal directly instead of to all.  I think that X
>> already does that with server 1.7 and up and (on my machine, anyway)
>> intel driver 2.9.0 and up.  (e.g. F12 but not F11)
>
> I run Ubuntu Karmic (9.10) and this is not the case. I do have the
> 2.9.0 intel driver but the server is only 1.6.4. So I guess the config
> for it is in the xserver. Strangely when I set the ICC profile with
> xcalib it seems to survive the suspend.

I believe it requires some cooperation between both.

In the intel driver, in drmmode_set_mode_major, it says:

#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,7,0,0,0)
        crtc->funcs->gamma_set(crtc, crtc->gamma_red, crtc->gamma_green,
                               crtc->gamma_blue, crtc->gamma_size);
#endif

--Andy

>
> Pedro
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]