diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/soc15.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/soc15.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c index 385de8617075..6b55d451ae7f 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc15.c +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/module.h> | 25 | #include <linux/module.h> |
26 | #include "drmP.h" | 26 | #include "drmP.h" |
27 | #include "amdgpu.h" | 27 | #include "amdgpu.h" |
28 | #include "amdgpu_atombios.h" | 28 | #include "amdgpu_atomfirmware.h" |
29 | #include "amdgpu_ih.h" | 29 | #include "amdgpu_ih.h" |
30 | #include "amdgpu_uvd.h" | 30 | #include "amdgpu_uvd.h" |
31 | #include "amdgpu_vce.h" | 31 | #include "amdgpu_vce.h" |
@@ -405,11 +405,11 @@ static void soc15_gpu_pci_config_reset(struct amdgpu_device *adev) | |||
405 | 405 | ||
406 | static int soc15_asic_reset(struct amdgpu_device *adev) | 406 | static int soc15_asic_reset(struct amdgpu_device *adev) |
407 | { | 407 | { |
408 | amdgpu_atombios_scratch_regs_engine_hung(adev, true); | 408 | amdgpu_atomfirmware_scratch_regs_engine_hung(adev, true); |
409 | 409 | ||
410 | soc15_gpu_pci_config_reset(adev); | 410 | soc15_gpu_pci_config_reset(adev); |
411 | 411 | ||
412 | amdgpu_atombios_scratch_regs_engine_hung(adev, false); | 412 | amdgpu_atomfirmware_scratch_regs_engine_hung(adev, false); |
413 | 413 | ||
414 | return 0; | 414 | return 0; |
415 | } | 415 | } |
@@ -505,8 +505,7 @@ int soc15_set_ip_blocks(struct amdgpu_device *adev) | |||
505 | amdgpu_ip_block_add(adev, &dce_virtual_ip_block); | 505 | amdgpu_ip_block_add(adev, &dce_virtual_ip_block); |
506 | amdgpu_ip_block_add(adev, &gfx_v9_0_ip_block); | 506 | amdgpu_ip_block_add(adev, &gfx_v9_0_ip_block); |
507 | amdgpu_ip_block_add(adev, &sdma_v4_0_ip_block); | 507 | amdgpu_ip_block_add(adev, &sdma_v4_0_ip_block); |
508 | if (!amdgpu_sriov_vf(adev)) | 508 | amdgpu_ip_block_add(adev, &uvd_v7_0_ip_block); |
509 | amdgpu_ip_block_add(adev, &uvd_v7_0_ip_block); | ||
510 | amdgpu_ip_block_add(adev, &vce_v4_0_ip_block); | 509 | amdgpu_ip_block_add(adev, &vce_v4_0_ip_block); |
511 | break; | 510 | break; |
512 | default: | 511 | default: |