drm/amdgpu: check base size instead of mem.num_pages
authorChristian König <christian.koenig@amd.com>
Thu, 11 Feb 2021 16:34:08 +0000 (17:34 +0100)
committerChristian König <christian.koenig@amd.com>
Mon, 19 Apr 2021 13:05:23 +0000 (15:05 +0200)
commitce4528daf5c53b50cd22185ef8e396ccc948fe09
treec0c46eacc849cd1d562ead2f855cff46bf53a458
parentaeaf45c5fdb9f1b0e8012eba6573fb47cc5a063b
drm/amdgpu: check base size instead of mem.num_pages

Drop some ussage of mem in the code.

Signed-off-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210413135248.1266-2-christian.koenig@amd.com
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c