Re: [PATCH 1/2] drm/ttm: Implement vm_operations_struct.access v2

2017-07-18 Thread Michel Dänzer
On 17/07/17 11:57 PM, Felix Kuehling wrote: Allows gdb to access contents of user mode mapped BOs. System memory is handled by TTM using kmap. Other memory pools require a new driver callback in ttm_bo_driver. v2: * kmap only one page at a time * swap in BO if needed * make driver callback more

Re: [PATCH 1/2] drm/ttm: Implement vm_operations_struct.access v2

2017-07-18 Thread Christian König
Am 18.07.2017 um 05:57 schrieb Felix Kuehling: Allows gdb to access contents of user mode mapped BOs. System memory is handled by TTM using kmap. Other memory pools require a new driver callback in ttm_bo_driver. v2: * kmap only one page at a time * swap in BO if needed * make driver callback mo

[PATCH 1/2] drm/ttm: Implement vm_operations_struct.access v2

2017-07-17 Thread Felix Kuehling
Allows gdb to access contents of user mode mapped BOs. System memory is handled by TTM using kmap. Other memory pools require a new driver callback in ttm_bo_driver. v2: * kmap only one page at a time * swap in BO if needed * make driver callback more generic to handle private memory pools * docum