From: Eric Engestrom Date: Fri, 14 Sep 2018 13:43:57 +0000 (+0100) Subject: vulkan/wsi/display: wsi_display_select_crtc() doesn' need to modify the connector X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f2519e3493feb158ded0843ad89ce2ebe9ebae23;p=mesa.git vulkan/wsi/display: wsi_display_select_crtc() doesn' need to modify the connector Signed-off-by: Eric Engestrom --- diff --git a/src/vulkan/wsi/wsi_common_display.c b/src/vulkan/wsi/wsi_common_display.c index 3bf166977ea..1dbed08d8a7 100644 --- a/src/vulkan/wsi/wsi_common_display.c +++ b/src/vulkan/wsi/wsi_common_display.c @@ -1297,7 +1297,7 @@ wsi_display_crtc_solo(struct wsi_display *wsi, * which is currently idle. */ static uint32_t -wsi_display_select_crtc(struct wsi_display_connector *connector, +wsi_display_select_crtc(const struct wsi_display_connector *connector, drmModeResPtr mode_res, drmModeConnectorPtr drm_connector) {