Commit baaa5cfb authored by Chris Wilson's avatar Chris Wilson Committed by Daniel Vetter

drm/i915: Update meaning of debugfs object's pin_flag

Since the pin_ioctl is defunct, we only care about whether an object is
pinned into the display for debug purposes.
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 1f30a614
...@@ -96,7 +96,7 @@ static int i915_capabilities(struct seq_file *m, void *data) ...@@ -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) 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"; return "p";
else else
return " "; return " ";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment