![]() |
|
|||
0001 /* SPDX-License-Identifier: MIT */ 0002 /* 0003 * Copyright 2022 Advanced Micro Devices, Inc. 0004 * 0005 * Permission is hereby granted, free of charge, to any person obtaining a 0006 * copy of this software and associated documentation files (the "Software"), 0007 * to deal in the Software without restriction, including without limitation 0008 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 0009 * and/or sell copies of the Software, and to permit persons to whom the 0010 * Software is furnished to do so, subject to the following conditions: 0011 * 0012 * The above copyright notice and this permission notice shall be included in 0013 * all copies or substantial portions of the Software. 0014 * 0015 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 0016 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 0017 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 0018 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 0019 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 0020 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 0021 * OTHER DEALINGS IN THE SOFTWARE. 0022 * 0023 * Authors: AMD 0024 * 0025 */ 0026 0027 #ifndef __AMDGPU_DM_CRTC_H__ 0028 #define __AMDGPU_DM_CRTC_H__ 0029 0030 void dm_crtc_handle_vblank(struct amdgpu_crtc *acrtc); 0031 0032 bool modeset_required(struct drm_crtc_state *crtc_state, 0033 struct dc_stream_state *new_stream, 0034 struct dc_stream_state *old_stream); 0035 0036 int dm_set_vupdate_irq(struct drm_crtc *crtc, bool enable); 0037 0038 bool amdgpu_dm_vrr_active_irq(struct amdgpu_crtc *acrtc); 0039 0040 bool amdgpu_dm_vrr_active(struct dm_crtc_state *dm_state); 0041 0042 int dm_enable_vblank(struct drm_crtc *crtc); 0043 0044 void dm_disable_vblank(struct drm_crtc *crtc); 0045 0046 int amdgpu_dm_crtc_init(struct amdgpu_display_manager *dm, 0047 struct drm_plane *plane, 0048 uint32_t link_index); 0049 0050 #endif 0051
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |