diff options
Diffstat (limited to 'drivers/gpu')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c index dfdf4fda2390..4285f37ddf73 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | |||
| @@ -30,6 +30,7 @@ | |||
| 30 | #include "amdgpu_ucode.h" | 30 | #include "amdgpu_ucode.h" |
| 31 | #include "soc15_common.h" | 31 | #include "soc15_common.h" |
| 32 | #include "psp_v3_1.h" | 32 | #include "psp_v3_1.h" |
| 33 | #include "psp_v10_0.h" | ||
| 33 | 34 | ||
| 34 | static void psp_set_funcs(struct amdgpu_device *adev); | 35 | static void psp_set_funcs(struct amdgpu_device *adev); |
| 35 | 36 | ||
| @@ -61,6 +62,12 @@ static int psp_sw_init(void *handle) | |||
| 61 | psp->compare_sram_data = psp_v3_1_compare_sram_data; | 62 | psp->compare_sram_data = psp_v3_1_compare_sram_data; |
| 62 | psp->smu_reload_quirk = psp_v3_1_smu_reload_quirk; | 63 | psp->smu_reload_quirk = psp_v3_1_smu_reload_quirk; |
| 63 | break; | 64 | break; |
| 65 | case CHIP_RAVEN: | ||
| 66 | psp->prep_cmd_buf = psp_v10_0_prep_cmd_buf; | ||
| 67 | psp->ring_init = psp_v10_0_ring_init; | ||
| 68 | psp->cmd_submit = psp_v10_0_cmd_submit; | ||
| 69 | psp->compare_sram_data = psp_v10_0_compare_sram_data; | ||
| 70 | break; | ||
| 64 | default: | 71 | default: |
| 65 | return -EINVAL; | 72 | return -EINVAL; |
| 66 | } | 73 | } |
