OSDN Git Service

drm/amdgpu: dynamic initialize ip offset for cyan_skillfish
authorTao Zhou <tao.zhou1@amd.com>
Tue, 13 Jul 2021 21:16:43 +0000 (17:16 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Jul 2021 14:08:00 +0000 (10:08 -0400)
commit708391977be557359f7e765c4474e237238febb2
treed716e1166cd6947bb9586a11e32e87f798c2aa25
parentd0f56dc25afba6e08be2d2611d5d19f97821aa64
drm/amdgpu: dynamic initialize ip offset for cyan_skillfish

Add ip offset definition for cyan_skillfish and initialize it.

v2: squash in ip_offset updates (Alex)

Signed-off-by: Tao Zhou <tao.zhou1@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/cyan_skillfish_reg_init.c [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/nv.c
drivers/gpu/drm/amd/amdgpu/nv.h
drivers/gpu/drm/amd/include/cyan_skillfish_ip_offset.h [new file with mode: 0644]