diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2015-04-15 18:42:46 +0300 |
|---|---|---|
| committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-04-16 12:20:30 +0300 |
| commit | baaa5cfb42d94440385e1229c000da1ecc369d47 (patch) | |
| tree | cbd95a8556e0a1f6c52ad57ccba3d457656e4bbb | |
| parent | 1f30a61482df44ee75c4db73f7f3d70052b93e83 (diff) | |
| download | linux-baaa5cfb42d94440385e1229c000da1ecc369d47.tar.xz | |
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: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
| -rw-r--r-- | drivers/gpu/drm/i915/i915_debugfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c index 07a71c0ff775..1bd2ec5a5a57 100644 --- a/drivers/gpu/drm/i915/i915_debugfs.c +++ b/drivers/gpu/drm/i915/i915_debugfs.c @@ -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 " "; |
