diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-09-30 10:46:59 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-09-30 15:59:44 +0200 |
commit | c668cde5a3b5a1326923f341885ce9660d15091e (patch) | |
tree | 4c87c0aa266cb33090e5f5db1880b5bf25eb1025 /drivers/gpu/drm/i915/i915_gem_fence.c | |
parent | 0731c65aceb2ac9b1d3bc64a057d6b0f0daae80d (diff) | |
download | op-kernel-dev-c668cde5a3b5a1326923f341885ce9660d15091e.zip op-kernel-dev-c668cde5a3b5a1326923f341885ce9660d15091e.tar.gz |
drm/i915: Remove setparam ioctl
This was only used for the ums+gem combo, so ripe for removal now that
we only have kms code left.
v2: Drop fence_reg_start since it's now unused, noticed by Ville.
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_fence.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_gem_fence.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem_fence.c b/drivers/gpu/drm/i915/i915_gem_fence.c index af1f8c4..caa271b 100644 --- a/drivers/gpu/drm/i915/i915_gem_fence.c +++ b/drivers/gpu/drm/i915/i915_gem_fence.c @@ -322,7 +322,7 @@ i915_find_fence_reg(struct drm_device *dev) /* First try to find a free reg */ avail = NULL; - for (i = dev_priv->fence_reg_start; i < dev_priv->num_fence_regs; i++) { + for (i = 0; i < dev_priv->num_fence_regs; i++) { reg = &dev_priv->fence_regs[i]; if (!reg->obj) return reg; |