On Mon, Mar 28, 2022 at 10:12 AM Christian König <ckoenig.leichtzumerken@xxxxxxxxx> wrote: > > That are bytes not pages. > > Signed-off-by: Christian König <christian.koenig@xxxxxxx> Acked-by: Alex Deucher <alexander.deucher@xxxxxxx> > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c > index ea0cde4904f0..f4a148917520 100644 > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c > @@ -472,7 +472,7 @@ static bool amdgpu_bo_validate_size(struct amdgpu_device *adev, > > fail: > DRM_DEBUG("BO size %lu > total memory in domain: %llu\n", size, > - man->size << PAGE_SHIFT); > + man->size); > return false; > } > > -- > 2.25.1 >