drm/amdgpu: use linux size macro to simplify ONE_Kib & One_Mib
authorKevin Wang <kevin1.wang@amd.com>
Thu, 2 Jan 2020 05:59:17 +0000 (13:59 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Jan 2020 16:58:44 +0000 (11:58 -0500)
commit4dee6e4ca50a6c8490b408906bb403dd6aebd721
tree7be0d9c11337226d8010c83f276ad12a77ffda9e
parentbd68fb94b3d4601b45a7e4558b9de0eebdb85ec1
drm/amdgpu: use linux size macro to simplify ONE_Kib & One_Mib

replace internal size macro with linux size macro

Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Tianci Yin <tianci.yin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h