]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/ttm: Fix accesses through vmas with only partial coverage
authorThomas Hellstrom <thellstrom@vmware.com>
Mon, 9 Dec 2013 07:23:57 +0000 (23:23 -0800)
committerThomas Hellstrom <thellstrom@vmware.com>
Mon, 16 Dec 2013 18:08:35 +0000 (10:08 -0800)
commitd386735588c3e22129c2bc6eb64fc1d37a8f805c
tree38bd81ea4aacecb5b1fb871276cc60cf4501f49a
parent9255ce80f88ba885c38c0bbd235db7c24392e22e
drm/ttm: Fix accesses through vmas with only partial coverage

VMAs covering a bo but that didn't start at the same address space offset as
the bo they were mapping were incorrectly generating SEGFAULT errors in
the fault handler.

Reported-by: Joseph Dolinak <kanilo2@yahoo.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/ttm/ttm_bo_vm.c