diff options
author | Monk Liu <Monk.Liu@amd.com> | 2017-04-05 00:16:44 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-04-06 13:28:05 -0400 |
commit | 94b4fd725b7d8625a66034dee683f55c66f77a1f (patch) | |
tree | 172a047d6df61e73b39d9e66f8eac5ba67ba17cb | |
parent | 377e275946340916c74c169c4cb0a39da99704ce (diff) |
drm/amdgpu:fix typo for mxgpu_ai
Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c b/drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c index cfd5e54777bb..740c0f8e4b22 100644 --- a/drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c +++ b/drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c | |||
@@ -133,7 +133,7 @@ static int xgpu_ai_poll_ack(struct amdgpu_device *adev) | |||
133 | return r; | 133 | return r; |
134 | } | 134 | } |
135 | 135 | ||
136 | static int xgpu_vi_poll_msg(struct amdgpu_device *adev, enum idh_event event) | 136 | static int xgpu_ai_poll_msg(struct amdgpu_device *adev, enum idh_event event) |
137 | { | 137 | { |
138 | int r = 0, timeout = AI_MAILBOX_TIMEDOUT; | 138 | int r = 0, timeout = AI_MAILBOX_TIMEDOUT; |
139 | 139 | ||
@@ -172,7 +172,7 @@ static int xgpu_ai_send_access_requests(struct amdgpu_device *adev, | |||
172 | if (req == IDH_REQ_GPU_INIT_ACCESS || | 172 | if (req == IDH_REQ_GPU_INIT_ACCESS || |
173 | req == IDH_REQ_GPU_FINI_ACCESS || | 173 | req == IDH_REQ_GPU_FINI_ACCESS || |
174 | req == IDH_REQ_GPU_RESET_ACCESS) { | 174 | req == IDH_REQ_GPU_RESET_ACCESS) { |
175 | r = xgpu_vi_poll_msg(adev, IDH_READY_TO_ACCESS_GPU); | 175 | r = xgpu_ai_poll_msg(adev, IDH_READY_TO_ACCESS_GPU); |
176 | if (r) | 176 | if (r) |
177 | return r; | 177 | return r; |
178 | } | 178 | } |