]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
drm/ttm: Handle in-memory region copies
authorJakob Bornecrantz <jakob@vmware.com>
Wed, 30 Oct 2013 09:46:56 +0000 (02:46 -0700)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 6 Nov 2013 12:35:58 +0000 (04:35 -0800)
commit9a0599ddeae012a771bba5e23393fc52d8a59d89
tree378cc851a1bbdbded9b73f47eaa946ad1b01446d
parent15205fbcbe5abf52d6b064c5e8d2f901518d14a2
drm/ttm: Handle in-memory region copies

Fix the case where the ttm pointer may be NULL causing
a NULL pointer dereference.

Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
Signed-off-by: Thomas Hellström <thellstrom@vmware.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/ttm/ttm_bo_util.c