aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_sched.c
diff options
context:
space:
mode:
authorThomas Hellstrom <[email protected]>2019-12-04 10:42:15 +0000
committerThomas Hellstrom <[email protected]>2020-01-15 13:34:49 +0000
commitb20414252068263c736d008e536658f9ce13d74a (patch)
tree42b975e9f9915d39e34cb08fce39d998bd908ed0 /drivers/gpu/drm/lima/lima_sched.c
parentdrm/vmwgfx: Bump driver minor version (diff)
downloadkernel-b20414252068263c736d008e536658f9ce13d74a.tar.gz
kernel-b20414252068263c736d008e536658f9ce13d74a.zip
drm/vmwgfx: Use VM_PFNMAP instead of VM_MIXEDMAP when possible
For shared, and read-only private mappings of graphics memory, use VM_PFNMAP instead of VM_MIXEDMAP. This means less accounting overhead when inserting and removing page-table entries. TTM doesn't do this by default, since there was a performance problem with book-keeping of write-combined mappings. Since vmwgfx solely uses cached mappings, that's not a problem and now that the TTM vm has largely been turned into helpers, we can use VM_PFNMAP on a per-driver basis Signed-off-by: Thomas Hellstrom <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/lima/lima_sched.c')
0 files changed, 0 insertions, 0 deletions