diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2010-03-02 12:53:54 -0800 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2010-03-02 13:08:02 -0800 |
commit | 49349f6e47b7315088a80789f134895677f57287 (patch) | |
tree | 9c5c6062096b2916bd22ee23cb1afb6b4ecb0ae0 /src/g80_output.c | |
parent | 7b01fc8f4ba1182370980f54a34bdb959e291e02 (diff) |
G80: Log unrecognized outputs
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
Reviewed-by: Andy Ritger <aritger@nvidia.com>
Diffstat (limited to 'src/g80_output.c')
-rw-r--r-- | src/g80_output.c | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/src/g80_output.c b/src/g80_output.c index b2d8b07..887208b 100644 --- a/src/g80_output.c +++ b/src/g80_output.c @@ -106,9 +106,13 @@ static Bool G80ReadPortMapping(int scrnIndex, G80Ptr pNv) port = (b >> 4) & 0xf; or = ffs((b >> 24) & 0xf) - 1; - if(b & 0x300000) + if(b & 0x300000) { /* Can't handle this type of output yet */ + xf86DrvMsg(scrnIndex, X_INFO, + "Ignoring unsupported external output type %d at output " + "%d\n", type, or); continue; + } if(type == 0xe) break; @@ -140,7 +144,8 @@ static Bool G80ReadPortMapping(int scrnIndex, G80Ptr pNv) pNv->i2cMap[port].dac = or; break; case 1: /* TV */ - /* Ignore TVs */ + xf86DrvMsg(scrnIndex, X_INFO, + "Ignoring unsupported TV output %d\n", or); break; case 2: /* TMDS */ @@ -200,7 +205,15 @@ static Bool G80ReadPortMapping(int scrnIndex, G80Ptr pNv) break; + case 6: /* DisplayPort */ + xf86DrvMsg(scrnIndex, X_INFO, + "Ignoring unsupported DisplayPort output %d\n", or); + break; + default: + xf86DrvMsg(scrnIndex, X_INFO, + "Ignoring unsupported output type %d at port %d\n", + type, or); break; } } |