https://bugs.freedesktop.org/show_bug.cgi?id=82455
--- Comment #32 from charlie 407883775@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 ?