]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: reinstate call to trace_i915_vma_bind
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Fri, 20 Jan 2017 21:51:23 +0000 (13:51 -0800)
committerJani Nikula <jani.nikula@intel.com>
Wed, 25 Jan 2017 10:57:22 +0000 (12:57 +0200)
commit8e5ab93d3863f4da20284e12ee7b0273d049fc5d
treee66997ed8f95426a17c4a62b9cab37995707636b
parent688302084f7a06e95f19a9a34fce412afcc70e91
drm/i915: reinstate call to trace_i915_vma_bind

The call went away in:

commit b43381cffa88b09cc96249a0688e85a2e62eb9d6
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Aug 4 16:32:25 2016 +0100

    drm/i915: Split insertion/binding of an object into the VM

It is useful to have this trace as it pairs nicely with the vma_unbind
one to track vma activity.
Added inside the i915_vma_bind function (was outside before) to keep a
similar placement as trace_i915_vma_unbind.

v2: print bind_flags instead of flags (Chris)

Fixes: b43381cffa88 ("drm/i915: Split insertion/binding of an object into the VM")
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1484949083-11430-1-git-send-email-daniele.ceraolospurio@intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
(cherry picked from commit 6146e6da5c961735dacf9b6c0c8b5f1382193ee2)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_vma.c