]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add macro of umc for each channel
authorTao Zhou <tao.zhou1@amd.com>
Mon, 29 Jul 2019 06:50:35 +0000 (14:50 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 2 Aug 2019 15:30:38 +0000 (10:30 -0500)
commit470abaad0f3c8369b04c496ae4d549803b484eb9
treef0f6170274509402e04db6ada7ccfbfbbb69640d
parentf7d6549c4d3ffc62d9bd0a93492b51934dbcbc7a
drm/amdgpu: add macro of umc for each channel

common function for all umc versions, loop for each umc channel is
a frequent used operation in umc block, define it as a macro to
simplify code

Signed-off-by: Tao Zhou <tao.zhou1@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_umc.h