3.7+ kernels and Radeon HD 4250 backlight

2014-09-13 Thread Sergey Korshunoff
Hi! I have problems running android-x86 (32 bit, 4.0-r1) with kernel 3.10 64 bit. Android drivers (binder and ashmem) are modified for this mode (no problems). Problem is with radeon fb. Function radeon_iocl() is failed on line: DRM_ERROR("copy_to_user %s:%u\n", __func__, __LINE__) on request RADEO

3.7+ kernels and Radeon HD 4250 backlight

2014-09-13 Thread Sergey Korshunoff
Hi! drivers/gpu/drm/radeon/radeon_kns.c: static int radeon_info_ioctl(...) ... value_ptr = (uint32_t *)((unsigned long)info->value); // value_ptr = (uint32_t __user *)(info->value); // looks like more correct for x86_64 ... if (copy_to_user(value_ptr, (char*)value, value_size)) {... Why value_ptr

3.7+ kernels and Radeon HD 4250 backlight

2014-09-09 Thread Sergey Korshunoff
Hi! There is a notebook eMashines e442 142G25Mikk Model PEW86 with a video card Radeon HD 4250. Since a kernel 3.7.10 (tested until 3.16.1) it have a problem: screen is a white (not black) when PC is idle. A changes causing problem is: --- linux-3.6.11/drivers/gpu/drm/radeon/radeon_encoders.c 2012