summaryrefslogtreecommitdiff
path: root/kernel/bpf/arraymap.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2018-01-09 15:33:42 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-01-17 09:45:24 +0100
commit2f6ff75e484bca49202cdc132787bc5d29d8a139 (patch)
treeabf77f6d082789abae124255fe28e25ad03facb3 /kernel/bpf/arraymap.c
parent02453a0f8f54a00aff82daa287627c328f121a18 (diff)
drm/vmwgfx: Don't cache framebuffer maps
commit 98648ae6ef6bdcdcb88c46cad963906ab452e96d upstream. Buffer objects need to be either pinned or reserved while a map is active, that's not the case here, so avoid caching the framebuffer map. This will cause increasing mapping activity mainly when we don't do page flipping. This fixes occasional garbage filled screens when the framebuffer has been evicted after the map. Since in-kernel mapping of whole buffer objects is error-prone on 32-bit architectures and also quite inefficient, we will revisit this later. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Sinclair Yeh <syeh@vmware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions