commit | a0f06f168fd951d5b50b892786f041b58e9554ae | [log] [tgz] |
---|---|---|
author | Rob Herring <robh@kernel.org> | Tue May 03 21:02:43 2016 -0500 |
committer | Emil Velikov <emil.l.velikov@gmail.com> | Mon May 23 12:07:46 2016 +0100 |
tree | 0f98c10b3f415ac6fdd023ad53bcfccb0777bf48 | |
parent | bdfa635f726d77457db9ab6298c7910138befbcd [diff] |
DRI: Add DRIimage map and unmap functions Add mapImage and unmapImage functions to DRIimage extension for mapping and unmapping DRIimages for CPU access. The caller provides the region of the image to map and is returned a pointer to the beginning of the region and the stride (which could be different from the original). Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net>