diff options
author | James Simmons <jsimmons@infradead.org> | 2012-06-10 14:56:13 -0400 |
---|---|---|
committer | James Simmons <jsimmons@infradead.org> | 2012-06-10 14:56:13 -0400 |
commit | a5c259f743f06eed96ab7a1b7fb294f5df88d946 (patch) | |
tree | 2981ff7582678c0e6bc55c0890d863d2698693bc | |
parent | 3d383532643ee85aa0e9ef0c33e956edbfe41942 (diff) |
Sync names to KMS names so config files don't need to be changes in the future
-rw-r--r-- | src/via_lvds.c | 4 | ||||
-rw-r--r-- | src/via_outputs.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/via_lvds.c b/src/via_lvds.c index b520a90..23d59dc 100644 --- a/src/via_lvds.c +++ b/src/via_lvds.c @@ -1558,11 +1558,11 @@ via_lvds_init(ScrnInfoPtr pScrn) if (ForcePanel) { xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Enabling panel from config.\n"); - output = xf86OutputCreate(pScrn, &via_lvds_funcs, "LVDS-0"); + output = xf86OutputCreate(pScrn, &via_lvds_funcs, "LVDS-1"); } else if (pVia->Id && (pVia->Id->Outputs & VIA_DEVICE_LCD)) { xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Enabling panel from PCI-subsystem ID information.\n"); - output = xf86OutputCreate(pScrn, &via_lvds_funcs, "LVDS-0"); + output = xf86OutputCreate(pScrn, &via_lvds_funcs, "LVDS-1"); } if (output) { diff --git a/src/via_outputs.c b/src/via_outputs.c index ecfcc9e..47ccd73 100644 --- a/src/via_outputs.c +++ b/src/via_outputs.c @@ -466,7 +466,7 @@ via_tv_init(ScrnInfoPtr pScrn) return FALSE; } - output = xf86OutputCreate(pScrn, &via_tv_funcs, "TV-0"); + output = xf86OutputCreate(pScrn, &via_tv_funcs, "TV-1"); pVia->FirstInit = TRUE; pBIOSInfo->tv = output; /* Save now */ @@ -619,7 +619,7 @@ via_dp_init(ScrnInfoPtr pScrn) xf86OutputPtr output = NULL; if (pVia->pI2CBus2) - output = xf86OutputCreate(pScrn, &via_dp_funcs, "DP-0"); + output = xf86OutputCreate(pScrn, &via_dp_funcs, "DP-1"); if (output) { output->possible_crtcs = 0x1; output->possible_clones = 0; @@ -795,7 +795,7 @@ via_analog_init(ScrnInfoPtr pScrn) xf86OutputPtr output = NULL; if (pVia->pI2CBus1) { - output = xf86OutputCreate(pScrn, &via_analog_funcs, "VGA-0"); + output = xf86OutputCreate(pScrn, &via_analog_funcs, "VGA-1"); output->possible_crtcs = 0x3; output->possible_clones = 0; |