diff options
| author | Mario Limonciello (AMD) <superm1@kernel.org> | 2025-12-14 19:12:27 -0600 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-01-05 16:59:55 -0500 |
| commit | e291729873095262697758c389c8d7affa81bdcc (patch) | |
| tree | f59fba372277276c0b51c580d5968272773aca0b /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | 5fd4fef3f8e6b5be4e1df49f32efc8b200ed07d5 (diff) | |
| download | linux-next-e291729873095262697758c389c8d7affa81bdcc.tar.gz linux-next-e291729873095262697758c389c8d7affa81bdcc.zip | |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index 01c2b803e562..c8a70bad51b4 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -6225,7 +6225,7 @@ static int amdgpu_device_sched_resume(struct list_head *device_list, !amdgpu_ras_eeprom_check_err_threshold(tmp_adev)) dev_info( tmp_adev->dev, - "GPU reset(%d) failed with error %d \n", + "GPU reset(%d) failed with error %d\n", atomic_read( &tmp_adev->gpu_reset_counter), tmp_adev->asic_reset_res); |
