drm/ttm: Fix TTM object open regression
authorThomas Hellstrom <thellstrom@vmware.com>
Fri, 24 Jan 2014 07:49:45 +0000 (08:49 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 5 Feb 2014 08:29:25 +0000 (09:29 +0100)
commitc66f854338253e603a4fb6817069ee23eacf0ae3
tree4c6d5f2c2c02d8c582fb51b7e11f6445bcbfa928
parent76f4f415e502e4dfaf409edd0d4ed0dd3a0a0419
drm/ttm: Fix TTM object open regression

Commit drm/ttm: ttm object security fixes for render nodes introduced a
regression where, if a TTM object was opened multiple times from the same
open file, the caller would spin uninterruptibly in the kernel.

Fix this.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
drivers/gpu/drm/ttm/ttm_object.c