diff options
author | Eric Anholt <eric@anholt.net> | 2017-04-25 11:33:50 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2017-04-25 15:01:23 -0700 |
commit | 23f2f1932a1d3f36468eaf735ae34934d246567b (patch) | |
tree | 890eb2cda7884d1f2e3f8e1566f5c74ec1011a6a | |
parent | fec9607c8e0a84dc86466c638d00b502f21ec622 (diff) |
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 <eric@anholt.net>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | hw/xfree86/drivers/modesetting/drmmode_display.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) |