Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
e540afc3
Commit
e540afc3
authored
May 30, 2011
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nv50: DCB table quirks for another busted XFX board
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
ad830d23
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
+31
-0
drivers/gpu/drm/nouveau/nouveau_bios.c
drivers/gpu/drm/nouveau/nouveau_bios.c
+31
-0
No files found.
drivers/gpu/drm/nouveau/nouveau_bios.c
View file @
e540afc3
...
...
@@ -6377,6 +6377,37 @@ apply_dcb_encoder_quirks(struct drm_device *dev, int idx, u32 *conn, u32 *conf)
}
}
/* Some other twisted XFX board (rhbz#694914)
*
* The DVI/VGA encoder combo that's supposed to represent the
* DVI-I connector actually point at two different ones, and
* the HDMI connector ends up paired with the VGA instead.
*
* Connector table is missing anything for VGA at all, pointing it
* an invalid conntab entry 2 so we figure it out ourself.
*/
if
(
nv_match_device
(
dev
,
0x0615
,
0x1682
,
0x2605
))
{
if
(
idx
==
0
)
{
*
conn
=
0x02002300
;
/* VGA, connector 2 */
*
conf
=
0x00000028
;
}
else
if
(
idx
==
1
)
{
*
conn
=
0x01010312
;
/* DVI, connector 0 */
*
conf
=
0x00020030
;
}
else
if
(
idx
==
2
)
{
*
conn
=
0x04020310
;
/* VGA, connector 0 */
*
conf
=
0x00000028
;
}
else
if
(
idx
==
3
)
{
*
conn
=
0x02021322
;
/* HDMI, connector 1 */
*
conf
=
0x00020010
;
}
else
{
*
conn
=
0x0000000e
;
/* EOL */
*
conf
=
0x00000000
;
}
}
return
true
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment