[Intel-gfx] Where is SDVO mode setting code in kernel module sources?

4ernov 4ernov at gmail.com
Wed Oct 19 15:48:28 CEST 2011


2011/10/19 Adam Jackson <ajax at redhat.com>:
> On Wed, 2011-10-19 at 13:08 +0400, 4ernov wrote:
>> Hello,
>>
>> I'm experimenting with i915 kernel module to fix the problem with
>> different brightness of LVDS displays when connected together via
>> Chrontel SDVO converters. My biggest problem is that I simply
>> can't find the place in code where the mode is set. I seem to find the
>> place where the device is initialized, but it's still unclear where
>> settings of current mode is set to certain SDVO output (i.e.
>> resolution, refresh rate etc.) and where LVDS settings are set in case
>> it's SDVO-LVDS converter.
>>
>> Could someone who knows the code quite good please give me a reference
>> where to find this code?
>
> The SDVO-specific code is in intel_sdvo.c, and the common code for pipe
> setup is in intel_display.c.  Both are in the kernel source under
> drivers/gpu/drm/i915.

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.

> - ajax
>



More information about the Intel-gfx mailing list