commit | ab82a0635cdf0b91a134aaae34abd4e864595c5b | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Mon Apr 30 14:15:01 2018 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Mon Apr 30 16:01:13 2018 +0100 |
tree | c5efbac1f010e49c5d2a19f2d29be6be23dd7325 | |
parent | 52d7f16e5543ca892ae2393a716083d209ce3b36 [diff] |
drm/i915: Wrap engine->context_pin() and engine->context_unpin() Make life easier in upcoming patches by moving the context_pin and context_unpin vfuncs into inline helpers. v2: Fixup mock_engine to mark the context as pinned on use. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180430131503.5375-2-chris@chris-wilson.co.uk