drm/amdgpu: switch hdp callback functions for hdp v4
authorLikun Gao <Likun.Gao@amd.com>
Mon, 28 Dec 2020 08:54:16 +0000 (16:54 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Jan 2021 16:33:01 +0000 (11:33 -0500)
commit455d40c92713e9478ea9da057bf07719787c1c03
tree5b45c355b4459e5de597f80c8068f2adfc8e8f01
parentf06d5e4285f028ffaba841d4f2e8bf0c8556489d
drm/amdgpu: switch hdp callback functions for hdp v4

Switch to use the HDP functions which unified on hdp structure instead of
the scattered hdp callback functions.
V2: clean up hdp reset ras error count function.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/Makefile
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
drivers/gpu/drm/amd/amdgpu/soc15.c