[PATCH 3/3] drm/ttm: drop addr_space_offset, use accessor

2012-12-19 Thread Dave Airlie
From: Dave Airlie This uses the drm vm accessor to access the address space offset rather than storing it separately. When I boot tested this, it threw up a problem in the virtual unmapping code where we unmap a mapping range from 0 unnecessairly, so this patch also checks we have a mapping befo

[PATCH 3/3] drm/ttm: drop addr_space_offset, use accessor

2012-12-18 Thread Dave Airlie
From: Dave Airlie This uses the drm vm accessor to access the address space offset rather than storing it separately. When I boot tested this, it threw up a problem in the virtual unmapping code where we unmap a mapping range from 0 unnecessairly, so this patch also checks we have a mapping befo