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