[Intel-gfx] [PATCH] drm/i915: Update meaning of debugfs object's pin_flag

Daniel Vetter daniel at ffwll.ch
Thu Apr 16 02:06:36 PDT 2015


On Wed, Apr 15, 2015 at 04:42:46PM +0100, Chris Wilson wrote:
> Since the pin_ioctl is defunct, we only care about whether an object is
> pinned into the display for debug purposes.
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

Queued for -next, thanks for the patch.
-Daniel
> ---
>  drivers/gpu/drm/i915/i915_debugfs.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c
> index ed48387762b2..61785c92e1b9 100644
> --- a/drivers/gpu/drm/i915/i915_debugfs.c
> +++ b/drivers/gpu/drm/i915/i915_debugfs.c
> @@ -94,7 +94,7 @@ static int i915_capabilities(struct seq_file *m, void *data)
>  
>  static const char *get_pin_flag(struct drm_i915_gem_object *obj)
>  {
> -	if (i915_gem_obj_is_pinned(obj))
> +	if (obj->pin_display)
>  		return "p";
>  	else
>  		return " ";
> -- 
> 2.1.4
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the Intel-gfx mailing list