commit | cbd75e97a525e3819c02dc18bc2d67aa544c9e45 | [log] [tgz] |
---|---|---|
author | Thomas Hellstrom <thellstrom@vmware.com> | Tue Apr 15 18:25:48 2014 +0200 |
committer | Thomas Hellstrom <thellstrom@vmware.com> | Thu Apr 24 08:45:25 2014 +0200 |
tree | eafb5b3d0e1d08759501e48ba135420acd968603 | |
parent | abaafc0af9f74f8e6212a3bf54fb907358b40ad7 [diff] |
drm/vmwgfx: Make sure user-space can't DMA across buffer object boundaries v2 We already check that the buffer object we're accessing is registered with the file. Now also make sure that we can't DMA across buffer object boundaries. v2: Code commenting update. Cc: stable@vger.kernel.org Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>