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
7919faab
Commit
7919faab
authored
Dec 11, 2018
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/bios: translate USB-C connector type
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
2d5257b7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/conn.h
drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/conn.h
+1
-0
drivers/gpu/drm/nouveau/nouveau_connector.c
drivers/gpu/drm/nouveau/nouveau_connector.c
+2
-1
No files found.
drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/conn.h
View file @
7919faab
...
...
@@ -20,6 +20,7 @@ enum dcb_connector_type {
DCB_CONNECTOR_DMS59_DP0
=
0x64
,
DCB_CONNECTOR_DMS59_DP1
=
0x65
,
DCB_CONNECTOR_WFD
=
0x70
,
DCB_CONNECTOR_USB_C
=
0x71
,
DCB_CONNECTOR_NONE
=
0xff
};
...
...
drivers/gpu/drm/nouveau/nouveau_connector.c
View file @
7919faab
...
...
@@ -1219,7 +1219,8 @@ drm_conntype_from_dcb(enum dcb_connector_type dcb)
case
DCB_CONNECTOR_LVDS_SPWG
:
return
DRM_MODE_CONNECTOR_LVDS
;
case
DCB_CONNECTOR_DMS59_DP0
:
case
DCB_CONNECTOR_DMS59_DP1
:
case
DCB_CONNECTOR_DP
:
return
DRM_MODE_CONNECTOR_DisplayPort
;
case
DCB_CONNECTOR_DP
:
case
DCB_CONNECTOR_USB_C
:
return
DRM_MODE_CONNECTOR_DisplayPort
;
case
DCB_CONNECTOR_eDP
:
return
DRM_MODE_CONNECTOR_eDP
;
case
DCB_CONNECTOR_HDMI_0
:
case
DCB_CONNECTOR_HDMI_1
:
...
...
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