monitor-manager-kms: Use the same connector type names as the X server
Switch to the connector type names used by the X server's modesetting driver which, in particular, fixes DVI-A being labeled DVID. https://bugzilla.gnome.org/show_bug.cgi?id=770338
This commit is contained in:
parent
5a1ce1b5a2
commit
7ba803934c
@ -137,9 +137,23 @@ static char *
|
|||||||
make_output_name (drmModeConnector *connector)
|
make_output_name (drmModeConnector *connector)
|
||||||
{
|
{
|
||||||
static const char * const connector_type_names[] = {
|
static const char * const connector_type_names[] = {
|
||||||
"unknown", "VGA", "DVII", "DVID", "DVID", "Composite",
|
"None",
|
||||||
"SVIDEO", "LVDS", "Component", "9PinDIN", "DisplayPort",
|
"VGA",
|
||||||
"HDMIA", "HDMIB", "TV", "eDP", "Virtual", "DSI"
|
"DVI-I",
|
||||||
|
"DVI-D",
|
||||||
|
"DVI-A",
|
||||||
|
"Composite",
|
||||||
|
"SVIDEO",
|
||||||
|
"LVDS",
|
||||||
|
"Component",
|
||||||
|
"DIN",
|
||||||
|
"DP",
|
||||||
|
"HDMI",
|
||||||
|
"HDMI-B",
|
||||||
|
"TV",
|
||||||
|
"eDP",
|
||||||
|
"Virtual",
|
||||||
|
"DSI",
|
||||||
};
|
};
|
||||||
const char *connector_type_name;
|
const char *connector_type_name;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user