drm/amdgpu: fix incorrect size printing in error msg
Subsystems (2)
PATCH 1/1 drm/amdgpu: fix incorrect size printing in error msg
That are bytes not pages.
Signed-off-by Christian König <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c +1 -1
@@ -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; }
Signature · 1 line
2.25.1
Quoted 4 lines · Christian König
That are bytes not pages.
Signed-off-by Christian König <[email protected]>
Acked-by Alex Deucher <[email protected]>
Quoted 20 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/amdgpu_object.c +1
-2@@ -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