xref: /openbmc/linux/drivers/gpu/drm/amd/amdgpu/vcn_v4_0.h (revision 377d0221)
18da1170aSLeo Liu /*
28da1170aSLeo Liu  * Copyright 2021 Advanced Micro Devices, Inc.
38da1170aSLeo Liu  *
48da1170aSLeo Liu  * Permission is hereby granted, free of charge, to any person obtaining a
58da1170aSLeo Liu  * copy of this software and associated documentation files (the "Software"),
68da1170aSLeo Liu  * to deal in the Software without restriction, including without limitation
78da1170aSLeo Liu  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
88da1170aSLeo Liu  * and/or sell copies of the Software, and to permit persons to whom the
98da1170aSLeo Liu  * Software is furnished to do so, subject to the following conditions:
108da1170aSLeo Liu  *
118da1170aSLeo Liu  * The above copyright notice and this permission notice shall be included in
128da1170aSLeo Liu  * all copies or substantial portions of the Software.
138da1170aSLeo Liu  *
148da1170aSLeo Liu  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
158da1170aSLeo Liu  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
168da1170aSLeo Liu  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
178da1170aSLeo Liu  * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
188da1170aSLeo Liu  * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
198da1170aSLeo Liu  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
208da1170aSLeo Liu  * OTHER DEALINGS IN THE SOFTWARE.
218da1170aSLeo Liu  *
228da1170aSLeo Liu  */
238da1170aSLeo Liu 
248da1170aSLeo Liu #ifndef __VCN_V4_0_H__
258da1170aSLeo Liu #define __VCN_V4_0_H__
268da1170aSLeo Liu 
27*377d0221STao Zhou enum amdgpu_vcn_v4_0_sub_block {
28*377d0221STao Zhou 	AMDGPU_VCN_V4_0_VCPU_VCODEC = 0,
29*377d0221STao Zhou 
30*377d0221STao Zhou 	AMDGPU_VCN_V4_0_MAX_SUB_BLOCK,
31*377d0221STao Zhou };
32*377d0221STao Zhou 
338da1170aSLeo Liu extern const struct amdgpu_ip_block_version vcn_v4_0_ip_block;
348da1170aSLeo Liu 
358da1170aSLeo Liu #endif /* __VCN_V4_0_H__ */
36