drm/amdgpu: Change VRAM lost print from ERR to INF
Subsystems (2)
PATCH 1/1 drm/amdgpu: Change VRAM lost print from ERR to INF
It's normal for VRAM to lost during GPU reset and so change the log level to INFO to avoid confusing users.
--- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +1 -1
@@ -3435,7 +3435,7 @@ static int amdgpu_do_asic_reset(struct amdgpu_hive_info *hive, vram_lost =amdgpu_device_check_vram_lost (tmp_adev);if (vram_lost) { -DRM_ERROR ("VRAM is lost!\n" ); +DRM_INFO ("VRAM is lost!\n" );atomic_inc (&tmp_adev->vram_lost_counter); }
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 1555627722-3576-1-git-send-email-andrey.grodzovsky-5C7GfCeVMHo@public.gmane.org
Deucher, Alexander
Reviewed-byMaybe change the message to:
VRAM is lost due to GPU reset!
Either way,
________________________________
From: amd-gfx <amd-gfx-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org> on behalf of Andrey Grodzovsky <[email protected]>
Sent: Thursday, April 18, 2019 6:48 PM
To: [email protected]
Cc: Grodzovsky, Andrey; Kuehling, Felix
Subject: [PATCH] drm/amdgpu: Change VRAM lost print from ERR to INF
It's normal for VRAM to lost during GPU reset and so change the log level to INFO to avoid confusing users.
--- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +1 -1
@@ -3435,7 +3435,7 @@ static int amdgpu_do_asic_reset(struct amdgpu_hive_info *hive, vram_lost =amdgpu_device_check_vram_lost (tmp_adev);if (vram_lost) { -DRM_ERROR ("VRAM is lost!\n" ); +DRM_INFO ("VRAM is lost!\n" );atomic_inc (&tmp_adev->vram_lost_counter); }
--
2.7.4
_______________________________________________
amd-gfx mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx