diff options
author | Christian König <christian.koenig@amd.com> | 2021-02-11 14:01:40 +0100 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2021-04-19 15:05:06 +0200 |
commit | aeaf45c5fdb9f1b0e8012eba6573fb47cc5a063b (patch) | |
tree | 1c447305ba9fb321e74ad56687618876fe84afc3 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 44292a0f9d755a2a0aaa3b71c4415a077a3bce81 (diff) |
drm/nouveau: use bo->base.size instead of mem->num_pages
Change a couple of cases where it makes more sense to use the base size
instead of the number of pages in the resource.
Signed-off-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210413135248.1266-1-christian.koenig@amd.com
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions