projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1c0a00
)
drm/i915: Replace aux_ch_ctl_reg check with port check
author
Ville Syrjälä
<
[email protected]
>
Wed, 11 Nov 2015 18:34:10 +0000
(20:34 +0200)
committer
Ville Syrjälä
<
[email protected]
>
Mon, 16 Nov 2015 13:59:37 +0000
(15:59 +0200)
Instead of checking what aux_ch_ctl_reg is, we can simply check the port
when determining the right timeout value to program.
v2: Reorder patches to reduce churn (Chris)
Signed-off-by: Ville Syrjälä <
[email protected]
>
Reviewed-by: Chris Wilson <
[email protected]
> (v1)
Link:
http://patchwork.freedesktop.org/patch/msgid/
[email protected]
drivers/gpu/drm/i915/intel_dp.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_dp.c
b/drivers/gpu/drm/i915/intel_dp.c
index 99b7f1d51415a2be9ae691314af0320f50d24d4a..891a7f8e1b9ebcfda9ed2fc59840758abdfbd29f 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_dp.c
+++ b/
drivers/gpu/drm/i915/intel_dp.c
@@
-750,7
+750,7
@@
static uint32_t i9xx_get_aux_send_ctl(struct intel_dp *intel_dp,
else
precharge = 5;
- if (IS_BROADWELL(dev) && intel_d
p->aux_ch_ctl_reg == DPA_AUX_CH_CTL
)
+ if (IS_BROADWELL(dev) && intel_d
ig_port->port == PORT_A
)
timeout = DP_AUX_CH_CTL_TIME_OUT_600us;
else
timeout = DP_AUX_CH_CTL_TIME_OUT_400us;