linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* KMS + fb + FBIOPUT_VSCREENINFO
@ 2009-04-28  8:32 Peter Hanzel
  2009-04-29  6:57 ` Andrew Morton
  2009-04-29  7:27 ` Dave Airlie
  0 siblings, 2 replies; 4+ messages in thread
From: Peter Hanzel @ 2009-04-28  8:32 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-fbdev-devel

Hello.

I have tried DRM with intel KMS and it is workiing. I am using only 
framebuffer console.
Fbcon initializes 1280x800 mode and it works like a charm.

But when I try to call FBIOPUT_VSCREENINFO on /dev/fb0, it always returns 
EINVAL,
I have checked drivers/gpu/drm/i915/intel_fb.c
and found that

intelfb_check_var        returns -EINVAL     if (var->pixclock == -1 || 
!var->pixclock)
intelfb_set_par             returns -EINVAL    if (var->pixclock != -1) { 
DRM_ERROR("PIXEL CLCOK SET\n");  return

So the FBIOPUT_VSCREENINFO always fails.

So is the change of resolution not supported through FBIOPUT_VSCREENINFO 
call?

Thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-04-29 11:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-28  8:32 KMS + fb + FBIOPUT_VSCREENINFO Peter Hanzel
2009-04-29  6:57 ` Andrew Morton
2009-04-29  7:27 ` Dave Airlie
2009-04-29 11:02   ` [Linux-fbdev-devel] " Sergey Kvachonok

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).