commit | 3528af1b189d0fbb4c7a3f121f46d9987b9af5b6 | [log] [tgz] |
---|---|---|
author | Dave Airlie <airlied@starflyer.(none)> | Mon Jan 02 16:11:44 2006 +1100 |
committer | Dave Airlie <airlied@linux.ie> | Mon Jan 02 16:11:44 2006 +1100 |
tree | 565940d5d0ac96c063f15cba5a049103e2993466 | |
parent | 952d751a140e961f7ac67f743cf94d1a37c736e8 [diff] |
drm: fix a LOR issue on FreeBSD for savage driver Correct a LOR issue on FreeBSD by allocating temporary space and doing a single DRM_COPY_FROM_USER rather than DRM_VERIFYAREA_READ followed by tons of DRM_COPY_FROM_USER_UNCHECKED. I don't like the look of the temporary space allocation, but I like the simplification in the rest of the file. Tested with glxgears, tuxracer, and q3 on a savage4. From: Eric Anholt <anholt@freebsd.org> Signed-off-by: Dave Airlie <airlied@linux.ie>