[Intel-gfx] [Patch]: Calculate the DVO relative offset in LVDS data entry to get the DVO timing
Jesse Barnes
jbarnes at virtuousgeek.org
Fri Jul 24 18:41:04 CEST 2009
On Fri, 24 Jul 2009 10:44:20 +0800
yakui.zhao at intel.com wrote:
> From: Zhao Yakui <yakui.zhao at intel.com>
>
> Now the DVO timing in LVDS data entry is obtained by using the
> following step:
> a. get the entry size for every LVDS panel data
> b. Get the LVDS fp entry for the preferred panel type
> c. get the DVO timing by using entry->dvo_timing
>
> In our driver the entry->dvo_timing is related with the size of
> lvds_fp_timing. For example: the size is 46.
>
> But it seems that the size of lvds_fp_timing varies on the
> differnt platform. In such case we will get the incorrect DVO timing
> because of the incorrect DVO offset in LVDS panel data entry.
>
> Calculate the DVO timing offset in LVDS data entry to get the DVO
> timing a. get the DVO timing offset in the LVDS fp data entry by
> using the pointer definition in LVDS data ptr
> b. get the LVDS data entry
> c. get the DVO timing by adding the DVO timing offset to data
> entry
>
> https://bugs.freedesktop.org/show_bug.cgi?id=22787
Ugg, wish our VBIOS tables were a bit better.
Acked-by: Jesse Barnes <jbarnes at virtuousgeek.org>
--
Jesse Barnes, Intel Open Source Technology Center
More information about the Intel-gfx
mailing list