[PATCH xserver] modesetting: Add the "DPI" connector type.

Alex Deucher alexdeucher at gmail.com
Tue Apr 25 21:02:56 UTC 2017


On Tue, Apr 25, 2017 at 2:36 PM, Eric Anholt <eric at anholt.net> wrote:
> 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>

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  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
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: https://lists.x.org/mailman/listinfo/xorg-devel


More information about the xorg-devel mailing list