Skip to content

Commit

Permalink
drm/i915: Update meaning of debugfs object's pin_flag
Browse files Browse the repository at this point in the history
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@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
  • Loading branch information
Chris Wilson authored and Daniel Vetter committed Apr 16, 2015
1 parent 1f30a61 commit baaa5cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/i915_debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,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 " ";
Expand Down

0 comments on commit baaa5cf

Please sign in to comment.