提交 cf064b45 编写于 作者: J Jack Xiao 提交者: Alex Deucher

drm/amdgpu/mes: add mes kiq callback

Needed to properly initialize mes kiq.
Signed-off-by: NJack Xiao <Jack.Xiao@amd.com>
Reviewed-by: NHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 c1248e11
......@@ -110,6 +110,9 @@ struct amdgpu_mes {
uint64_t query_status_fence_gpu_addr;
uint64_t *query_status_fence_ptr;
/* initialize kiq pipe */
int (*kiq_hw_init)(struct amdgpu_device *adev);
/* ip specific functions */
const struct amdgpu_mes_funcs *funcs;
};
......@@ -205,4 +208,6 @@ struct amdgpu_mes_funcs {
struct mes_resume_gang_input *input);
};
#define amdgpu_mes_kiq_hw_init(adev) (adev)->mes.kiq_hw_init((adev))
#endif /* __AMDGPU_MES_H__ */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册