summaryrefslogtreecommitdiffstats
path: root/src/vulkan
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2018-09-14 14:43:57 +0100
committerEric Engestrom <[email protected]>2018-09-24 17:38:11 +0100
commitf2519e3493feb158ded0843ad89ce2ebe9ebae23 (patch)
tree87171a45a06596c952abe51ba2180f72723b35fe /src/vulkan
parentbde3102c0dc3e33d2605d013205e381ff6d93ace (diff)
vulkan/wsi/display: wsi_display_select_crtc() doesn' need to modify the connector
Signed-off-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/vulkan')
-rw-r--r--src/vulkan/wsi/wsi_common_display.c2
1 files changed, 1 insertions, 1 deletions
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)
{