aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMonk Liu <[email protected]>2020-03-03 10:13:51 +0000
committerAlex Deucher <[email protected]>2020-04-01 18:44:43 +0000
commitc27cbdd2d073baf77deaf3e73dace7945a72dde7 (patch)
tree8ba39589f42f6c10a8f2a865eaf8750f32eeb1b8
parentdrm/amdgpu: cleanup idh event/req for NV headers (diff)
downloadkernel-c27cbdd2d073baf77deaf3e73dace7945a72dde7.tar.gz
kernel-c27cbdd2d073baf77deaf3e73dace7945a72dde7.zip
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 <[email protected]> Reviewed-by: Emily Deng <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/mxgpu_nv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/mxgpu_nv.h b/drivers/gpu/drm/amd/amdgpu/mxgpu_nv.h
index c80bbc72023f..598ed2c57155 100644
--- a/drivers/gpu/drm/amd/amdgpu/mxgpu_nv.h
+++ b/drivers/gpu/drm/amd/amdgpu/mxgpu_nv.h
@@ -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,
};