Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b397c836 authored by Eric Anholt's avatar Eric Anholt
Browse files

drm/i915: Don't reserve compatibility fence regs in KMS mode.



The fence start is for compatibility with UMS X Servers before fence
management.  KMS X Servers only started doing tiling after fence
management appeared.

Signed-off-by: default avatarEric Anholt <eric@anholt.net>
parent c4804411
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4794,6 +4794,7 @@ i915_gem_load(struct drm_device *dev)
	spin_unlock(&shrink_list_lock);

	/* Old X drivers will take 0-2 for front, back, depth buffers */
	if (!drm_core_check_feature(dev, DRIVER_MODESET))
		dev_priv->fence_reg_start = 3;

	if (IS_I965G(dev) || IS_I945G(dev) || IS_I945GM(dev) || IS_G33(dev))