http://bugs.freedesktop.org/show_bug.cgi?id=22271





--- Comment #6 from Krzysztof Sobiecki <sob...@wp.pl>  2009-07-29 17:26:14 PST 
---
Setting .compat_ioctl = radeon_compat_ioctl for KMS make 32bit ioctls work. But
there is still problem that stops ia32-glxinfo from working.
After starting ia32-glxinfo:
libGL: OpenDriver: trying /usr/lib32/dri/r300_dri.so
drm_radeon_getparam_t (RADEON_PARAM_DEVICE_ID): -14
libGL error: failed to create dri screen
[...]
In dmesg I only get this:
[10664.708003] [drm:radeon_info_ioctl] *ERROR* copy_to_user

I will check what drm debug=1 prints.

For now I thin that 32bit DRM_RADEON_INFO(radeon_kms.c:radeon_info_ioctl) fails
here:
"
if (DRM_COPY_TO_USER(value_ptr, &value, sizeof(uint32_t))) {
        DRM_ERROR("copy_to_user\n");
        return -EFAULT;
}
"
64bit one works as excepted.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to