drm/amdgpu: introduce new idh_request/event enum
authorMonk Liu <Monk.Liu@amd.com>
Tue, 3 Mar 2020 10:13:51 +0000 (18:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Apr 2020 18:44:43 +0000 (14:44 -0400)
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>
drivers/gpu/drm/amd/amdgpu/mxgpu_nv.h

index c80bbc7..598ed2c 100644 (file)
@@ -34,6 +34,7 @@ enum idh_request {
        IDH_REQ_GPU_FINI_ACCESS,
        IDH_REL_GPU_FINI_ACCESS,
        IDH_REQ_GPU_RESET_ACCESS,
+       IDH_REQ_GPU_INIT_DATA,
 
        IDH_LOG_VF_ERROR       = 200,
 };
@@ -46,6 +47,7 @@ enum idh_event {
        IDH_SUCCESS,
        IDH_FAIL,
        IDH_QUERY_ALIVE,
+       IDH_REQ_GPU_INIT_DATA_READY,
 
        IDH_TEXT_MESSAGE = 255,
 };