summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_gem.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-04-11 13:43:06 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2017-04-11 14:31:39 +0100
commit1d39f28170cb95e8b9eb9833d1c17528f400f9c4 (patch)
tree31c4a58b80a2ddc9fdbf8c1ec60780a187ec9f5d /drivers/gpu/drm/i915/i915_gem.c
parentb8400f01fcbbacec274d89a1c41340d0409529bb (diff)
downloadop-kernel-dev-1d39f28170cb95e8b9eb9833d1c17528f400f9c4.zip
op-kernel-dev-1d39f28170cb95e8b9eb9833d1c17528f400f9c4.tar.gz
drm/i915: Rename intel_engine_cs.exec_id to uabi_id
We want to refer to the index of the engine consistently throughout the userspace ABI. We already have such an index through the execbuffer engine specifier, that needs to be able to refer to each engine specifically, so rename it the index to uabi_id to reflect its generality beyond execbuf. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170411124306.15448-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem.c')
-rw-r--r--drivers/gpu/drm/i915/i915_gem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index b210acc..cb8c6a9 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -3996,7 +3996,7 @@ __busy_set_if_active(const struct dma_fence *fence,
if (i915_gem_request_completed(rq))
return 0;
- return flag(rq->engine->exec_id);
+ return flag(rq->engine->uabi_id);
}
static __always_inline unsigned int
OpenPOWER on IntegriCloud