aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorJohn Harrison <John.C.Harrison@Intel.com>2014-11-24 13:49:36 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-12-03 03:35:19 -0500
commit9400ae5c8248dd29c55f2c2355b71e55995774d3 (patch)
treec2c3036e6cb75bb63d8065b136e39d21774f698f /drivers/gpu/drm/i915/i915_drv.h
parent9c654818295eee21720e62040e235e6951b05b40 (diff)
drm/i915: Remove obsolete seqno parameter from 'i915_add_request'
There is no longer any need to retrieve a seqno value from an i915_add_request() call. The calling code already knows which request structure is being processed (it can only be ring->OLR). And as the request itself is now used in preference to the basic seqno value, the latter is now redundant in this situation. For: VIZ-4377 Signed-off-by: John Harrison <John.C.Harrison@Intel.com> Reviewed-by: Thomas Daniel <Thomas.Daniel@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 69a0e00039c6..d4e1fa757a34 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -2621,10 +2621,9 @@ int __must_check i915_gpu_idle(struct drm_device *dev);
2621int __must_check i915_gem_suspend(struct drm_device *dev); 2621int __must_check i915_gem_suspend(struct drm_device *dev);
2622int __i915_add_request(struct intel_engine_cs *ring, 2622int __i915_add_request(struct intel_engine_cs *ring,
2623 struct drm_file *file, 2623 struct drm_file *file,
2624 struct drm_i915_gem_object *batch_obj, 2624 struct drm_i915_gem_object *batch_obj);
2625 u32 *seqno); 2625#define i915_add_request(ring) \
2626#define i915_add_request(ring, seqno) \ 2626 __i915_add_request(ring, NULL, NULL)
2627 __i915_add_request(ring, NULL, NULL, seqno)
2628int __i915_wait_request(struct drm_i915_gem_request *req, 2627int __i915_wait_request(struct drm_i915_gem_request *req,
2629 unsigned reset_counter, 2628 unsigned reset_counter,
2630 bool interruptible, 2629 bool interruptible,