drm/gem: Be more friendly with locking checks
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 9 Jul 2015 21:32:35 +0000 (23:32 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 10 Aug 2015 11:35:49 +0000 (13:35 +0200)
commit8d77a9404ec38be34ffc491a2022022a56e72c90
tree41db64e728b06043f400d6f20467566e6c695673
parent0630db4f7a43a7d03560ba898134971c53d22a4a
drm/gem: Be more friendly with locking checks

BUG_ON kills the driver, WARN_ON is much friendlier. And usually nothing
bad happens when the locking is slightly busted.

v2: Fix typos in commit message Thierry spotted.

Reviewed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
drivers/gpu/drm/drm_gem.c