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

Commit 015b9c8c authored by Chris Wilson's avatar Chris Wilson
Browse files

drm/i915: Remove the random SyncFlush during initialisation



We have no idea why we request a SyncFlush via INSTPM at that point in
time -- we certainly never check for its completion...

Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent 3bd3c932
Loading
Loading
Loading
Loading
+0 −6
Original line number Original line Diff line number Diff line
@@ -1444,12 +1444,6 @@ static int i915_load_modeset_init(struct drm_device *dev,
	/* FIXME: do pre/post-mode set stuff in core KMS code */
	/* FIXME: do pre/post-mode set stuff in core KMS code */
	dev->vblank_disable_allowed = 1;
	dev->vblank_disable_allowed = 1;


	/*
	 * Initialize the hardware status page IRQ location.
	 */

	I915_WRITE(INSTPM, (1 << 5) | (1 << 21));

	ret = intel_fbdev_init(dev);
	ret = intel_fbdev_init(dev);
	if (ret)
	if (ret)
		goto cleanup_irq;
		goto cleanup_irq;