Re: intelfb

From: Lukas Hejtmanek
Date: Tue Jan 10 2006 - 04:01:52 EST


On Tue, Jan 10, 2006 at 04:51:38PM +0800, Antonino A. Daplas wrote:
> > calculate pixel mod clock is wrong for this chip. And also I have an idea how to
> > setup a graphic mode on local LCD (laptops).
> >
>
> Can you post your hack to this list?

Well, for LVDS (internal LCD) I found, that PLL pixel clock is fixed accross any
resloution. This means that black magick used for PLL clock is not needed,
driver just need to read initial value of PLL registers and keep it (for
suspend/resume). It works to set resolution 640x480 using BIOS and then to
correct Pipes and Display planes to any resolution you want (usualy the
resolution of LCD). I guess that resolution 640x480 can be programmed directly
without BIOS (but I need to check it).

Another discover is that 0x61204 & ~1 allows LVDS register to be changed (and
also it disables LVDS output (DPMS D3 on LVDS). 0x61204 | 1 enables it back.

--
Lukáš Hejtmánek
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/