drm/amdgpu: add yellow_carp_reg_base_init function for yellow carp (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 12 May 2021 21:13:25 +0000 (17:13 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Jun 2021 20:03:06 +0000 (16:03 -0400)
commitcdf9979be9769f96693a70b037f6e14115e99b68
tree58e20bbf0b667f9baa0eff9e4814696514262188
parent8bf84f60c53e80e26ce798c73d2f46d43d5c0da0
drm/amdgpu: add yellow_carp_reg_base_init function for yellow carp (v2)

This patch adds yellow_carp_reg_base_init function to init the register
base for yellow carp.

v2: squash in updates (Alex)

Signed-off-by: Aaron Liu <aaron.liu@amd.com>
Reviewed-by: Huang Rui <ray.huang@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/yellow_carp_reg_init.c [new file with mode: 0644]
drivers/gpu/drm/amd/include/yellow_carp_offset.h [new file with mode: 0644]