All the following options belong to the HDMI's Monitor section.
Basic Configuration
You may start from the basic options defined by Xorg.
Option "Enable" "boolean" Option "Disable" "boolean" Option "Ignore" "boolean" Option "PreferredMode" "string" Option "Position" "integer integer" Option "Rotate" "string" Option "LeftOf" ("RightOf", "Below", "Above") "string" Option "MinClock" "integer" Option "MaxClock" "integer"The following three options are exclusive, you can use only one or none. If none is set, X takes "enable" by default.
Option "Enable" "boolean" Option "Disable" "boolean" Option "Ignore" "boolean"
Option "Enable" "boolean"
It means to light the HDMI when starting X.
Option "Disable" "boolean"
It means not to light the HDMI when starting X, but you could light it by the command "$ xrandr --auto".
Option "Ignore" "boolean"
X will not create the output for the HDMI. You could not light it dynamically by any means.
Option "PreferredMode" "string"
Set the display mode which would apply to HDMI, say "1920x1080P" (P stands for progressive). Interlaced modes are supported on VX855, but it is not stable. Note that if the HDMI is disabled, you may not add this option. Otherwise, it could be lighted when X starts up.
Option "Position" "integer integer"
Set the start posotion of the output. The integers represents the position by two coordinates (x,y). The default value is "0 0". This option takes effect when two display devices are enabled. It makes no difference if only one is enabled.
Option "Rotate" "string"
Rotate the output of the DVI. The valid string could be left, right, normal, inverted, and the corresponding rotation degree is 270, 90, 0, 180 (CW). The default value is normal. To enable HW rotation, get more information from Chapter 6. Configuring Hardware rotation
Option "LeftOf" "string"
Option "RightOf" "string"
Option "Below" "string"
Option "Above" "string"Enable the extend mode. If this option is not set when two display devices are enabled, the display mode would be clone mode. The string after the operator is one of the display device you intend to light. However, it's forbidden to use this option when only one display device is enabled.
Option "MinClock" "integer"
Option "MaxClock" "integer"Put constrains to the display device, in order to filter out some mode. Unit: Hz.
HDMI related options
Besides the options mentioned above, the VIA accelerated Linux graphics driver implemented other options to fulfill special requirements.
Option "Type" "string"
This option specifies in which way the HDMI is connected to the board. Valid types are External, Internal. External means the HDMI is connected via external transmitter, i.e. AD9389/AD9889. The default type is Internal.
Option "DIPort" "string"
This option specifies which digital port is occupied by the HDMI. Valid ports are DFP_HIGH, DFP_LOW, DFP_HIGHLOW, DVP0, DVP1. The default value is determined by the display device and the Type setting. Usually, if Type is set to External, the default value is DVP1.
Option "SerialPort" "hex number"
This option is used to set the port to sense the external transmitter/encoder. The valid values are 0x25, 0x26, 0x2C, 0x31, 0x3D. If this option is not set, the VIA driver will sense the ports following this sequence: 0x2c-> 0x31-> 0x25-> 0x3D-> 0x26.
Option "DDCPort" "hex number"
This option is used to set the port to obtain EDID. The valid values are 0x25, 0x26, 0x2C, 0x31, 0x3D. The value is usually the same as SerialPort's. Thus, this option need not be set in most cases.
Option "Hotplug"
This options is used to support hot-plug function and change mode on the fly. But it will cost CPU usage.
Option "AttachAllModes"
Normally, the monitor's EDID determines which modes the monitor can support. But if you want to force to set a mode which is not listed in its EDID, you can set this option to attach all modes that the driver can support.
Note that to avoid DI port conflicts, it's better to ignore the display devices which are not to be used.
You can get a complete sample in Appendix D. X Config Sample (Using the XRandR Extension).