From: Andy Walls <awalls@md.metrocast.net>
To: Greg KH <greg@kroah.com>
Cc: linux-kernel@vger.kernel.org, "Rafał Miłecki" <zajec5@gmail.com>,
"Dave Airlie" <airlied@redhat.com>,
dri-devel@lists.freedesktop.org, "Jon Smirl" <jonsmirl@gmail.com>
Subject: Re: [PATCH v2 2/2] Doc/ABI: sysfs-drm initial document; "polled" entry
Date: Wed, 22 Sep 2010 12:36:06 -0400 [thread overview]
Message-ID: <1285173366.3121.16.camel@morgan.silverblock.net> (raw)
In-Reply-To: <20100922150603.GB26401@kroah.com>
On Wed, 2010-09-22 at 08:06 -0700, Greg KH wrote:
> On Tue, Sep 21, 2010 at 11:20:22PM -0400, Andy Walls wrote:
> > +Where: /sys/devices/<...>/drm/cardN/cardN-C-M/polled
> > + For N a decimal system graphics adapter number: 0, 1, 2, ...
> > + For C a connector type name (including spaces) from the set:
>
> Spaces? Really? Yeah, I know it will work just fine, but why go out of
> your way to make it hard for people?
Not my fault.
It was like that when I got here.
$ ls -d /sys/devices/pci0000\:00/0000\:00\:01.0/0000\:01\:05.0/drm//card0/card0*
/sys/devices/pci0000:00/0000:00:01.0/0000:01:05.0/drm//card0/card0-DVI-D-1
/sys/devices/pci0000:00/0000:00:01.0/0000:01:05.0/drm//card0/card0-HDMI Type A-1
/sys/devices/pci0000:00/0000:00:01.0/0000:01:05.0/drm//card0/card0-VGA-1
I only added one entry, "polled", in those existing directories.
BTW, Jon Smirl, IBM Corp, and you have Copyright credit in the
drm_sysfs.c file that creates those directories with spaces. ;)
I'll also gripe that PCI's colons are pretty annoying on the command
line too, since they have to be escaped as well.
> > + HDMI Type A
> > + HDMI Type B
> > + TV
> > + Embedded DisplayPort
>
> You could always just use a '_' instead of a space for those that need
> it.
A trivial patch here would do that:
http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=blob;f=drivers/gpu/drm/drm_crtc.c;h=37e0b4fa482a810afc9eded6fda136a90bcc5cc0;hb=refs/heads/drm-fixes#l146
but I have no idea what that might break.
Regards,
Andy
WARNING: multiple messages have this Message-ID (diff)
From: Andy Walls <awalls@md.metrocast.net>
To: Greg KH <greg@kroah.com>
Cc: Dave Airlie <airlied@redhat.com>,
linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
Jon Smirl <jonsmirl@gmail.com>
Subject: Re: [PATCH v2 2/2] Doc/ABI: sysfs-drm initial document; "polled" entry
Date: Wed, 22 Sep 2010 12:36:06 -0400 [thread overview]
Message-ID: <1285173366.3121.16.camel@morgan.silverblock.net> (raw)
In-Reply-To: <20100922150603.GB26401@kroah.com>
On Wed, 2010-09-22 at 08:06 -0700, Greg KH wrote:
> On Tue, Sep 21, 2010 at 11:20:22PM -0400, Andy Walls wrote:
> > +Where: /sys/devices/<...>/drm/cardN/cardN-C-M/polled
> > + For N a decimal system graphics adapter number: 0, 1, 2, ...
> > + For C a connector type name (including spaces) from the set:
>
> Spaces? Really? Yeah, I know it will work just fine, but why go out of
> your way to make it hard for people?
Not my fault.
It was like that when I got here.
$ ls -d /sys/devices/pci0000\:00/0000\:00\:01.0/0000\:01\:05.0/drm//card0/card0*
/sys/devices/pci0000:00/0000:00:01.0/0000:01:05.0/drm//card0/card0-DVI-D-1
/sys/devices/pci0000:00/0000:00:01.0/0000:01:05.0/drm//card0/card0-HDMI Type A-1
/sys/devices/pci0000:00/0000:00:01.0/0000:01:05.0/drm//card0/card0-VGA-1
I only added one entry, "polled", in those existing directories.
BTW, Jon Smirl, IBM Corp, and you have Copyright credit in the
drm_sysfs.c file that creates those directories with spaces. ;)
I'll also gripe that PCI's colons are pretty annoying on the command
line too, since they have to be escaped as well.
> > + HDMI Type A
> > + HDMI Type B
> > + TV
> > + Embedded DisplayPort
>
> You could always just use a '_' instead of a space for those that need
> it.
A trivial patch here would do that:
http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=blob;f=drivers/gpu/drm/drm_crtc.c;h=37e0b4fa482a810afc9eded6fda136a90bcc5cc0;hb=refs/heads/drm-fixes#l146
but I have no idea what that might break.
Regards,
Andy
next prev parent reply other threads:[~2010-09-22 16:36 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-20 12:59 [PATCH] drm/sysfs: Provide per connector control of DRM KMS polling Andy Walls
2010-09-20 18:29 ` Rafał Miłecki
2010-09-20 18:29 ` Rafał Miłecki
2010-09-20 23:02 ` Andy Walls
2010-09-21 4:26 ` Alex Deucher
2010-09-21 17:30 ` Andy Walls
2010-09-22 5:30 ` Alex Deucher
2010-09-22 12:31 ` Andy Walls
2010-09-22 12:31 ` Andy Walls
2010-09-22 20:16 ` Andy Walls
2010-09-22 20:16 ` Andy Walls
2010-09-22 13:33 ` Jon Smirl
2010-09-22 21:07 ` Andy Walls
2010-09-22 22:05 ` Jon Smirl
2010-09-24 19:12 ` Alex Deucher
2010-09-26 18:12 ` Andy Walls
2010-09-26 18:12 ` Andy Walls
2010-09-27 15:45 ` Alex Deucher
2010-09-27 15:45 ` Alex Deucher
2010-09-22 3:20 ` [PATCH v2 0/2] " Andy Walls
2010-09-22 3:20 ` Andy Walls
2010-09-22 3:20 ` [PATCH v2 1/2] " Andy Walls
2010-09-22 3:20 ` [PATCH v2 2/2] Doc/ABI: sysfs-drm initial document; "polled" entry Andy Walls
2010-09-22 15:06 ` Greg KH
2010-09-22 15:06 ` Greg KH
2010-09-22 16:36 ` Andy Walls [this message]
2010-09-22 16:36 ` Andy Walls
2010-09-22 19:23 ` Greg KH
2010-09-22 19:23 ` Greg KH
2010-09-20 18:52 ` [PATCH] drm/sysfs: Provide per connector control of DRM KMS polling Greg KH
2010-09-20 21:11 ` Andy Walls
2010-09-22 9:44 ` Florian Mickler
2010-09-22 12:49 ` Andy Walls
2010-09-22 12:49 ` Andy Walls
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=1285173366.3121.16.camel@morgan.silverblock.net \
--to=awalls@md.metrocast.net \
--cc=airlied@redhat.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=greg@kroah.com \
--cc=jonsmirl@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=zajec5@gmail.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.