]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitff46f81f144faddfce86497ceea2fe6b2ce480d1
treec0c46eacc849cd1d562ead2f855cff46bf53a458
parent2e354c2d7e0b2530aa6a99918286b4c46606108b
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