linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Peter Hanzel <hanzelpeter@gmail.com>
Cc: linux-kernel@vger.kernel.org,
	linux-fbdev-devel@lists.sourceforge.net,
	dri-devel@lists.sourceforge.net
Subject: Re: KMS + fb + FBIOPUT_VSCREENINFO
Date: Tue, 28 Apr 2009 23:57:23 -0700	[thread overview]
Message-ID: <20090428235723.f9495676.akpm@linux-foundation.org> (raw)
In-Reply-To: <8563BBE2A1F848B3B98C1A5FAE08BD09@avitech.sk>

(cc dri-devel)

On Tue, 28 Apr 2009 10:32:34 +0200 "Peter Hanzel" <hanzelpeter@gmail.com> wrote:

> 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?
> 

  reply	other threads:[~2009-04-29  6:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-28  8:32 KMS + fb + FBIOPUT_VSCREENINFO Peter Hanzel
2009-04-29  6:57 ` Andrew Morton [this message]
2009-04-29  7:27 ` Dave Airlie
2009-04-29 11:02   ` [Linux-fbdev-devel] " Sergey Kvachonok

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090428235723.f9495676.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=dri-devel@lists.sourceforge.net \
    --cc=hanzelpeter@gmail.com \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).