drm: Add acquire ctx parameter to ->set_config
[linux-2.6-block.git] / drivers / gpu / drm / amd / amdgpu / amdgpu_mode.h
index 8573a818323f6e5dbfa2c90cde9ba8156e703e22..db8f8dda209c7880b0ede9e79268a7c9726b3b5c 100644 (file)
@@ -590,7 +590,8 @@ int amdgpu_align_pitch(struct amdgpu_device *adev, int width, int bpp, bool tile
 /* amdgpu_display.c */
 void amdgpu_print_display_setup(struct drm_device *dev);
 int amdgpu_modeset_create_props(struct amdgpu_device *adev);
-int amdgpu_crtc_set_config(struct drm_mode_set *set);
+int amdgpu_crtc_set_config(struct drm_mode_set *set,
+                          struct drm_modeset_acquire_ctx *ctx);
 int amdgpu_crtc_page_flip_target(struct drm_crtc *crtc,
                                 struct drm_framebuffer *fb,
                                 struct drm_pending_vblank_event *event,