drm/amdgpu: cleanup idh event/req for NV headers
authorMonk Liu <Monk.Liu@amd.com>
Tue, 3 Mar 2020 08:40:00 +0000 (16:40 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Apr 2020 18:44:43 +0000 (14:44 -0400)
commit4d130238a7600fbaa47fb07bf5ede5a2cb2c1622
treeba066f64be9e4a4e4633751bbeef1633f222cf64
parentba56657d187ac77afa1063334fe2e28b3aebbf74
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>
drivers/gpu/drm/amd/amdgpu/mxgpu_ai.h
drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c
drivers/gpu/drm/amd/amdgpu/mxgpu_nv.h
drivers/gpu/drm/amd/amdgpu/mxgpu_vi.h