drm/amdgpu: disable vcn ip block for front door loading on Arcturus
Subsystems (2)
PATCH 1/3 drm/amdgpu: disable vcn ip block for front door loading on Arcturus
--- drivers/gpu/drm/amd/amdgpu/soc15.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/soc15.c +2 -1
@@ -760,7 +760,8 @@ int soc15_set_ip_blocks(struct amdgpu_device *adev)amdgpu_device_ip_block_add (adev, &gfx_v9_0_ip_block);amdgpu_device_ip_block_add (adev, &sdma_v4_0_ip_block);amdgpu_device_ip_block_add (adev, &smu_v11_0_ip_block); -amdgpu_device_ip_block_add (adev, &vcn_v2_5_ip_block); +if (unlikely (adev->firmware.load_type ==AMDGPU_FW_LOAD_DIRECT )) +amdgpu_device_ip_block_add (adev, &vcn_v2_5_ip_block);break ;case CHIP_RENOIR :amdgpu_device_ip_block_add (adev, &vega10_common_ip_block);
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 1569220126-4033-1-git-send-email-le.ma-5C7GfCeVMHo@public.gmane.org
PATCH 2/3 drm/amdgpu: add psp ip block for Arcturus
--- drivers/gpu/drm/amd/amdgpu/soc15.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/amd/amdgpu/soc15.c +2 -0
@@ -755,6 +755,8 @@ int soc15_set_ip_blocks(struct amdgpu_device *adev)amdgpu_device_ip_block_add (adev, &vega10_common_ip_block);amdgpu_device_ip_block_add (adev, &gmc_v9_0_ip_block);amdgpu_device_ip_block_add (adev, &vega10_ih_ip_block); +if (likely (adev->firmware.load_type ==AMDGPU_FW_LOAD_PSP )) +amdgpu_device_ip_block_add (adev, &psp_v11_0_ip_block);if (adev->enable_virtual_display ||amdgpu_sriov_vf (adev))amdgpu_device_ip_block_add (adev, &dce_virtual_ip_block);amdgpu_device_ip_block_add (adev, &gfx_v9_0_ip_block);
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
PATCH 3/3 drm/amdgpu: enable psp front door loading by default on Arcturus
In reply to a message not in the archive--- drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c +1 -2
@@ -360,6 +360,7 @@ amdgpu_ucode_get_load_type(struct amdgpu_device *adev, int load_type)case CHIP_RAVEN :case CHIP_VEGA12 :case CHIP_VEGA20 : +case CHIP_ARCTURUS :case CHIP_RENOIR :case CHIP_NAVI10 :case CHIP_NAVI14 :
@@ -368,8 +369,6 @@ amdgpu_ucode_get_load_type(struct amdgpu_device *adev, int load_type)return AMDGPU_FW_LOAD_DIRECT ; else return AMDGPU_FW_LOAD_PSP; -case CHIP_ARCTURUS : -return AMDGPU_FW_LOAD_DIRECT ;default :DRM_ERROR ("Unknown firmware load type\n" );
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 1569220126-4033-3-git-send-email-le.ma-5C7GfCeVMHo@public.gmane.org
Zhang, Hawking
Reviewed-by Hawking ZhangRE: [PATCH 3/3] drm/amdgpu: enable psp front door loading by default on Arcturus
Patch #2 should be already in drm-next. Please drop it from the series when you push them. The series is
Regards,
Hawking
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Le Ma
Sent: 2019年9月23日 14:29
To: [email protected]
Cc: Ma, Le <[email protected]>
Subject: [PATCH 3/3] drm/amdgpu: enable psp front door loading by default on Arcturus
--- drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c +1 -2
@@ -360,6 +360,7 @@ amdgpu_ucode_get_load_type(struct amdgpu_device *adev, int load_type)case CHIP_RAVEN :case CHIP_VEGA12 :case CHIP_VEGA20 : +case CHIP_ARCTURUS :case CHIP_RENOIR :case CHIP_NAVI10 :case CHIP_NAVI14 :
@@ -368,8 +369,6 @@ amdgpu_ucode_get_load_type(struct amdgpu_device *adev, int load_type)return AMDGPU_FW_LOAD_DIRECT ; else return AMDGPU_FW_LOAD_PSP; -case CHIP_ARCTURUS : -return AMDGPU_FW_LOAD_DIRECT ;default :DRM_ERROR ("Unknown firmware load type\n" );
Signature · 10 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx