OSDN Git Service

drm/amdgpu: implement UMC 64 bits REG operations
authorTao Zhou <tao.zhou1@amd.com>
Fri, 9 Aug 2019 07:57:50 +0000 (15:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Aug 2019 16:17:10 +0000 (11:17 -0500)
commitdd21a572c9068e9a59b46dea67e8a65a44aee90b
treeecc621a5c087c510fe50b4aade94866c24647aad
parentc6dddf45402caeadc49dc859fa497cfb98841af4
drm/amdgpu: implement UMC 64 bits REG operations

implement 64 bits operations via 32 bits interface

v2: make use of lower_32_bits() and upper_32_bits() macros

Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h
drivers/gpu/drm/amd/amdgpu/umc_v6_1.c