mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-04 21:18:05 +02:00
should be a KERNEL copy
This commit is contained in:
parent
4e6c8e1137
commit
a3fc50047e
1 changed files with 2 additions and 3 deletions
|
|
@ -1484,9 +1484,8 @@ int r128_cce_stipple( DRM_OS_IOCTL )
|
|||
|
||||
LOCK_TEST_WITH_RETURN( dev );
|
||||
|
||||
if ( DRM_OS_COPYFROMUSR( &stipple, (drm_r128_stipple_t *) data,
|
||||
sizeof(stipple) ) )
|
||||
DRM_OS_RETURN( EFAULT );
|
||||
DRM_OS_KRNFROMUSR( stipple, (drm_r128_stipple_t *) data,
|
||||
sizeof(stipple) );
|
||||
|
||||
if ( DRM_OS_COPYFROMUSR( &mask, stipple.mask,
|
||||
32 * sizeof(u32) ) )
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue