1ba55f2f5SFrançois Tigeot /* 2ba55f2f5SFrançois Tigeot * Copyright © 2006 Keith Packard 3ba55f2f5SFrançois Tigeot * Copyright © 2007-2008 Dave Airlie 4ba55f2f5SFrançois Tigeot * Copyright © 2007-2008 Intel Corporation 5ba55f2f5SFrançois Tigeot * Jesse Barnes <jesse.barnes@intel.com> 6ba55f2f5SFrançois Tigeot * Copyright © 2014 Intel Corporation 7ba55f2f5SFrançois Tigeot * Daniel Vetter <daniel.vetter@ffwll.ch> 8ba55f2f5SFrançois Tigeot * 9ba55f2f5SFrançois Tigeot * Permission is hereby granted, free of charge, to any person obtaining a 10ba55f2f5SFrançois Tigeot * copy of this software and associated documentation files (the "Software"), 11ba55f2f5SFrançois Tigeot * to deal in the Software without restriction, including without limitation 12ba55f2f5SFrançois Tigeot * the rights to use, copy, modify, merge, publish, distribute, sublicense, 13ba55f2f5SFrançois Tigeot * and/or sell copies of the Software, and to permit persons to whom the 14ba55f2f5SFrançois Tigeot * Software is furnished to do so, subject to the following conditions: 15ba55f2f5SFrançois Tigeot * 16ba55f2f5SFrançois Tigeot * The above copyright notice and this permission notice shall be included in 17ba55f2f5SFrançois Tigeot * all copies or substantial portions of the Software. 18ba55f2f5SFrançois Tigeot * 19ba55f2f5SFrançois Tigeot * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 20ba55f2f5SFrançois Tigeot * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 21ba55f2f5SFrançois Tigeot * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 22ba55f2f5SFrançois Tigeot * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 23ba55f2f5SFrançois Tigeot * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 24ba55f2f5SFrançois Tigeot * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 25ba55f2f5SFrançois Tigeot * OTHER DEALINGS IN THE SOFTWARE. 26ba55f2f5SFrançois Tigeot */ 27ba55f2f5SFrançois Tigeot 28ba55f2f5SFrançois Tigeot /* 29ba55f2f5SFrançois Tigeot * This header file contains mode setting related functions and definitions 30ba55f2f5SFrançois Tigeot * which are only used within the drm module as internal implementation details 31ba55f2f5SFrançois Tigeot * and are not exported to drivers. 32ba55f2f5SFrançois Tigeot */ 33ba55f2f5SFrançois Tigeot 34ba55f2f5SFrançois Tigeot int drm_mode_object_get(struct drm_device *dev, 35ba55f2f5SFrançois Tigeot struct drm_mode_object *obj, uint32_t obj_type); 36*8621f407SFrançois Tigeot void drm_mode_object_unregister(struct drm_device *dev, 37ba55f2f5SFrançois Tigeot struct drm_mode_object *object); 38ba55f2f5SFrançois Tigeot 392c9916cdSFrançois Tigeot /* drm_atomic.c */ 402c9916cdSFrançois Tigeot int drm_atomic_get_property(struct drm_mode_object *obj, 412c9916cdSFrançois Tigeot struct drm_property *property, uint64_t *val); 422c9916cdSFrançois Tigeot int drm_mode_atomic_ioctl(struct drm_device *dev, 432c9916cdSFrançois Tigeot void *data, struct drm_file *file_priv); 442c9916cdSFrançois Tigeot 45