]> git.baikalelectronics.ru Git - kernel.git/commit
drm/udl: take reference to device struct for dma-bufs
authorDave Airlie <airlied@redhat.com>
Tue, 25 Mar 2014 04:38:44 +0000 (14:38 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 27 Mar 2014 02:19:50 +0000 (02:19 +0000)
commite61706cb712ee511ae61c900e5d2054914c7fda7
tree0e63e153ca002dc47a37e1505b432ac54038e61e
parentb6ec0c55d1cd62d8f3b02609f42b54ded7c57b3c
drm/udl: take reference to device struct for dma-bufs

this stops the device from being deleted before all the dma-bufs
on it are freed, this fixes an oops when you unplug a udl device while
it has imported a buffer from another device.

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