提交 20875141 编写于 作者: P Perry Yuan 提交者: Alex Deucher

drm/amd/display: change GPU match with IP version for Vangogh

Use ip versions (10,3,1) to match the GPU after Vangogh switched to use IP
discovery path.
Reviewed-by: NAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: NPerry Yuan <Perry.Yuan@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 5e0f4c04
...@@ -10263,8 +10263,8 @@ int amdgpu_dm_process_dmub_aux_transfer_sync(bool is_cmd_aux, struct dc_context ...@@ -10263,8 +10263,8 @@ int amdgpu_dm_process_dmub_aux_transfer_sync(bool is_cmd_aux, struct dc_context
*/ */
bool check_seamless_boot_capability(struct amdgpu_device *adev) bool check_seamless_boot_capability(struct amdgpu_device *adev)
{ {
switch (adev->asic_type) { switch (adev->ip_versions[DCE_HWIP][0]) {
case CHIP_VANGOGH: case IP_VERSION(3, 0, 1):
if (!adev->mman.keep_stolen_vga_memory) if (!adev->mman.keep_stolen_vga_memory)
return true; return true;
break; break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册