drm/i915: Remove unnecessary test on the gen in intel_do_mmio_flip()
authorDamien Lespiau <damien.lespiau@intel.com>
Fri, 24 Oct 2014 23:11:11 +0000 (00:11 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 4 Nov 2014 13:04:57 +0000 (14:04 +0100)
commitc5d974728fafc151e740638b4cf492958be78b5b
tree76e1bd1fea6c3f9c9544dc04e250c6f5b08ad811
parent3f20df98870236b288a90fc3b65f593d3db05b17
drm/i915: Remove unnecessary test on the gen in intel_do_mmio_flip()

use_mmio_flip() makes sure we only enable MMIO flips on gen5+. So we
don't need to take into account older devices.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c