drm/amdgpu: add helpers for hdp ras init/fini
authorHawking Zhang <Hawking.Zhang@amd.com>
Wed, 28 Apr 2021 13:07:41 +0000 (21:07 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 10 May 2021 22:06:43 +0000 (18:06 -0400)
commitb11625f56f09f125c2e608893bfceb84e92e52f9
tree79b1f0e11a478b8c004125c7e326ec9e32d5be2d
parent8f4a92937b27704a592b396e204c82515da4017a
drm/amdgpu: add helpers for hdp ras init/fini

hdp ras init/fini are common functions that
can be shared among hdp generations

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: John Clements <John.Clements@amd.com>
Reviewed-by: Dennis Li <Dennis.Li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/Makefile
drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.c [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.h