]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Dynamic initialize IP base offset
authorShaoyun Liu <Shaoyun.Liu@amd.com>
Mon, 27 Nov 2017 18:16:35 +0000 (13:16 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 8 Dec 2017 16:16:51 +0000 (11:16 -0500)
commit42f6d89ac873220e86fe6c54d0a9b16b3cf8ef55
tree90860aea820418ab4617d218cbe56676530c6a2d
parentbe34706b7e4ec040db58354cb14bcf3529ce19e4
drm/amdgpu: Dynamic initialize IP base offset

The base offsets of the IP blocks may change across
asics even though the relative register offsets
are the same for an IP.  Handle this dynamically.

Acked-by: Christian Konig <christian.koenig@amd.com>
Signed-off-by: Shaoyun Liu <Shaoyun.Liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/Makefile
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/soc15.c
drivers/gpu/drm/amd/amdgpu/soc15.h
drivers/gpu/drm/amd/amdgpu/vega10_reg_init.c [new file with mode: 0644]