]> git.baikalelectronics.ru Git - kernel.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)
commit113cd4a0259b88bd4b3eff655fc26cee332cb0af
tree38bd81ea4aacecb5b1fb871276cc60cf4501f49a
parent075408747aa5a7e28ae2daf6bf5604e809c0df43
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