]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vmwgfx: Fix a potential infinite spin waiting for fifo idle
authorThomas Hellstrom <thellstrom@vmware.com>
Thu, 28 Aug 2014 09:53:23 +0000 (11:53 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Mon, 1 Sep 2014 10:31:24 +0000 (12:31 +0200)
commit6bacf9c604ce182434613f858d61da5fc74ecd00
treed0ba13f57d1323abdf11d3414e712b2ae0a4857e
parentf90bcadad84010cec122d97104cad7e7283de820
drm/vmwgfx: Fix a potential infinite spin waiting for fifo idle

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>
Cc: <stable@vger.kernel.org>
drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c