[Intel-gfx] Where is SDVO mode setting code in kernel module sources?
Adam Jackson
ajax at redhat.com
Wed Oct 19 16:28:13 CEST 2011
On Wed, 2011-10-19 at 17:48 +0400, 4ernov wrote:
> Thanks, Adam. But is there any pipe setup part specific for certain
> output? I need to find a place where converter is set to use 24 or 18
> bit LVDS mode. I examined intel_sdvo.c quite long but still cannot
> find what I want.
We don't appear to have any code for that already written.
intel_sdvo_regs.h does document an SDVO command pair that looks
relevant:
#define SDVO_CMD_GET_LVDS_PANEL_INFORMATION 0x7f
#define SDVO_CMD_SET_LVDS_PANEL_INFORMATION 0x80
# define SDVO_LVDS_COLOR_DEPTH_18 (0 << 0)
# define SDVO_LVDS_COLOR_DEPTH_24 (1 << 0)
# define SDVO_LVDS_CONNECTOR_SPWG (0 << 2)
# define SDVO_LVDS_CONNECTOR_OPENLDI (1 << 2)
# define SDVO_LVDS_SINGLE_CHANNEL (0 << 4)
# define SDVO_LVDS_DUAL_CHANNEL (1 << 4)
I assume the SDVO LVDS options block in the VBT would tell us what bits
are correct to program here, but intel_bios.h documents only the layout
of that structure, not its content. Or, we can hope that the SDVO card
set it up correctly for us (hah).
Intel people, care to shed some light here?
- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20111019/24db21de/attachment.sig>
More information about the Intel-gfx
mailing list