OSDN Git Service

drm/amdgpu/discovery: use hardcoded mmRCC_CONFIG_MEMSIZE
authorXiaojie Yuan <xiaojie.yuan@amd.com>
Wed, 27 Mar 2019 04:29:49 +0000 (12:29 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:58:21 +0000 (18:58 -0500)
commit85f267a7078f4e0da8513ff1fd3e8a9bc082e44d
tree90f484674405111c72fef5b118a8c74d502e96fc
parent70cbfe3d64b84e9f4c47c186942cd70d6495b465
drm/amdgpu/discovery: use hardcoded mmRCC_CONFIG_MEMSIZE

register base offset of nbio is not known before IP Discovery table is
parsed, so hardcode this value.

Signed-off-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c