drm/amdgpu: add vangogh_reg_base_init function for van gogh
authorHuang Rui <ray.huang@amd.com>
Thu, 27 Aug 2020 14:44:17 +0000 (10:44 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Oct 2020 19:14:02 +0000 (15:14 -0400)
commit1f9dab43c2cc19e69e368541ab8959859676e543
tree59a1757453dc22b2efb8a9e975701f41175058d1
parent4e52a9f8d5706b0be6b10912ed1397c9a90ccb8d
drm/amdgpu: add vangogh_reg_base_init function for van gogh

This patch adds vangogh_reg_base_init function to init the register base for
van gogh.

v2: make vangogh_reg_base_init void, align equality sign

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/Makefile
drivers/gpu/drm/amd/amdgpu/nv.h
drivers/gpu/drm/amd/amdgpu/vangogh_reg_init.c [new file with mode: 0644]
drivers/gpu/drm/amd/include/vangogh_ip_offset.h [new file with mode: 0644]