Changing the connector output numbering

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

 



Hello,

xrandr lists the connector outputs like this: HDMI1, HDMI2, DP1, DP2, etc.
On our current mainboard with DVI and DisplayPort, the kernel driver assigns the number 2 to a pure DVI connection, so xrandr prints "HDMI2" for that connection. HDMI1 will be used, when I use a DP-to-DVI adapter on the DisplayPort while the other DVI port is used. The new board model (which uses the Intel i915 driver) has its DVI and DisplayPort connector switched and the DVI connection is now numbered with a "1". Using the adapter on the DP again, I get HDMI2.

I found out, that these numbers are generated by calling "ida_simple_get()" in the function "drm_connector_init()" in drivers/gpu/drm/drm_crtc.c and saving its return value in the connectors attribute "connector_type_id".

It would be preferable, to keep the current numbering scheme. Can I modify some code in order to achieve this? Or is there a way to influence the order in which the connectors are initialized?

Best regards,
Andreas
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux