[Bug 82455] Failed to allocate virtual address for buffer

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 15 01:25:01 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=82455

--- Comment #32 from charlie <407883775 at qq.com> ---
>>radeon: The kernel rejected CS, see dmesg for more information
This error is showed in the drm_ioctl function.The part code show as follow:

468                 if (cmd & IOC_OUT) { //error place,
469                         printk(KERN_EMERG "cmd & IOC_OUT\n");
470                         if (copy_to_user((void __user *)arg, kdata,
471                                          usize) != 0){
472                                 printk(KERN_EMERG "cmd & IOC_OUT error\n");
473                                 retcode = -EFAULT;
474                         }
475                 }

The copy_from_user havn't error, So the error is cause by parameter.
Or, PAGE_SIZE cause it ?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140915/fde6d031/attachment.html>


More information about the dri-devel mailing list