vulkan/wsi/display: wsi_display_select_crtc() doesn' need to modify the connector
authorEric Engestrom <eric.engestrom@intel.com>
Fri, 14 Sep 2018 13:43:57 +0000 (14:43 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Mon, 24 Sep 2018 16:38:11 +0000 (17:38 +0100)
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
src/vulkan/wsi/wsi_common_display.c

index 3bf166977eaa11e979493695599e094bcc6f1be9..1dbed08d8a750ce21846f09e552c69f04d09ac25 100644 (file)
@@ -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)
 {