[PATCH xserver] modesetting: unifdef MODESETTING_OUTPUT_SLAVE_SUPPORT

Hans de Goede hdegoede at redhat.com
Mon Oct 24 07:59:35 UTC 2016


Hi,

On 22-10-16 14:10, Nikhil Mahale wrote:
> Commit c7e8d4a6ee9542f56cd241cf7a960fb8223a6b22 had already
> unifdef MODESETTING_OUTPUT_SLAVE_SUPPORT but commit
> 9257b1252da9092ddc676fec9aabe2b33dfad272 didn't
> notice that.
>
> Signed-off-by: Nikhil Mahale <nmahale at nvidia.com>

Looks good to me:

Reviewed-by: Hans de Goede <hdegoede at redhat.com>

Regards,

Hans


> ---
>  hw/xfree86/drivers/modesetting/drmmode_display.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/hw/xfree86/drivers/modesetting/drmmode_display.c b/hw/xfree86/drivers/modesetting/drmmode_display.c
> index 61a0e27..6e755e9 100644
> --- a/hw/xfree86/drivers/modesetting/drmmode_display.c
> +++ b/hw/xfree86/drivers/modesetting/drmmode_display.c
> @@ -1701,10 +1701,8 @@ drmmode_create_name(ScrnInfoPtr pScrn, drmModeConnectorPtr koutput, char *name,
>   fallback:
>      if (koutput->connector_type >= MS_ARRAY_SIZE(output_names))
>          snprintf(name, 32, "Unknown%d-%d", koutput->connector_type, koutput->connector_type_id);
> -#ifdef MODESETTING_OUTPUT_SLAVE_SUPPORT
>      else if (pScrn->is_gpu)
>          snprintf(name, 32, "%s-%d-%d", output_names[koutput->connector_type], pScrn->scrnIndex - GPU_SCREEN_OFFSET + 1, koutput->connector_type_id);
> -#endif
>      else
>          snprintf(name, 32, "%s-%d", output_names[koutput->connector_type], koutput->connector_type_id);
>  }
>


More information about the xorg-devel mailing list