Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318651
b: refs/heads/master
c: 2514bc5
h: refs/heads/master
i:
  318649: 5960694
  318647: ce64f1b
v: v3
  • Loading branch information
Jesse Barnes authored and Daniel Vetter committed Jul 5, 2012
1 parent 2a08626 commit 0ab2b10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 930ebb462422117e12b85bb5fd6548ed13d0afb5
refs/heads/master: 2514bc510d0c3aadcc5204056bb440fa36845147
4 changes: 2 additions & 2 deletions trunk/drivers/gpu/drm/i915/intel_dp.c
Original file line number Diff line number Diff line change
Expand Up @@ -733,8 +733,8 @@ intel_dp_mode_fixup(struct drm_encoder *encoder, struct drm_display_mode *mode,
bpp = adjusted_mode->private_flags & INTEL_MODE_DP_FORCE_6BPC ? 18 : 24;
mode_rate = intel_dp_link_required(adjusted_mode->clock, bpp);

for (lane_count = 1; lane_count <= max_lane_count; lane_count <<= 1) {
for (clock = 0; clock <= max_clock; clock++) {
for (clock = 0; clock <= max_clock; clock++) {
for (lane_count = 1; lane_count <= max_lane_count; lane_count <<= 1) {
int link_avail = intel_dp_max_data_rate(intel_dp_link_clock(bws[clock]), lane_count);

if (mode_rate <= link_avail) {
Expand Down

0 comments on commit 0ab2b10

Please sign in to comment.