drm/vmwgfx: Fix a potential infinite spin waiting for fifo idle

commit f01ea0c3d9 upstream.

The code waiting for fifo idle was incorrect and could possibly spin
forever under certain circumstances.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reported-by: Mark Sheldon <markshel@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Reivewed-by: Mark Sheldon <markshel@vmware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Thomas Hellstrom 2014-08-28 11:53:23 +02:00 • committed by Greg Kroah-Hartman
commit e7d2e56201