projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e482f7
)
drm/nouveau: Fix bandwidth calculation for DisplayPort
author
Adam Jackson
<ajax@redhat.com>
Tue, 25 Oct 2011 17:09:43 +0000
(13:09 -0400)
committer
Ben Skeggs
<bskeggs@redhat.com>
Wed, 9 Nov 2011 23:03:05 +0000
(09:03 +1000)
Ported from the equivalent fix in drm-intel-next:
http://cgit.freedesktop.org/~keithp/linux/commit/?h=drm-intel-next&id=
cd9dde44f47501394b9f0715b6a36a92aa74c0d0
Signed-off-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_connector.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/nouveau/nouveau_connector.c
b/drivers/gpu/drm/nouveau/nouveau_connector.c
index e0d275e1c96c05c302693c49b7093cde95eccc40..cea6696b19064e48a7c4f1e94bef793377962db8 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nouveau_connector.c
+++ b/
drivers/gpu/drm/nouveau/nouveau_connector.c
@@
-710,7
+710,7
@@
nouveau_connector_mode_valid(struct drm_connector *connector,
case OUTPUT_DP:
max_clock = nv_encoder->dp.link_nr;
max_clock *= nv_encoder->dp.link_bw;
- clock = clock * nouveau_connector_bpp(connector) /
8
;
+ clock = clock * nouveau_connector_bpp(connector) /
10
;
break;
default:
BUG_ON(1);