Skip to content

Commit e532be8

Browse files
mthierryickle
authored andcommitted
drm/i915: Update missing parts after the rename to i915_request
Mostly doc/print messages that were not updated after commit e61e0f5 ("drm/i915: Rename drm_i915_gem_request to i915_request"). Signed-off-by: Michel Thierry <michel.thierry@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20180222172405.11386-1-michel.thierry@intel.com
1 parent 91e939a commit e532be8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

drivers/gpu/drm/i915/i915_gem_context.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ struct drm_file;
3838

3939
struct drm_i915_private;
4040
struct drm_i915_file_private;
41-
struct drm_i915_gem_request;
4241
struct i915_hw_ppgtt;
42+
struct i915_request;
4343
struct i915_vma;
4444
struct intel_ring;
4545

drivers/gpu/drm/i915/i915_request.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1213,12 +1213,12 @@ static bool __i915_wait_request_check_and_reset(struct i915_request *request)
12131213
}
12141214

12151215
/**
1216-
* i915_wait_request - wait until execution of request has finished
1216+
* i915_request_wait - wait until execution of request has finished
12171217
* @rq: the request to wait upon
12181218
* @flags: how to wait
12191219
* @timeout: how long to wait in jiffies
12201220
*
1221-
* i915_wait_request() waits for the request to be completed, for a
1221+
* i915_request_wait() waits for the request to be completed, for a
12221222
* maximum of @timeout jiffies (with MAX_SCHEDULE_TIMEOUT implying an
12231223
* unbounded wait).
12241224
*

drivers/gpu/drm/i915/selftests/intel_hangcheck.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@ static int igt_wait_reset(void *arg)
876876

877877
timeout = i915_request_wait(rq, I915_WAIT_LOCKED, 10);
878878
if (timeout < 0) {
879-
pr_err("i915_wait_request failed on a stuck request: err=%ld\n",
879+
pr_err("i915_request_wait failed on a stuck request: err=%ld\n",
880880
timeout);
881881
err = timeout;
882882
goto out_rq;

0 commit comments

Comments
 (0)