mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
drm/amd: Convert DRM_*() to drm_*()
The drm_*() macros include the device which is helpful for debugging issues in multi-GPU systems. Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org> Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
5fd4fef3f8
commit
e291729873
@@ -2200,7 +2200,8 @@ int amdgpu_ttm_init(struct amdgpu_device *adev)
|
||||
AMDGPU_GEM_DOMAIN_GTT,
|
||||
&adev->mman.sdma_access_bo, NULL,
|
||||
&adev->mman.sdma_access_ptr))
|
||||
DRM_WARN("Debug VRAM access will use slowpath MM access\n");
|
||||
drm_warn(adev_to_drm(adev),
|
||||
"Debug VRAM access will use slowpath MM access\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user