/*1* Copyright (C) 2014 Red Hat2* Copyright (C) 2014 Intel Corp.3* Copyright (C) 2018 Intel Corp.4*5* Permission is hereby granted, free of charge, to any person obtaining a6* copy of this software and associated documentation files (the "Software"),7* to deal in the Software without restriction, including without limitation8* the rights to use, copy, modify, merge, publish, distribute, sublicense,9* and/or sell copies of the Software, and to permit persons to whom the10* Software is furnished to do so, subject to the following conditions:11*12* The above copyright notice and this permission notice shall be included in13* all copies or substantial portions of the Software.14*15* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR16* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,17* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL18* THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR19* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,20* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR21* OTHER DEALINGS IN THE SOFTWARE.22*23* Authors:24* Rob Clark <[email protected]>25* Daniel Vetter <[email protected]>26*/2728#ifndef DRM_ATOMIC_UAPI_H_29#define DRM_ATOMIC_UAPI_H_3031struct drm_crtc_state;32struct drm_display_mode;33struct drm_property_blob;34struct drm_plane_state;35struct drm_crtc;36struct drm_connector_state;37struct dma_fence;38struct drm_framebuffer;3940int __must_check41drm_atomic_set_mode_for_crtc(struct drm_crtc_state *state,42const struct drm_display_mode *mode);43int __must_check44drm_atomic_set_mode_prop_for_crtc(struct drm_crtc_state *state,45struct drm_property_blob *blob);46int __must_check47drm_atomic_set_crtc_for_plane(struct drm_plane_state *plane_state,48struct drm_crtc *crtc);49void drm_atomic_set_fb_for_plane(struct drm_plane_state *plane_state,50struct drm_framebuffer *fb);51int __must_check52drm_atomic_set_crtc_for_connector(struct drm_connector_state *conn_state,53struct drm_crtc *crtc);5455#endif565758