[PATCH 1/2] drm/amdgpu: drop printing the BO offset in the gem debugfs

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

 



On Fri, May 11, 2018 at 11:40 AM, Christian König
<ckoenig.leichtzumerken at gmail.com> wrote:
> It is meaningless anyway.
>
> Signed-off-by: Christian König <christian.koenig at amd.com>

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 4 ----
>  1 file changed, 4 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
> index 7d3dc229fa47..c3f8c5573a97 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
> @@ -803,10 +803,6 @@ static int amdgpu_debugfs_gem_bo_info(int id, void *ptr, void *data)
>         seq_printf(m, "\t0x%08x: %12ld byte %s",
>                    id, amdgpu_bo_size(bo), placement);
>
> -       offset = READ_ONCE(bo->tbo.mem.start);
> -       if (offset != AMDGPU_BO_INVALID_OFFSET)
> -               seq_printf(m, " @ 0x%010Lx", offset);
> -
>         pin_count = READ_ONCE(bo->pin_count);
>         if (pin_count)
>                 seq_printf(m, " pin count %d", pin_count);
> --
> 2.14.1
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


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

  Powered by Linux