drm/amdgpu: introduce new idh_request/event enum

new idh_request and ihd_event to prepare for the
new handshake protocol implementation later

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Emily Deng <Emily.Deng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Monk Liu 2020-03-03 18:13:51 +08:00 committed by Alex Deucher
parent 4d130238a7
commit c27cbdd2d0
1 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,7 @@ enum idh_request {
IDH_REQ_GPU_FINI_ACCESS, IDH_REQ_GPU_FINI_ACCESS,
IDH_REL_GPU_FINI_ACCESS, IDH_REL_GPU_FINI_ACCESS,
IDH_REQ_GPU_RESET_ACCESS, IDH_REQ_GPU_RESET_ACCESS,
IDH_REQ_GPU_INIT_DATA,
IDH_LOG_VF_ERROR = 200, IDH_LOG_VF_ERROR = 200,
}; };
@ -46,6 +47,7 @@ enum idh_event {
IDH_SUCCESS, IDH_SUCCESS,
IDH_FAIL, IDH_FAIL,
IDH_QUERY_ALIVE, IDH_QUERY_ALIVE,
IDH_REQ_GPU_INIT_DATA_READY,
IDH_TEXT_MESSAGE = 255, IDH_TEXT_MESSAGE = 255,
}; };