Felix Kuehling 09ac4fcb3f drm/ttm: Implement vm_operations_struct.access v2
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
* document callback return value
* WARN_ON -> WARN_ON_ONCE

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-07-25 16:29:02 -04:00
..
2017-03-24 09:36:06 +01:00
2017-06-16 13:58:27 +10:00
2017-06-14 12:10:22 +10:00
2017-06-14 12:10:22 +10:00
2017-03-14 14:38:34 +01:00
2017-04-04 20:47:54 +02:00
2017-06-01 08:02:14 +02:00
2016-06-21 22:10:55 +02:00
2017-03-24 09:36:06 +01:00
2015-08-12 12:24:05 -04:00
2017-06-01 08:02:14 +02:00
2017-06-01 08:02:14 +02:00
2017-03-09 16:18:02 +01:00
2014-03-17 20:11:57 +01:00