drm/amdgpu: make ip map init to common function
authorLikun Gao <Likun.Gao@amd.com>
Fri, 13 Jun 2025 14:30:34 +0000 (22:30 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 24 Jun 2025 14:03:16 +0000 (10:03 -0400)
commit20905edb2461d8dac1c03f28f6ad06e957f3b45c
treec0f2010c7207c2c35d8c153650fe787fbb3d9e23
parente140281a62706b9e5a7977b04fe073309e8595d1
drm/amdgpu: make ip map init to common function

IP instance map init function can be an common function
instead of operation on different ASIC.
V2: Create amdgpu_ip.[ch] file for ip related functions.

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