glamo gdrm,
mobi phil
mobi at mobiphil.com
Sun May 30 10:05:53 CEST 2010
Hello!
I was trying to change to landscape from a custom drm application with
following:
crtc->mode.vrefresh = 8952 ;
crtc->mode.hdisplay = 640 ;
crtc->mode.hsync_start = 656 ;
crtc->mode.hsync_end = 658 ;
crtc->mode.htotal = 660 ;
crtc->mode.vdisplay = 480 ;
crtc->mode.vsync_start = 496 ;
crtc->mode.vsync_end = 504 ;
crtc->mode.vtotal = 512 ;
crtc->mode.clock = 24500000;
ret = drmModeSetCrtc(fd, crtc_id, fb_id, 640, 480, r->connectors, 1,
&(crtc->mode)) ;
the original settings reported by drmModeGetCrtc are
//480x640 8952 480 496 504 512 640 656 658 660 24500000
// 240x320 32712 240 256 264 272 320 336 338 340 24500000
as it is in xf86-video-glamo/src/glamo-kms-crtc.c, based on the values
for 480x640, I inverted the values of v with h and the other way
arround.
Unfortunatelly the white screen shows up... is any of the timings wrong?
rgrds,
mobi phil
being mobile, but including technology
http://mobiphil.com
More information about the community
mailing list