From: "Antonino A. Daplas" <adaplas@gmail.com>
To: linux-fbdev-devel@lists.sourceforge.net
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Subject: Re: [PATCH 2.6.17-rc6-mm2] fbdev: tag by scantype in sysfs
Date: Tue, 20 Jun 2006 18:29:56 +0800 [thread overview]
Message-ID: <4497CE24.7050908@gmail.com> (raw)
In-Reply-To: <4497C289.5060007@st.com>
Daniel THOMPSON wrote:
> Antonino A. Daplas wrote:
>> Daniel THOMPSON wrote:
>>> There has been no further comment since this was posted in early May.
>>> This either means is uncontentious or useless ... I hope the former.
>>>
>> I thought you were still in 'discussion' mode with Geert :-)
>
> I was, but there was no further discussion so I brought it back to you.
>
>> Anyway, this should be fine, I'm just a bit worried that it might
>> break existing user apps that might be used to having modes without
>> the scan type specified.
>
> I shared this worry which is why my original patch only tagged the,
> comparatively rare, interlaced modes. However the current approach (no
> optional fields) is slightly cleaner and I took the view that since
> no-one on fbdev-devel seems to object ...
>
Okay. But if we are going to break this, let's break it with finality.
Does anyone believe that the above format is final? How about including
sync signals too?
#define FB_SYNC_HOR_HIGH_ACT 1 /* horizontal sync high active */
#define FB_SYNC_VERT_HIGH_ACT 2 /* vertical sync high active */
#define FB_SYNC_EXT 4 /* external sync */
#define FB_SYNC_COMP_HIGH_ACT 8 /* composite sync high active */
#define FB_SYNC_BROADCAST 16 /* broadcast video timings */
Secondly, that attribute 'modes' violate the 'one file, one value' rule of
sysfs (and that includes 'virtual_size', and 'pan'). We need to clean
these up. How about something like this?
/sys/class/graphics---fb0
:
--fb1
:
--fbn
:
--mode0---640x480@60
: :
: --1024x768@60
:
--mode1
where mode[n] represents the currently attached display to fb[n]
Tony
next prev parent reply other threads:[~2006-06-20 10:30 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-20 7:57 [PATCH 2.6.17-rc6-mm2] fbdev: tag by scantype in sysfs Daniel THOMPSON
2006-06-20 8:42 ` Antonino A. Daplas
2006-06-20 9:40 ` Daniel THOMPSON
2006-06-20 10:29 ` Antonino A. Daplas [this message]
2006-06-23 8:04 ` Daniel THOMPSON
2006-06-23 9:16 ` Geert Uytterhoeven
2006-06-23 9:50 ` Daniel THOMPSON
2006-06-23 12:00 ` Antonino A. Daplas
2006-06-23 20:23 ` Luca
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=4497CE24.7050908@gmail.com \
--to=adaplas@gmail.com \
--cc=adaplas@pol.net \
--cc=linux-fbdev-devel@lists.sourceforge.net \
/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).