diff options
author | Ingo Molnar <mingo@kernel.org> | 2023-01-26 11:42:56 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2023-01-26 11:46:29 +0100 |
commit | 6397859c8e9d87190f49dabbb835114ad0ea9fcb (patch) | |
tree | 1d6bf48d035182fce3c6329e5e69d756f9bcb2ad /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 4282494a20cdcaf38d553f2c2ff6f252084f979c (diff) | |
parent | 2241ab53cbb5cdb08a6b2d4688feb13971058f65 (diff) |
Merge tag 'v6.2-rc5' into locking/core, to pick up fixes
Refresh this branch with the latest locking fixes, before
applying a new series of changes.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c index 4e684c2afc70..25a68d8888e0 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c @@ -470,8 +470,9 @@ static bool amdgpu_bo_validate_size(struct amdgpu_device *adev, return true; fail: - DRM_DEBUG("BO size %lu > total memory in domain: %llu\n", size, - man->size); + if (man) + DRM_DEBUG("BO size %lu > total memory in domain: %llu\n", size, + man->size); return false; } |