From 23f2f1932a1d3f36468eaf735ae34934d246567b Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 25 Apr 2017 11:33:50 -0700 Subject: [PATCH] modesetting: Add the "DPI" connector type. 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 Reviewed-by: Alex Deucher --- 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 516eb7691..bbca8ca70 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)