All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jon Smirl <jonsmirl@gmail.com>
To: "Antonino A. Daplas" <adaplas@gmail.com>
Cc: Vladimir Dergachev <volodya@mindspring.com>,
	Ian Romanick <idr@us.ibm.com>,
	linux-fbdev-devel@lists.sourceforge.net,
	DRI developer's list <dri-devel@lists.sourceforge.net>
Subject: Re: CRTC scanout buffer types
Date: Sun, 7 Aug 2005 22:33:26 -0400	[thread overview]
Message-ID: <9e47339105080719338b78aa@mail.gmail.com> (raw)
In-Reply-To: <42F6B21E.1070405@gmail.com>

On 8/7/05, Antonino A. Daplas <adaplas@gmail.com> wrote:
> Vladimir Dergachev wrote:
> >> I agree that something like the above is acceptable, exept that we need
> >> an extra field for offset and another if indexed color or not. So
> >> something like:
> >>
> >> A:2/0/R:10/2/G:10/12/B:10/22//I

The offsets are not needed as part of the input, they should be part
of the output display. It is the chip driver that will determine the
offsets, not the user.

The only exception I can think of is that the radeon hardware can
control which nibble is used in 4bpp. I'd say if you need that kind of
control use the ioctl and keep the sysfs input string simpler. If the
config is set from sysfs let the driver pick the nibble order.

This also implies that you don't need to control RGB vs BGR on input,
just let the driver choose and check what you got on output.

> >
> > This is getting more cryptic by the minute.
> >
> > Can't we have a simple field: value lines ? Something like:
> > AlphaBits: 2
> > AlphaOffset: 0
> >
> 
> The problem with doing that is you need to set everything in one go.
> Separating all those fields into different sysfs attributes will have
> a problem with synchronization.
> 
> One workaround is to have another attribute 'Activate'. Nothing is set
> until the 'Activate' attribute is written to.  There is still the problem
> of another process changing the other attributes behind the back of the
> original process.
> 
> Tony
> 


-- 
Jon Smirl
jonsmirl@gmail.com


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

  parent reply	other threads:[~2005-08-08  2:33 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-05 20:19 CRTC scanout buffer types Jon Smirl
2005-08-06 23:23 ` Patrick McFarland
2005-08-06 23:27   ` Jon Smirl
2005-08-06 23:45   ` Dave Airlie
2005-08-07  9:43 ` Geert Uytterhoeven
2005-08-07 13:41   ` [Linux-fbdev-devel] " Jon Smirl
2005-08-07 20:42     ` Geert Uytterhoeven
2005-08-07 21:03     ` [Linux-fbdev-devel] " Ian Romanick
2005-08-07 21:45       ` Antonino A. Daplas
2005-08-07 22:31         ` [Linux-fbdev-devel] " Vladimir Dergachev
2005-08-08  1:15           ` Antonino A. Daplas
2005-08-08  2:05             ` [Linux-fbdev-devel] " Vladimir Dergachev
2005-08-08  2:33             ` Jon Smirl [this message]
2005-08-08  5:52               ` Antonino A. Daplas
2005-08-08  8:39               ` Geert Uytterhoeven
2005-08-08 13:14                 ` [Linux-fbdev-devel] " Jon Smirl
2005-08-07 21:10     ` Antonino A. Daplas
2005-08-08  8:41       ` Geert Uytterhoeven

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=9e47339105080719338b78aa@mail.gmail.com \
    --to=jonsmirl@gmail.com \
    --cc=adaplas@gmail.com \
    --cc=dri-devel@lists.sourceforge.net \
    --cc=idr@us.ibm.com \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    --cc=volodya@mindspring.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.