diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2017-03-02 16:43:33 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-03-29 23:54:28 -0400 |
commit | f6c3947893fd1ff8a4d95cb8ccd43ce20a6d5448 (patch) | |
tree | 92465d85f35dbf9b85ad3f679206eb3f66ac9b07 /drivers/gpu/drm/amd/include/asic_reg/vega10/VCE/vce_4_0_default.h | |
parent | 7008d577d6c90a3a6a8cd0d6fb41d469326d9077 (diff) | |
download | linux-f6c3947893fd1ff8a4d95cb8ccd43ce20a6d5448.tar.gz linux-f6c3947893fd1ff8a4d95cb8ccd43ce20a6d5448.tar.bz2 linux-f6c3947893fd1ff8a4d95cb8ccd43ce20a6d5448.zip |
drm/amdgpu: add the VCE 4.0 register headers
These are the Video Compression Engine registers for vega10.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/include/asic_reg/vega10/VCE/vce_4_0_default.h')
-rw-r--r-- | drivers/gpu/drm/amd/include/asic_reg/vega10/VCE/vce_4_0_default.h | 122 |
1 files changed, 122 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/include/asic_reg/vega10/VCE/vce_4_0_default.h b/drivers/gpu/drm/amd/include/asic_reg/vega10/VCE/vce_4_0_default.h new file mode 100644 index 000000000000..c2a46c7c448c --- /dev/null +++ b/drivers/gpu/drm/amd/include/asic_reg/vega10/VCE/vce_4_0_default.h @@ -0,0 +1,122 @@ +/* + * Copyright (C) 2017 Advanced Micro Devices, Inc. + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included + * in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ +#ifndef _vce_4_0_DEFAULT_HEADER +#define _vce_4_0_DEFAULT_HEADER + + +// addressBlock: vce0_vce_dec +#define mmVCE_STATUS_DEFAULT 0x00000000 +#define mmVCE_VCPU_CNTL_DEFAULT 0x00200000 +#define mmVCE_VCPU_CACHE_OFFSET0_DEFAULT 0x00000000 +#define mmVCE_VCPU_CACHE_SIZE0_DEFAULT 0x00000000 +#define mmVCE_VCPU_CACHE_OFFSET1_DEFAULT 0x00000000 +#define mmVCE_VCPU_CACHE_SIZE1_DEFAULT 0x00000000 +#define mmVCE_VCPU_CACHE_OFFSET2_DEFAULT 0x00000000 +#define mmVCE_VCPU_CACHE_SIZE2_DEFAULT 0x00000000 +#define mmVCE_VCPU_CACHE_OFFSET3_DEFAULT 0x00000000 +#define mmVCE_VCPU_CACHE_SIZE3_DEFAULT 0x00000000 +#define mmVCE_VCPU_CACHE_OFFSET4_DEFAULT 0x00000000 +#define mmVCE_VCPU_CACHE_SIZE4_DEFAULT 0x00000000 +#define mmVCE_VCPU_CACHE_OFFSET5_DEFAULT 0x00000000 +#define mmVCE_VCPU_CACHE_SIZE5_DEFAULT 0x00000000 +#define mmVCE_VCPU_CACHE_OFFSET6_DEFAULT 0x00000000 +#define mmVCE_VCPU_CACHE_SIZE6_DEFAULT 0x00000000 +#define mmVCE_VCPU_CACHE_OFFSET7_DEFAULT 0x00000000 +#define mmVCE_VCPU_CACHE_SIZE7_DEFAULT 0x00000000 +#define mmVCE_VCPU_CACHE_OFFSET8_DEFAULT 0x00000000 +#define mmVCE_VCPU_CACHE_SIZE8_DEFAULT 0x00000000 +#define mmVCE_SOFT_RESET_DEFAULT 0x00000001 +#define mmVCE_RB_BASE_LO2_DEFAULT 0x00000000 +#define mmVCE_RB_BASE_HI2_DEFAULT 0x00000000 +#define mmVCE_RB_SIZE2_DEFAULT 0x00000000 +#define mmVCE_RB_RPTR2_DEFAULT 0x00000000 +#define mmVCE_RB_WPTR2_DEFAULT 0x00000000 +#define mmVCE_RB_BASE_LO_DEFAULT 0x00000000 +#define mmVCE_RB_BASE_HI_DEFAULT 0x00000000 +#define mmVCE_RB_SIZE_DEFAULT 0x00000000 +#define mmVCE_RB_RPTR_DEFAULT 0x00000000 +#define mmVCE_RB_WPTR_DEFAULT 0x00000000 +#define mmVCE_RB_ARB_CTRL_DEFAULT 0x00010000 +#define mmVCE_CLOCK_GATING_A_DEFAULT 0x00000040 +#define mmVCE_CLOCK_GATING_B_DEFAULT 0x01ef0100 +#define mmVCE_RB_BASE_LO3_DEFAULT 0x00000000 +#define mmVCE_RB_BASE_HI3_DEFAULT 0x00000000 +#define mmVCE_RB_SIZE3_DEFAULT 0x00000000 +#define mmVCE_RB_RPTR3_DEFAULT 0x00000000 +#define mmVCE_RB_WPTR3_DEFAULT 0x00000000 +#define mmVCE_SYS_INT_EN_DEFAULT 0x00000000 +#define mmVCE_SYS_INT_ACK_DEFAULT 0x00000000 +#define mmVCE_SYS_INT_STATUS_DEFAULT 0x00000000 + + +// addressBlock: vce0_ctl_dec +#define mmVCE_UENC_CLOCK_GATING_DEFAULT 0xffc00040 +#define mmVCE_UENC_REG_CLOCK_GATING_DEFAULT 0x000007ff +#define mmVCE_UENC_CLOCK_GATING_2_DEFAULT 0x00010000 + + +// addressBlock: vce0_vce_sclk_dec +#define mmVCE_LMI_VCPU_CACHE_40BIT_BAR_DEFAULT 0x00000000 +#define mmVCE_LMI_CTRL2_DEFAULT 0x00000000 +#define mmVCE_LMI_SWAP_CNTL3_DEFAULT 0x00000000 +#define mmVCE_LMI_CTRL_DEFAULT 0x00104000 +#define mmVCE_LMI_STATUS_DEFAULT 0x00003f7f +#define mmVCE_LMI_VM_CTRL_DEFAULT 0x00000000 +#define mmVCE_LMI_SWAP_CNTL_DEFAULT 0x00000000 +#define mmVCE_LMI_SWAP_CNTL1_DEFAULT 0x00000000 +#define mmVCE_LMI_SWAP_CNTL2_DEFAULT 0x00000000 +#define mmVCE_LMI_CACHE_CTRL_DEFAULT 0x00000000 +#define mmVCE_LMI_VCPU_CACHE_64BIT_BAR0_DEFAULT 0x00000000 +#define mmVCE_LMI_VCPU_CACHE_64BIT_BAR1_DEFAULT 0x00000000 +#define mmVCE_LMI_VCPU_CACHE_64BIT_BAR2_DEFAULT 0x00000000 +#define mmVCE_LMI_VCPU_CACHE_64BIT_BAR3_DEFAULT 0x00000000 +#define mmVCE_LMI_VCPU_CACHE_64BIT_BAR4_DEFAULT 0x00000000 +#define mmVCE_LMI_VCPU_CACHE_64BIT_BAR5_DEFAULT 0x00000000 +#define mmVCE_LMI_VCPU_CACHE_64BIT_BAR6_DEFAULT 0x00000000 +#define mmVCE_LMI_VCPU_CACHE_64BIT_BAR7_DEFAULT 0x00000000 +#define mmVCE_LMI_VCPU_CACHE_40BIT_BAR0_DEFAULT 0x00000000 +#define mmVCE_LMI_VCPU_CACHE_40BIT_BAR1_DEFAULT 0x00000000 +#define mmVCE_LMI_VCPU_CACHE_40BIT_BAR2_DEFAULT 0x00000000 +#define mmVCE_LMI_VCPU_CACHE_40BIT_BAR3_DEFAULT 0x00000000 +#define mmVCE_LMI_VCPU_CACHE_40BIT_BAR4_DEFAULT 0x00000000 +#define mmVCE_LMI_VCPU_CACHE_40BIT_BAR5_DEFAULT 0x00000000 +#define mmVCE_LMI_VCPU_CACHE_40BIT_BAR6_DEFAULT 0x00000000 +#define mmVCE_LMI_VCPU_CACHE_40BIT_BAR7_DEFAULT 0x00000000 + + +// addressBlock: vce0_mmsch_dec +#define mmVCE_MMSCH_VF_VMID_DEFAULT 0x00000000 +#define mmVCE_MMSCH_VF_CTX_ADDR_LO_DEFAULT 0x00000000 +#define mmVCE_MMSCH_VF_CTX_ADDR_HI_DEFAULT 0x00000000 +#define mmVCE_MMSCH_VF_CTX_SIZE_DEFAULT 0x00000000 +#define mmVCE_MMSCH_VF_GPCOM_ADDR_LO_DEFAULT 0x00000000 +#define mmVCE_MMSCH_VF_GPCOM_ADDR_HI_DEFAULT 0x00000000 +#define mmVCE_MMSCH_VF_GPCOM_SIZE_DEFAULT 0x00000000 +#define mmVCE_MMSCH_VF_MAILBOX_HOST_DEFAULT 0x00000000 +#define mmVCE_MMSCH_VF_MAILBOX_RESP_DEFAULT 0x00000000 + + +// addressBlock: vce0_vce_rb_pg_dec +#define mmVCE_HW_VERSION_DEFAULT 0x00000000 + + + +#endif |