drm/glamo Re: glamo backlight

mobi phil mobi at mobiphil.com
Wed Apr 14 11:18:53 CEST 2010


Thomas,

If I start/stop some directfb programs, the 2rd or 3rd time I start one they
hang in the last ioctl, see below

open("/dev/fb0", O_RDWR)                = 8
fcntl64(8, F_SETFD, FD_CLOEXEC)         = 0
setsid()                                = 1655
open("/dev/tty0", O_RDONLY|O_NOCTTY)    = 9
ioctl(9, VT_GETSTATE, 0xbed0e5da)       = 0
ioctl(9, VIDIOC_QUERYCAP or VT_OPENQRY, 0x15178) = 0
ioctl(8, FBIOGET_CON2FBMAP, 0xbed0e4c0) = 0
fstat64(8, {st_mode=S_IFCHR|0660, st_rdev=makedev(29, 0), ...}) = 0
ioctl(8, FBIOPUT_CON2FBMAP, 0xbed0e4c0) = 0
ioctl(9, VIDIOC_G_COMP or VT_ACTIVATE, 0x8) = 0
ioctl(9, VIDIOC_S_COMP or VT_WAITACTIVE

The fd 9 is probably the tty0 and 8 is /dev/fb0. I know if it would hang on
ioctl("fb0") then drm would seem more guilty....

However this behaviour was not there before the patch for ~150 pixels
shifted. Any idea?



-- 
rgrds,
mobi phil

being mobile, but including technology
http://mobiphil.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20100414/108d8b33/attachment.htm 


More information about the community mailing list