提交 6f43fd62 编写于 作者: A Alex Deucher

drm/amd/display: fix nullptr on vega initialization

Signed-off-by: NJordan Lazare <Jordan.Lazare@amd.com>
Reviewed-by: NTony Cheng <Tony.Cheng@amd.com>
Reviewed-by: NRoman Li <Roman.Li@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 9faa4237
......@@ -1427,6 +1427,7 @@ static int dm_early_init(void *handle)
adev->mode_info.num_crtc = 6;
adev->mode_info.num_hpd = 6;
adev->mode_info.num_dig = 6;
adev->mode_info.plane_type = dm_surfaces_type_default;
break;
default:
DRM_ERROR("Usupported ASIC type: 0x%X\n", adev->asic_type);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册