]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: disable rings before HW status page setup
authorNaresh Kumar Kachhi <naresh.kumar.kachhi@intel.com>
Wed, 12 Mar 2014 11:09:40 +0000 (16:39 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 12 Mar 2014 15:00:41 +0000 (16:00 +0100)
commita51435a3137ad8ae75c288c39bd2d8b2696bae8f
treea6bb3f29978fb67d0ea21c0c1410d6fe57649c45
parent5a6c93fe802bd241c4287f116d0116aff0a4341a
drm/i915: disable rings before HW status page setup

Rings should be idle before issuing sync_flush
(in intel_ring_setup_status_page). This patch moves the ring
disabling before doing the HW status page setup.

Signed-off-by: Naresh Kumar Kachhi <naresh.kumar.kachhi@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_ringbuffer.c