Skip to content

Commit

Permalink
drm/nouveau: Fix bandwidth calculation for DisplayPort
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adam Jackson authored and Ben Skeggs committed Nov 9, 2011
1 parent 1e482f7 commit 5c79507
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/nouveau/nouveau_connector.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5c79507

Please sign in to comment.