summaryrefslogtreecommitdiff
path: root/rnndb
diff options
context:
space:
mode:
authorRussell King <rmk@arm.linux.org.uk>2014-08-26 15:49:06 +0100
committerRussell King <rmk@arm.linux.org.uk>2014-08-26 19:09:11 +0100
commitb93820a7a76e8e2f37335cdb4e3f9074ced6415a (patch)
tree36d5d24f8c934591f3c5924206c75714de1ac3a1 /rnndb
parentb7cbb7aaf15b2c905003c8b1d8f7ddbd75eb4ea8 (diff)
Add support to permit mapping memory with protection infoHEADmaster
The standard galcore user memory mapping function fails when asked to map read-only memory, such as X shmem buffers. The reason these fail is because get_user_pages() is always attempted with "write" mode enabled, which is not permissible with read-only mappings. To allow this to work (so that Xv can be implemented efficiently) we must be able to map read-only buffers. This adds an extension to etnaviv, found in my Dove galcore driver and Jon Nettleton's iMX6 kernels which permit this without changing the existing galcore APIs. Signed-off-by: Russell King <rmk@arm.linux.org.uk>
Diffstat (limited to 'rnndb')
0 files changed, 0 insertions, 0 deletions