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
3d208bef
Commit
3d208bef
authored
Aug 03, 2011
by
Keith Packard
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'drm-intel-fixes' into drm-intel-next
parents
62ac41a6
4edd17a2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_dp.c
+11
-4
No files found.
drivers/gpu/drm/i915/intel_dp.c
View file @
3d208bef
...
@@ -317,8 +317,16 @@ intel_dp_aux_ch(struct intel_dp *intel_dp,
...
@@ -317,8 +317,16 @@ intel_dp_aux_ch(struct intel_dp *intel_dp,
else
else
precharge
=
5
;
precharge
=
5
;
if
(
I915_READ
(
ch_ctl
)
&
DP_AUX_CH_CTL_SEND_BUSY
)
{
/* Try to wait for any previous AUX channel activity */
DRM_ERROR
(
"dp_aux_ch not started status 0x%08x
\n
"
,
for
(
try
=
0
;
try
<
3
;
try
++
)
{
status
=
I915_READ
(
ch_ctl
);
if
((
status
&
DP_AUX_CH_CTL_SEND_BUSY
)
==
0
)
break
;
msleep
(
1
);
}
if
(
try
==
3
)
{
WARN
(
1
,
"dp_aux_ch not started status 0x%08x
\n
"
,
I915_READ
(
ch_ctl
));
I915_READ
(
ch_ctl
));
return
-
EBUSY
;
return
-
EBUSY
;
}
}
...
@@ -1690,7 +1698,6 @@ intel_dp_detect(struct drm_connector *connector, bool force)
...
@@ -1690,7 +1698,6 @@ intel_dp_detect(struct drm_connector *connector, bool force)
struct
edid
*
edid
=
NULL
;
struct
edid
*
edid
=
NULL
;
intel_dp
->
has_audio
=
false
;
intel_dp
->
has_audio
=
false
;
memset
(
intel_dp
->
dpcd
,
0
,
sizeof
(
intel_dp
->
dpcd
));
if
(
HAS_PCH_SPLIT
(
dev
))
if
(
HAS_PCH_SPLIT
(
dev
))
status
=
ironlake_dp_detect
(
intel_dp
);
status
=
ironlake_dp_detect
(
intel_dp
);
...
...
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