]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add mmhub v3_0_2 ip callback functions
authorHawking Zhang <Hawking.Zhang@amd.com>
Wed, 6 Apr 2022 10:28:53 +0000 (18:28 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 May 2022 20:51:48 +0000 (16:51 -0400)
commit05a90a793d7ffb39959372ec8a6893db4c43e001
tree47c06f33257a141e1c9b03aff2ed0a3d16af79a5
parent5fa942efd8aa443cac66a9ff2ea43ef241f971df
drm/amdgpu: add mmhub v3_0_2 ip callback functions

Unlike mmhub v3_0_0, there is no atc_l2 related
registers available in mmhub v3_0_2. Split the mmhub
v3_0_2 callback implementations from mmhub v3_0 so we
don't need to add ip version check when atc related
programming needs to be added to mmhub v3_0_0.

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