summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_property.h
diff options
context:
space:
mode:
authorFelix Kuehling <Felix.Kuehling@amd.com>2017-07-13 17:01:16 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-07-25 16:29:02 -0400
commit09ac4fcb3f255e9225967c75f5893325c116cdbe (patch)
treef6489bee599e129a002ce4f1e1505703edd06d01 /include/drm/drm_property.h
parent16d6e962275838830ab6c77989c62c4199e0a561 (diff)
downloadlinux-stable-09ac4fcb3f255e9225967c75f5893325c116cdbe.tar.gz
linux-stable-09ac4fcb3f255e9225967c75f5893325c116cdbe.tar.bz2
linux-stable-09ac4fcb3f255e9225967c75f5893325c116cdbe.zip
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>
Diffstat (limited to 'include/drm/drm_property.h')
0 files changed, 0 insertions, 0 deletions