Re: [PATCH 1/2] drm/amdgpu: Remove duplicate fdinfo fields

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 27.10.23 um 00:05 schrieb Umio Yasuno:
From: Rob Clark <robdclark@xxxxxxxxxxxx>

Some of the fields that are handled by drm_show_fdinfo() crept back in
when rebasing the patch.  Remove them again.

Fixes: 376c25f8ca47 ("drm/amdgpu: Switch to fdinfo helper")
Signed-off-by: Rob Clark <robdclark@xxxxxxxxxxxx>
Reviewed-by: <alexander.deucher@xxxxxxx>
Co-developed-by: Umio Yasuno <coelacanth_dream@xxxxxxxxxxxxxx>
Signed-off-by: Umio Yasuno <coelacanth_dream@xxxxxxxxxxxxxx>

Reviewed-by: Christian König <christian.koenig@xxxxxxx> for the series.

---

This thread has been inactive for nearly 5 months, so I re-created the patch.

  drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.c | 3 ---
  1 file changed, 3 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.c
index 6038b5021..e9b5d1903 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.c
@@ -87,9 +87,6 @@ void amdgpu_show_fdinfo(struct drm_printer *p, struct drm_file *file)
  	 */
drm_printf(p, "pasid:\t%u\n", fpriv->vm.pasid);
-	drm_printf(p, "drm-driver:\t%s\n", file->minor->dev->driver->name);
-	drm_printf(p, "drm-pdev:\t%04x:%02x:%02x.%d\n", domain, bus, dev, fn);
-	drm_printf(p, "drm-client-id:\t%llu\n", vm->immediate.fence_context);
  	drm_printf(p, "drm-memory-vram:\t%llu KiB\n", stats.vram/1024UL);
  	drm_printf(p, "drm-memory-gtt: \t%llu KiB\n", stats.gtt/1024UL);
  	drm_printf(p, "drm-memory-cpu: \t%llu KiB\n", stats.cpu/1024UL);




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux