diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index f44a83ab2bf4..c8b605f3dc05 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h | |||
@@ -890,6 +890,7 @@ struct amdgpu_gfx_funcs { | |||
890 | void (*read_wave_data)(struct amdgpu_device *adev, uint32_t simd, uint32_t wave, uint32_t *dst, int *no_fields); | 890 | void (*read_wave_data)(struct amdgpu_device *adev, uint32_t simd, uint32_t wave, uint32_t *dst, int *no_fields); |
891 | void (*read_wave_vgprs)(struct amdgpu_device *adev, uint32_t simd, uint32_t wave, uint32_t thread, uint32_t start, uint32_t size, uint32_t *dst); | 891 | void (*read_wave_vgprs)(struct amdgpu_device *adev, uint32_t simd, uint32_t wave, uint32_t thread, uint32_t start, uint32_t size, uint32_t *dst); |
892 | void (*read_wave_sgprs)(struct amdgpu_device *adev, uint32_t simd, uint32_t wave, uint32_t start, uint32_t size, uint32_t *dst); | 892 | void (*read_wave_sgprs)(struct amdgpu_device *adev, uint32_t simd, uint32_t wave, uint32_t start, uint32_t size, uint32_t *dst); |
893 | void (*select_me_pipe_q)(struct amdgpu_device *adev, u32 me, u32 pipe, u32 queue); | ||
893 | }; | 894 | }; |
894 | 895 | ||
895 | struct amdgpu_ngg_buf { | 896 | struct amdgpu_ngg_buf { |
@@ -1378,6 +1379,7 @@ enum amd_hw_ip_block_type { | |||
1378 | ATHUB_HWIP, | 1379 | ATHUB_HWIP, |
1379 | NBIO_HWIP, | 1380 | NBIO_HWIP, |
1380 | MP0_HWIP, | 1381 | MP0_HWIP, |
1382 | MP1_HWIP, | ||
1381 | UVD_HWIP, | 1383 | UVD_HWIP, |
1382 | VCN_HWIP = UVD_HWIP, | 1384 | VCN_HWIP = UVD_HWIP, |
1383 | VCE_HWIP, | 1385 | VCE_HWIP, |
@@ -1387,6 +1389,7 @@ enum amd_hw_ip_block_type { | |||
1387 | SMUIO_HWIP, | 1389 | SMUIO_HWIP, |
1388 | PWR_HWIP, | 1390 | PWR_HWIP, |
1389 | NBIF_HWIP, | 1391 | NBIF_HWIP, |
1392 | THM_HWIP, | ||
1390 | MAX_HWIP | 1393 | MAX_HWIP |
1391 | }; | 1394 | }; |
1392 | 1395 | ||
@@ -1812,6 +1815,7 @@ amdgpu_get_sdma_instance(struct amdgpu_ring *ring) | |||
1812 | #define amdgpu_gfx_select_se_sh(adev, se, sh, instance) (adev)->gfx.funcs->select_se_sh((adev), (se), (sh), (instance)) | 1815 | #define amdgpu_gfx_select_se_sh(adev, se, sh, instance) (adev)->gfx.funcs->select_se_sh((adev), (se), (sh), (instance)) |
1813 | #define amdgpu_gds_switch(adev, r, v, d, w, a) (adev)->gds.funcs->patch_gds_switch((r), (v), (d), (w), (a)) | 1816 | #define amdgpu_gds_switch(adev, r, v, d, w, a) (adev)->gds.funcs->patch_gds_switch((r), (v), (d), (w), (a)) |
1814 | #define amdgpu_psp_check_fw_loading_status(adev, i) (adev)->firmware.funcs->check_fw_loading_status((adev), (i)) | 1817 | #define amdgpu_psp_check_fw_loading_status(adev, i) (adev)->firmware.funcs->check_fw_loading_status((adev), (i)) |
1818 | #define amdgpu_gfx_select_me_pipe_q(adev, me, pipe, q) (adev)->gfx.funcs->select_me_pipe_q((adev), (me), (pipe), (q)) | ||
1815 | 1819 | ||
1816 | /* Common functions */ | 1820 | /* Common functions */ |
1817 | int amdgpu_device_gpu_recover(struct amdgpu_device *adev, | 1821 | int amdgpu_device_gpu_recover(struct amdgpu_device *adev, |