OSDN Git Service

drm/amdgpu: replace indirect mmio access in non-dc code path
authorHawking Zhang <Hawking.Zhang@amd.com>
Fri, 3 Apr 2020 09:30:00 +0000 (17:30 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Apr 2020 14:43:18 +0000 (10:43 -0400)
commit46e840ed1045474a3bbd1340ac3ba5bd57e46f14
tree7e7485148f7e7f60f57fc09c57e0ebc6bfe50463
parentdec0520aff8df2f1aca8ab9b29818a8002592bec
drm/amdgpu: replace indirect mmio access in non-dc code path

all the mmCUR_CONTROL instances are in mmr range and
can be accessd directly by using RREG32/WREG32

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c