diff options
author | Monk Liu <Monk.Liu@amd.com> | 2020-03-03 16:40:00 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-04-01 14:44:43 -0400 |
commit | 4d130238a7600fbaa47fb07bf5ede5a2cb2c1622 (patch) | |
tree | ba066f64be9e4a4e4633751bbeef1633f222cf64 /drivers/gpu/drm/amd/amdgpu/mxgpu_vi.h | |
parent | ba56657d187ac77afa1063334fe2e28b3aebbf74 (diff) | |
download | lwn-4d130238a7600fbaa47fb07bf5ede5a2cb2c1622.tar.gz lwn-4d130238a7600fbaa47fb07bf5ede5a2cb2c1622.zip |
drm/amdgpu: cleanup idh event/req for NV headers
1) drop the headers from AI in mxgpu_nv.c, should refer to mxgpu_nv.h
2) the IDH_EVENT_MAX is not used and not aligned with host side
so drop it
3) the IDH_TEXT_MESSAG was provided in host but not defined in guest
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mxgpu_vi.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/mxgpu_vi.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/mxgpu_vi.h b/drivers/gpu/drm/amd/amdgpu/mxgpu_vi.h index f13dc6cc158f..713ee66a4d3e 100644 --- a/drivers/gpu/drm/amd/amdgpu/mxgpu_vi.h +++ b/drivers/gpu/drm/amd/amdgpu/mxgpu_vi.h @@ -43,7 +43,8 @@ enum idh_event { IDH_READY_TO_ACCESS_GPU, IDH_FLR_NOTIFICATION, IDH_FLR_NOTIFICATION_CMPL, - IDH_EVENT_MAX + + IDH_TEXT_MESSAGE = 255 }; extern const struct amdgpu_virt_ops xgpu_vi_virt_ops; |