[PATCH] drm/edid: Don't repeatedly log hex dumps of bad EDIDs by default

2010-09-18 Thread Andy Walls
flag is set. Signed-of-by: Andy Walls awa...@md.metrocast.net diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index dce5c4a..33a748c 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c @@ -173,9 +173,12 @@ drm_edid_block_valid(u8 *raw_edid) bad

Re: [PATCH] drm/edid: Don't repeatedly log hex dumps of bad EDIDs by default

2010-09-19 Thread Andy Walls
On Sat, 2010-09-18 at 13:50 +0200, Marcin Slusarz wrote: On Fri, Sep 17, 2010 at 06:53:26PM -0400, Andy Walls wrote: On my system, every 10 seconds drm_edid_block_valid() gets called 4 times by radeon_dvi_detect(). This results in 4 instances of a multi-line hex dump of the same EDID (non

Re: [PATCH] drm/edid: Don't repeatedly log hex dumps of bad EDIDs by default

2010-09-20 Thread Andy Walls
On Sun, 2010-09-19 at 20:39 +0200, Rafał Miłecki wrote: 2010/9/18 Marcin Slusarz marcin.slus...@gmail.com: On Fri, Sep 17, 2010 at 06:53:26PM -0400, Andy Walls wrote: On my system, every 10 seconds drm_edid_block_valid() gets called 4 times by radeon_dvi_detect(). This results in 4

[PATCH] drm/sysfs: Provide per connector control of DRM KMS polling

2010-09-20 Thread Andy Walls
for locally known uncorrectable conditions. Signed-off-by Andy Walls awa...@md.metrocast.net diff --git a/drivers/gpu/drm/drm_sysfs.c b/drivers/gpu/drm/drm_sysfs.c index 86118a7..8e0807d 100644 --- a/drivers/gpu/drm/drm_sysfs.c +++ b/drivers/gpu/drm/drm_sysfs.c @@ -318,11 +318,80 @@ static ssize_t

Re: [PATCH] drm/sysfs: Provide per connector control of DRM KMS polling

2010-09-20 Thread Andy Walls
On Mon, 2010-09-20 at 11:52 -0700, Greg KH wrote: On Mon, Sep 20, 2010 at 08:59:00AM -0400, Andy Walls wrote: This change allows the root user to disable (and re-enable) DRM KMS connector polling on a per connector basis via sysfs, like so: # cat /sys/class/drm/card0/card0-DVI

[PATCH v2 0/2] drm/sysfs: Provide per connector control of DRM KMS polling

2010-09-21 Thread Andy Walls
Per Greg's request, here is a resend of my previous patch to add sysfs entries to allow manual override of DRM KMS connector polling actions, with accompanying documentation. Only documentation has been added. No code has changed from the previous patch submission. diffstat:

[PATCH v2 1/2] drm/sysfs: Provide per connector control of DRM KMS polling

2010-09-21 Thread Andy Walls
for locally known uncorrectable conditions. Signed-off-by Andy Walls awa...@md.metrocast.net diff --git a/drivers/gpu/drm/drm_sysfs.c b/drivers/gpu/drm/drm_sysfs.c index 86118a7..8e0807d 100644 --- a/drivers/gpu/drm/drm_sysfs.c +++ b/drivers/gpu/drm/drm_sysfs.c @@ -318,11 +318,80 @@ static ssize_t

[PATCH v2 2/2] Doc/ABI: sysfs-drm initial document; polled entry

2010-09-21 Thread Andy Walls
This is the initial addition of documentation for the drm module's sysfs entries. It provides a drm sysfs entries overview, and a detailed description of the new drm per output connector polled entry in sysfs. Signed-of-by: Andy Walls awa...@md.metrocast.net diff --git a/Documentation/ABI

Re: [PATCH] drm/sysfs: Provide per connector control of DRM KMS polling

2010-09-22 Thread Andy Walls
On Wed, 2010-09-22 at 01:30 -0400, Alex Deucher wrote: On Tue, Sep 21, 2010 at 1:30 PM, Andy Walls awa...@md.metrocast.net wrote: In a larger sense it's about user policy for error reporting by the drm and radeon drivers, and error response by both the drivers and the user. In the face

Re: [PATCH] drm/sysfs: Provide per connector control of DRM KMS polling

2010-09-22 Thread Andy Walls
On Wed, 2010-09-22 at 11:44 +0200, Florian Mickler wrote: [cc'd chris wilson] Oops. Thanks! Hi Andy! On Mon, 20 Sep 2010 19:02:30 -0400 Andy Walls awa...@md.metrocast.net wrote: BTW, I found that Chris Wilson recently committed a change to inhibit all drm connector polling globally

Re: [PATCH v2 2/2] Doc/ABI: sysfs-drm initial document; polled entry

2010-09-22 Thread Andy Walls
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

Re: [PATCH] drm/sysfs: Provide per connector control of DRM KMS polling

2010-09-22 Thread Andy Walls
On Wed, 2010-09-22 at 08:31 -0400, Andy Walls wrote: On Wed, 2010-09-22 at 01:30 -0400, Alex Deucher wrote: It appears to be incorrect. If you send me a copy of the vbios, I can easily add a quirk. I suspect your board oem may offer several boards with different output configurations

Re: [RFC] Standardize YUV support in the fbdev API

2011-05-17 Thread Andy Walls
On Wed, 2011-05-18 at 00:07 +0200, Laurent Pinchart wrote: Hi everybody, I need to implement support for a YUV frame buffer in an fbdev driver. As the fbdev API doesn't support this out of the box, I've spent a couple of days reading fbdev (and KMS) code and thinking about how we could

Re: [RFC] Standardize YUV support in the fbdev API

2011-05-17 Thread Andy Walls
Oops. Nevermind, you already have looked at what ivtvfb does. -Andy ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel

[PATCH/RFC 0/5] HDMI driver for Samsung S5PV310 platform

2011-02-09 Thread Andy Walls
On Wed, 2011-02-09 at 02:12 -0500, Alex Deucher wrote: > On Tue, Feb 8, 2011 at 5:47 PM, Andy Walls wrote: > > On Tue, 2011-02-08 at 10:28 -0500, Alex Deucher wrote: > >> On Tue, Feb 8, 2011 at 4:47 AM, Hans Verkuil wrote: > >> > Just two quick notes. I'll try to

[PATCH] drm/edid: Don't repeatedly log hex dumps of bad EDIDs by default

2010-09-17 Thread Andy Walls
flag is set. Signed-of-by: Andy Walls diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index dce5c4a..33a748c 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c @@ -173,9 +173,12 @@ drm_edid_block_valid(u8 *raw_edid) bad: if (raw_edid

[PATCH] drm/edid: Don't repeatedly log hex dumps of bad EDIDs by default

2010-09-18 Thread Andy Walls
On Sat, 2010-09-18 at 13:50 +0200, Marcin Slusarz wrote: > On Fri, Sep 17, 2010 at 06:53:26PM -0400, Andy Walls wrote: > > On my system, every 10 seconds drm_edid_block_valid() gets called 4 > > times by radeon_dvi_detect(). This results in 4 instances of a > > multi-line

[PATCH] drm/edid: Don't repeatedly log hex dumps of bad EDIDs by default

2010-09-19 Thread Andy Walls
On Sun, 2010-09-19 at 20:39 +0200, Rafa? Mi?ecki wrote: > 2010/9/18 Marcin Slusarz : > > On Fri, Sep 17, 2010 at 06:53:26PM -0400, Andy Walls wrote: > >> On my system, every 10 seconds drm_edid_block_valid() gets called 4 > >> times by radeon_dvi_detect().

[PATCH] drm/sysfs: Provide per connector control of DRM KMS polling

2010-09-20 Thread Andy Walls
to silence DRM KMS log spam for locally known uncorrectable conditions. Signed-off-by Andy Walls diff --git a/drivers/gpu/drm/drm_sysfs.c b/drivers/gpu/drm/drm_sysfs.c index 86118a7..8e0807d 100644 --- a/drivers/gpu/drm/drm_sysfs.c +++ b/drivers/gpu/drm/drm_sysfs.c @@ -318,11 +318,80 @@ static

[PATCH] drm/sysfs: Provide per connector control of DRM KMS polling

2010-09-20 Thread Andy Walls
On Mon, 2010-09-20 at 11:52 -0700, Greg KH wrote: > On Mon, Sep 20, 2010 at 08:59:00AM -0400, Andy Walls wrote: > > This change allows the root user to disable (and re-enable) DRM KMS > > connector polling on a per connector basis via sysfs, like so: > > > >

[PATCH] drm/sysfs: Provide per connector control of DRM KMS polling

2010-09-20 Thread Andy Walls
On Mon, 2010-09-20 at 20:29 +0200, Rafa? Mi?ecki wrote: > 2010/9/20 Andy Walls : > > DRM KMS polling of connections providing errant EDID responses, or > > polling of "connectors" that have chips responding on DDC I2C bus > > address 0xA0/0xA1 with no actual phy

[PATCH] drm/sysfs: Provide per connector control of DRM KMS polling

2010-09-21 Thread Andy Walls
On Tue, 2010-09-21 at 00:26 -0400, Alex Deucher wrote: > 2010/9/20 Andy Walls : > > On Mon, 2010-09-20 at 20:29 +0200, Rafa? Mi?ecki wrote: > >> 2010/9/20 Andy Walls : > >> > DRM KMS polling of connections providing errant EDID responses, or > >> &g

[PATCH v2 0/2] drm/sysfs: Provide per connector control of DRM KMS polling

2010-09-22 Thread Andy Walls
Per Greg's request, here is a resend of my previous patch to add sysfs entries to allow manual override of DRM KMS connector polling actions, with accompanying documentation. Only documentation has been added. No code has changed from the previous patch submission. diffstat:

[PATCH v2 1/2] drm/sysfs: Provide per connector control of DRM KMS polling

2010-09-22 Thread Andy Walls
to silence DRM KMS log spam for locally known uncorrectable conditions. Signed-off-by Andy Walls diff --git a/drivers/gpu/drm/drm_sysfs.c b/drivers/gpu/drm/drm_sysfs.c index 86118a7..8e0807d 100644 --- a/drivers/gpu/drm/drm_sysfs.c +++ b/drivers/gpu/drm/drm_sysfs.c @@ -318,11 +318,80 @@ static

[PATCH v2 2/2] Doc/ABI: sysfs-drm initial document; "polled" entry

2010-09-22 Thread Andy Walls
This is the initial addition of documentation for the drm module's sysfs entries. It provides a drm sysfs entries overview, and a detailed description of the new drm per output connector "polled" entry in sysfs. Signed-of-by: Andy Walls diff --git a/Documentation/ABI/testing/sy

[PATCH] drm/sysfs: Provide per connector control of DRM KMS polling

2010-09-22 Thread Andy Walls
On Wed, 2010-09-22 at 01:30 -0400, Alex Deucher wrote: > On Tue, Sep 21, 2010 at 1:30 PM, Andy Walls > wrote: > > In a larger sense it's about user policy for error reporting by the drm > > and radeon drivers, and error response by both the drivers and the user. > >

[PATCH] drm/sysfs: Provide per connector control of DRM KMS polling

2010-09-22 Thread Andy Walls
On Wed, 2010-09-22 at 11:44 +0200, Florian Mickler wrote: > [cc'd chris wilson] Oops. Thanks! > Hi Andy! > > On Mon, 20 Sep 2010 19:02:30 -0400 > Andy Walls wrote: > > > BTW, I found that Chris Wilson recently committed a change to inhibit > > all

[PATCH v2 2/2] Doc/ABI: sysfs-drm initial document; "polled" entry

2010-09-22 Thread Andy Walls
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, ... > > +

[PATCH] drm/sysfs: Provide per connector control of DRM KMS polling

2010-09-22 Thread Andy Walls
On Wed, 2010-09-22 at 08:31 -0400, Andy Walls wrote: > On Wed, 2010-09-22 at 01:30 -0400, Alex Deucher wrote: > > It appears to be incorrect. If you send me a copy of the vbios, I can > > easily add a quirk. I suspect your board oem may offer several boards > >

[PATCH] drm/sysfs: Provide per connector control of DRM KMS polling

2010-09-22 Thread Andy Walls
On Wed, 2010-09-22 at 09:33 -0400, Jon Smirl wrote: > On Wed, Sep 22, 2010 at 1:30 AM, Alex Deucher > wrote: > > On Tue, Sep 21, 2010 at 1:30 PM, Andy Walls > > wrote: > >> On Tue, 2010-09-21 at 00:26 -0400, Alex Deucher wrote: > >>> 2010/9/20 Andy Wall

[PATCH] drm/sysfs: Provide per connector control of DRM KMS polling

2010-09-26 Thread Andy Walls
On Fri, 2010-09-24 at 15:12 -0400, Alex Deucher wrote: > On Wed, Sep 22, 2010 at 5:07 PM, Andy Walls > wrote: > > On Wed, 2010-09-22 at 09:33 -0400, Jon Smirl wrote: > >> On Wed, Sep 22, 2010 at 1:30 AM, Alex Deucher > >> wrote: > >> > On Tue, Sep 21,

[RFC] Standardize YUV support in the fbdev API

2011-05-17 Thread Andy Walls
On Wed, 2011-05-18 at 00:07 +0200, Laurent Pinchart wrote: > Hi everybody, > > I need to implement support for a YUV frame buffer in an fbdev driver. As the > fbdev API doesn't support this out of the box, I've spent a couple of days > reading fbdev (and KMS) code and thinking about how we

[RFC] Standardize YUV support in the fbdev API

2011-05-17 Thread Andy Walls
Oops. Nevermind, you already have looked at what ivtvfb does. -Andy