/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | uvd_v3_1.c | 331 WREG32_P(mmUVD_STATUS, 1<<2, ~(1<<2)); in uvd_v3_1_start() 385 status = RREG32(mmUVD_STATUS); in uvd_v3_1_start() 411 WREG32_P(mmUVD_STATUS, 0, ~(1<<2)); in uvd_v3_1_start() 456 status = RREG32(mmUVD_STATUS); in uvd_v3_1_stop() 499 WREG32(mmUVD_STATUS, 0); in uvd_v3_1_stop() 703 if (RREG32(mmUVD_STATUS) != 0) in uvd_v3_1_hw_fini()
|
D | uvd_v4_2.c | 217 if (RREG32(mmUVD_STATUS) != 0) in uvd_v4_2_hw_fini() 289 WREG32_P(mmUVD_STATUS, 1<<2, ~(1<<2)); in uvd_v4_2_start() 343 status = RREG32(mmUVD_STATUS); in uvd_v4_2_start() 369 WREG32_P(mmUVD_STATUS, 0, ~(1<<2)); in uvd_v4_2_start() 414 status = RREG32(mmUVD_STATUS); in uvd_v4_2_stop() 457 WREG32(mmUVD_STATUS, 0); in uvd_v4_2_stop()
|
D | uvd_v5_0.c | 215 if (RREG32(mmUVD_STATUS) != 0) in uvd_v5_0_hw_fini() 387 status = RREG32(mmUVD_STATUS); in uvd_v5_0_start() 413 WREG32_P(mmUVD_STATUS, 0, ~(2 << 1)); in uvd_v5_0_start() 475 WREG32(mmUVD_STATUS, 0); in uvd_v5_0_stop()
|
D | vcn_v1_0.c | 239 RREG32_SOC15(VCN, 0, mmUVD_STATUS))) { in vcn_v1_0_hw_fini() 798 tmp = RREG32_SOC15(UVD, 0, mmUVD_STATUS) | UVD_STATUS__UVD_BUSY; in vcn_v1_0_start_spg_mode() 799 WREG32_SOC15(UVD, 0, mmUVD_STATUS, tmp); in vcn_v1_0_start_spg_mode() 870 status = RREG32_SOC15(UVD, 0, mmUVD_STATUS); in vcn_v1_0_start_spg_mode() 904 tmp = RREG32_SOC15(UVD, 0, mmUVD_STATUS) & ~UVD_STATUS__UVD_BUSY; in vcn_v1_0_start_spg_mode() 905 WREG32_SOC15(UVD, 0, mmUVD_STATUS, tmp); in vcn_v1_0_start_spg_mode() 1121 SOC15_WAIT_ON_RREG(UVD, 0, mmUVD_STATUS, UVD_STATUS__IDLE, 0x7); in vcn_v1_0_stop_spg_mode() 1156 WREG32_SOC15(UVD, 0, mmUVD_STATUS, 0); in vcn_v1_0_stop_spg_mode() 1340 return (RREG32_SOC15(VCN, 0, mmUVD_STATUS) == UVD_STATUS__IDLE); in vcn_v1_0_is_idle() 1348 ret = SOC15_WAIT_ON_RREG(VCN, 0, mmUVD_STATUS, UVD_STATUS__IDLE, in vcn_v1_0_wait_for_idle()
|
D | vcn_v2_0.c | 273 RREG32_SOC15(VCN, 0, mmUVD_STATUS))) in vcn_v2_0_hw_fini() 946 tmp = RREG32_SOC15(UVD, 0, mmUVD_STATUS) | UVD_STATUS__UVD_BUSY; in vcn_v2_0_start() 947 WREG32_SOC15(UVD, 0, mmUVD_STATUS, tmp); in vcn_v2_0_start() 1021 status = RREG32_SOC15(UVD, 0, mmUVD_STATUS); in vcn_v2_0_start() 1052 WREG32_P(SOC15_REG_OFFSET(UVD, 0, mmUVD_STATUS), 0, in vcn_v2_0_start() 1145 r = SOC15_WAIT_ON_RREG(VCN, 0, mmUVD_STATUS, UVD_STATUS__IDLE, 0x7); in vcn_v2_0_stop() 1188 WREG32_SOC15(VCN, 0, mmUVD_STATUS, 0); in vcn_v2_0_stop() 1281 return (RREG32_SOC15(VCN, 0, mmUVD_STATUS) == UVD_STATUS__IDLE); in vcn_v2_0_is_idle() 1289 ret = SOC15_WAIT_ON_RREG(VCN, 0, mmUVD_STATUS, UVD_STATUS__IDLE, in vcn_v2_0_wait_for_idle() 1883 SOC15_REG_OFFSET(UVD, i, mmUVD_STATUS), in vcn_v2_0_start_sriov()
|
D | vcn_v2_5.c | 339 RREG32_SOC15(VCN, i, mmUVD_STATUS))) in vcn_v2_5_hw_fini() 939 tmp = RREG32_SOC15(VCN, i, mmUVD_STATUS) | UVD_STATUS__UVD_BUSY; in vcn_v2_5_start() 940 WREG32_SOC15(VCN, i, mmUVD_STATUS, tmp); in vcn_v2_5_start() 1023 status = RREG32_SOC15(VCN, i, mmUVD_STATUS); in vcn_v2_5_start() 1058 WREG32_P(SOC15_REG_OFFSET(VCN, i, mmUVD_STATUS), 0, in vcn_v2_5_start() 1193 SOC15_REG_OFFSET(VCN, i, mmUVD_STATUS), in vcn_v2_5_sriov_start() 1348 r = SOC15_WAIT_ON_RREG(VCN, i, mmUVD_STATUS, UVD_STATUS__IDLE, 0x7); in vcn_v2_5_stop() 1386 WREG32_SOC15(VCN, i, mmUVD_STATUS, 0); in vcn_v2_5_stop() 1760 ret &= (RREG32_SOC15(VCN, i, mmUVD_STATUS) == UVD_STATUS__IDLE); in vcn_v2_5_is_idle() 1774 ret = SOC15_WAIT_ON_RREG(VCN, i, mmUVD_STATUS, UVD_STATUS__IDLE, in vcn_v2_5_wait_for_idle()
|
D | vcn_v3_0.c | 386 RREG32_SOC15(VCN, i, mmUVD_STATUS))) { in vcn_v3_0_hw_fini() 1116 tmp = RREG32_SOC15(VCN, i, mmUVD_STATUS) | UVD_STATUS__UVD_BUSY; in vcn_v3_0_start() 1117 WREG32_SOC15(VCN, i, mmUVD_STATUS, tmp); in vcn_v3_0_start() 1191 status = RREG32_SOC15(VCN, i, mmUVD_STATUS); in vcn_v3_0_start() 1223 WREG32_P(SOC15_REG_OFFSET(VCN, i, mmUVD_STATUS), 0, in vcn_v3_0_start() 1328 mmUVD_STATUS), in vcn_v3_0_start_sriov() 1536 r = SOC15_WAIT_ON_RREG(VCN, i, mmUVD_STATUS, UVD_STATUS__IDLE, 0x7); in vcn_v3_0_stop() 1581 WREG32_SOC15(VCN, i, mmUVD_STATUS, 0); in vcn_v3_0_stop() 2068 ret &= (RREG32_SOC15(VCN, i, mmUVD_STATUS) == UVD_STATUS__IDLE); in vcn_v3_0_is_idle() 2083 ret = SOC15_WAIT_ON_RREG(VCN, i, mmUVD_STATUS, UVD_STATUS__IDLE, in vcn_v3_0_wait_for_idle() [all …]
|
D | uvd_v6_0.c | 539 if (RREG32(mmUVD_STATUS) != 0) in uvd_v6_0_hw_fini() 802 status = RREG32(mmUVD_STATUS); in uvd_v6_0_start() 829 WREG32_P(mmUVD_STATUS, 0, ~(2 << UVD_STATUS__VCPU_REPORT__SHIFT)); in uvd_v6_0_start() 906 WREG32(mmUVD_STATUS, 0); in uvd_v6_0_stop() 1170 (RREG32(mmUVD_STATUS) & AMDGPU_UVD_STATUS_BUSY_MASK)) in uvd_v6_0_check_soft_reset()
|
D | uvd_v7_0.c | 818 MMSCH_V1_0_INSERT_DIRECT_RD_MOD_WT(SOC15_REG_OFFSET(UVD, i, mmUVD_STATUS), in uvd_v7_0_sriov_start() 908 MMSCH_V1_0_INSERT_DIRECT_RD_MOD_WT(SOC15_REG_OFFSET(UVD, i, mmUVD_STATUS), in uvd_v7_0_sriov_start() 930 MMSCH_V1_0_INSERT_DIRECT_POLL(SOC15_REG_OFFSET(UVD, i, mmUVD_STATUS), 0x02, 0x02); in uvd_v7_0_sriov_start() 1045 status = RREG32_SOC15(UVD, k, mmUVD_STATUS); in uvd_v7_0_start() 1075 WREG32_P(SOC15_REG_OFFSET(UVD, k, mmUVD_STATUS), 0, in uvd_v7_0_start() 1490 (RREG32_SOC15(UVD, ring->me, mmUVD_STATUS) &
|
/linux-6.1.9/drivers/gpu/drm/amd/include/asic_reg/uvd/ |
D | uvd_4_0_d.h | 84 #define mmUVD_STATUS 0x3DAF macro
|
D | uvd_4_2_d.h | 76 #define mmUVD_STATUS 0x3daf macro
|
D | uvd_3_1_d.h | 78 #define mmUVD_STATUS 0x3daf macro
|
D | uvd_5_0_d.h | 82 #define mmUVD_STATUS 0x3daf macro
|
D | uvd_6_0_d.h | 98 #define mmUVD_STATUS 0x3daf macro
|
D | uvd_7_0_offset.h | 208 #define mmUVD_STATUS … macro
|
/linux-6.1.9/drivers/gpu/drm/amd/include/asic_reg/vcn/ |
D | vcn_1_0_offset.h | 394 #define mmUVD_STATUS … macro
|
D | vcn_2_5_offset.h | 487 #define mmUVD_STATUS … macro
|
D | vcn_2_0_0_offset.h | 698 #define mmUVD_STATUS … macro
|
D | vcn_3_0_0_offset.h | 797 #define mmUVD_STATUS … macro
|