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
Kirill Smelkov
linux
Commits
fb7c2a71
Commit
fb7c2a71
authored
May 15, 2014
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/disp/dp: support aux read interval during link training
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
7dc351b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
drivers/gpu/drm/nouveau/core/engine/disp/dport.c
drivers/gpu/drm/nouveau/core/engine/disp/dport.c
+5
-2
drivers/gpu/drm/nouveau/core/engine/disp/dport.h
drivers/gpu/drm/nouveau/core/engine/disp/dport.h
+3
-4
No files found.
drivers/gpu/drm/nouveau/core/engine/disp/dport.c
View file @
fb7c2a71
...
...
@@ -48,7 +48,7 @@ struct dp_state {
u8
version
;
struct
nouveau_i2c_port
*
aux
;
int
head
;
u8
dpcd
[
4
];
u8
dpcd
[
16
];
int
link_nr
;
u32
link_bw
;
u8
stat
[
6
];
...
...
@@ -149,7 +149,10 @@ dp_link_train_update(struct dp_state *dp, u32 delay)
{
int
ret
;
udelay
(
delay
);
if
(
dp
->
dpcd
[
DPCD_RC0E_AUX_RD_INTERVAL
])
mdelay
(
dp
->
dpcd
[
DPCD_RC0E_AUX_RD_INTERVAL
]
*
4
);
else
udelay
(
delay
);
ret
=
nv_rdaux
(
dp
->
aux
,
DPCD_LS02
,
dp
->
stat
,
6
);
if
(
ret
)
...
...
drivers/gpu/drm/nouveau/core/engine/disp/dport.h
View file @
fb7c2a71
...
...
@@ -2,15 +2,14 @@
#define __NVKM_DISP_DPORT_H__
/* DPCD Receiver Capabilities */
#define DPCD_RC00 0x00000
#define DPCD_RC00_DPCD_REV 0xff
#define DPCD_RC01 0x00001
#define DPCD_RC01_MAX_LINK_RATE 0xff
#define DPCD_RC00_DPCD_REV 0x00000
#define DPCD_RC01_MAX_LINK_RATE 0x00001
#define DPCD_RC02 0x00002
#define DPCD_RC02_ENHANCED_FRAME_CAP 0x80
#define DPCD_RC02_MAX_LANE_COUNT 0x1f
#define DPCD_RC03 0x00003
#define DPCD_RC03_MAX_DOWNSPREAD 0x01
#define DPCD_RC0E_AUX_RD_INTERVAL 0x0000e
/* DPCD Link Configuration */
#define DPCD_LC00 0x00100
...
...
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