Commit e8e696c3 authored by Rob Clark's avatar Rob Clark Committed by Alex Deucher
Browse files

drm/amdgpu: Remove duplicate fdinfo fields



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

Fixes: 376c25f8 ("drm/amdgpu: Switch to fdinfo helper")
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
Reviewed-by: default avatar <alexander.deucher@amd.com>
Co-developed-by: default avatarUmio Yasuno <coelacanth_dream@protonmail.com>
Signed-off-by: default avatarUmio Yasuno <coelacanth_dream@protonmail.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 3ea8dd37
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -88,9 +88,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);