1dfc03588SAlex Hung /* SPDX-License-Identifier: MIT */ 2dfc03588SAlex Hung /* 3dfc03588SAlex Hung * Copyright 2022 Advanced Micro Devices, Inc. 4dfc03588SAlex Hung * 5dfc03588SAlex Hung * Permission is hereby granted, free of charge, to any person obtaining a 6dfc03588SAlex Hung * copy of this software and associated documentation files (the "Software"), 7dfc03588SAlex Hung * to deal in the Software without restriction, including without limitation 8dfc03588SAlex Hung * the rights to use, copy, modify, merge, publish, distribute, sublicense, 9dfc03588SAlex Hung * and/or sell copies of the Software, and to permit persons to whom the 10dfc03588SAlex Hung * Software is furnished to do so, subject to the following conditions: 11dfc03588SAlex Hung * 12dfc03588SAlex Hung * The above copyright notice and this permission notice shall be included in 13dfc03588SAlex Hung * all copies or substantial portions of the Software. 14dfc03588SAlex Hung * 15dfc03588SAlex Hung * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16dfc03588SAlex Hung * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17dfc03588SAlex Hung * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 18dfc03588SAlex Hung * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 19dfc03588SAlex Hung * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 20dfc03588SAlex Hung * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 21dfc03588SAlex Hung * OTHER DEALINGS IN THE SOFTWARE. 22dfc03588SAlex Hung * 23dfc03588SAlex Hung * Authors: AMD 24dfc03588SAlex Hung * 25dfc03588SAlex Hung */ 26dfc03588SAlex Hung 27dfc03588SAlex Hung #ifndef __AMDGPU_DM_WB_H__ 28dfc03588SAlex Hung #define __AMDGPU_DM_WB_H__ 29dfc03588SAlex Hung 30dfc03588SAlex Hung #include <drm/drm_writeback.h> 31dfc03588SAlex Hung 32dfc03588SAlex Hung int amdgpu_dm_wb_connector_init(struct amdgpu_display_manager *dm, 33*ff73d4cdSHarry Wentland struct amdgpu_dm_wb_connector *dm_wbcon, 34*ff73d4cdSHarry Wentland uint32_t link_index); 35dfc03588SAlex Hung 36dfc03588SAlex Hung #endif 37