[PATCH xserver] modesetting: Add the "DPI" connector type.
Eric Anholt
eric at anholt.net
Tue Apr 25 18:36:00 UTC 2017
The number for it was merged to drm_mode.h in kernel 4.7, and the
output_names[] array just requires that we slot in new strings in
order.
Signed-off-by: Eric Anholt <eric at anholt.net>
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/xfree86/drivers/modesetting/drmmode_display.c b/hw/xfree86/drivers/modesetting/drmmode_display.c
index 516eb7691507..bbca8ca704a5 100644
--- a/hw/xfree86/drivers/modesetting/drmmode_display.c
+++ b/hw/xfree86/drivers/modesetting/drmmode_display.c
@@ -1621,6 +1621,7 @@ static const char *const output_names[] = {
"eDP",
"Virtual",
"DSI",
+ "DPI",
};
static xf86OutputPtr find_output(ScrnInfoPtr pScrn, int id)
--
2.11.0
More information about the xorg-devel
mailing list