drm/ttm: fix refcounting in ttm global code.
authorDave Airlie <airlied@linux.ie>
Tue, 29 Sep 2009 03:56:38 +0000 (13:56 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 6 Oct 2009 05:46:10 +0000 (15:46 +1000)
commitdf748b025d1357c2b9659e16a6040596e60e4257
tree7b95bbb0437d3b811e0d5dc260111278e163eb43
parentb8c00ac5b50b54491657f8b6740db1df50149944
drm/ttm: fix refcounting in ttm global code.

the global refcount wasn't being increased after the first reference.
this caused an oops on unload on a multi-gpu card.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ttm/ttm_global.c