linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Antonino A. Daplas" <adaplas@hotpop.com>
To: linux-fbdev-devel@lists.sourceforge.net, z g <zgrong188@hotmail.com>
Subject: Re: A strange question for LCD
Date: Tue, 5 Oct 2004 11:07:58 +0800	[thread overview]
Message-ID: <200410051107.58899.adaplas@hotpop.com> (raw)
In-Reply-To: <BAY17-F22jQHtMFauky00016eb2@hotmail.com>

On Monday 04 October 2004 23:15, z g wrote:
> I have a LCD(LQ035q7db02). It supports 240X320(H X W). I have a frame
> buffer driver for it and it works well. But I have to change the display
> mode in 320X240 (H X W) . I don't know whether I can change the frame
> buffer driver to implement it. If can, how to change the driver. If anyone
> can help me? Thanks!

You need to support 2 methods:

xxxfb_check_var()
- check the passed var structure for compatibility with the hardware. If
not, it's acceptable to return a modified var that is agreeable to the
driver. 

xxxfb_set_par()
- change the hardware state according to the contents of info->var.

Once you've added the above methods, you can choose the driver's initial
mode by various methods, or you can use fbset to change the resolution after
the driver loads.

Tony 




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

      parent reply	other threads:[~2004-10-05  3:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-04 15:15 A strange question for LCD z g
2004-10-04 19:39 ` Michal 'hramrach' Suchanek
2004-10-05  3:07 ` Antonino A. Daplas [this message]

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=200410051107.58899.adaplas@hotpop.com \
    --to=adaplas@hotpop.com \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    --cc=zgrong188@hotmail.com \
    /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).