OSDN Git Service

drm/amdgpu: initialize IP offset for dimgrey_cavefish
authorTao Zhou <tao.zhou1@amd.com>
Fri, 2 Oct 2020 15:34:02 +0000 (11:34 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 12 Oct 2020 18:00:20 +0000 (14:00 -0400)
commit038d757b95f51dd59ae8852c981971cb48e8df0b
tree916330d317b3da81f52eabb1e6643deac0ee2838
parent550c58e0facd55aac5a316736b104f8428c4452e
drm/amdgpu: initialize IP offset for dimgrey_cavefish

Add ip offset definition for dimgrey_cavefish and initialize it.

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Jiansong Chen <Jiansong.Chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/Makefile
drivers/gpu/drm/amd/amdgpu/dimgrey_cavefish_reg_init.c [new file with mode: 0755]
drivers/gpu/drm/amd/amdgpu/nv.c
drivers/gpu/drm/amd/amdgpu/nv.h
drivers/gpu/drm/amd/include/dimgrey_cavefish_ip_offset.h [new file with mode: 0644]