Skip to contentSkip to conversation

drm/amdgpu/userq: remove the vital queue unmap logging

PATCH In review Sunil Khatri 2 participants 2 messages May 25 – May 27

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu/userq: remove the vital queue unmap logging

Mesa userqueue free do no wait for the free to complete and go ahead in unmapping the vital bos while kernel is still in queue free and corresponding cleanup.

So ideally we dont need the logging for that and hence remove the warn message as this is expected behaviour and functionally we are making sure to wait for the required fences before unmap.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c +0 -1
index f0c7b686f68d..ebfef6470f90 100644
@@ -1352,7 +1352,6 @@ void amdgpu_userq_gem_va_unmap_validate(struct amdgpu_device *adev,
 	if (!ip_mask)
 		return;
 
-	dev_warn_once(adev->dev, "now unmapping a vital queue va:%llx\n", saddr);
 	/**
 	 * The userq VA mapping reservation should include the eviction fence,
 	 * if the eviction fence can't signal successfully during unmapping,
Signature · 1 line
2.34.1
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Sunil Khatri

Mesa userqueue free do no wait for the free to complete and go ahead in unmapping the vital bos while kernel is still in queue free and corresponding cleanup.

So ideally we dont need the logging for that and hence remove the warn message as this is expected behaviour and functionally we are making sure to wait for the required fences before unmap.

Quoted 16 lines
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c +0 -1
index f0c7b686f68d..ebfef6470f90 100644
@@ -1352,7 +1352,6 @@ void amdgpu_userq_gem_va_unmap_validate(struct amdgpu_device *adev,
 	if (!ip_mask)
 		return;
 
-	dev_warn_once(adev->dev, "now unmapping a vital queue va:%llx\n", saddr);
 	/**
 	 * The userq VA mapping reservation should include the eviction fence,
 	 * if the eviction fence can't signal successfully during unmapping,