diff options
author | Andi Shyti <andi.shyti@intel.com> | 2019-04-05 04:07:32 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-04-05 08:58:58 +0100 |
commit | 019f892e5d1a0a9643cb726c47ce2d99c14b444f (patch) | |
tree | 3026e83febdee0f9b1885d7d7591ab2b0061bbc6 /tests/i915/gem_tiled_swapping.c | |
parent | 2f38eabf06ec5bcdf28e1bfd0ffd95581b20e26b (diff) |
lib: ioctl_wrappers: reach engines by index as well
With the new engine query method engines are reachable through
an index and context they are combined with.
The 'gem_has_ring()' becomes 'gem_context_has_engine()' that
requires the index that the engine is mapped within the driver.
The function has been moved from lib/ioctl_wappers to
lib/i915/gem_context where it is more appropriate.
The previous 'gem_has_ring()' function becomes a wrapper to the
new 'gem_context_has_engine()'.
Signed-off-by: Andi Shyti <andi.shyti@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'tests/i915/gem_tiled_swapping.c')
0 files changed, 0 insertions, 0 deletions