]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915: correctly order the ring init sequence
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 7 Aug 2012 07:54:14 +0000 (09:54 +0200)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Mon, 8 Oct 2012 10:01:30 +0000 (03:01 -0700)
commit8d6d902c5a9dc7e7240deedcb5335606ba29cb8c
tree5b34afe7e1a66eab278aeb922148d1ffd0b2d7a3
parentfb12445fdbf286336f4852d30baea35a35ba0ce3
drm/i915: correctly order the ring init sequence

commit 0d8957c8a90bbb5d34fab9a304459448a5131e06 upstream.

We may only start to set up the new register values after having
confirmed that the ring is truely off. Otherwise the hw might lose the
newly written register values. This is caught later on in the init
sequence, when we check whether the register writes have stuck.

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50522
Tested-by: Yang Guang <guang.a.yang@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/i915/intel_ringbuffer.c