commit | 05269a3a5a78bb074413de495105d7a2686c4529 | [log] [tgz] |
---|---|---|
author | Jordan Crouse <jcrouse@codeaurora.org> | Thu May 27 13:40:27 2010 -0600 |
committer | Dave Airlie <airlied@redhat.com> | Tue Jun 01 10:07:57 2010 +1000 |
tree | 85f0000bdb5708079309f8ff42ecc55896c3d445 | |
parent | 4b7fb9b5746554d460e7bc986341d4b2db01e0b6 [diff] |
drm: Make sure the DRM offset matches the CPU The pgoff option in mmap() is defined as an unsigned long so the offset generated by DRM needs to fit into BITS_PER_LONG for the CPU in question. Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org> Signed-off-by: Dave Airlie <airlied@redhat.com>