Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 196431
b: refs/heads/master
c: a327f6b
h: refs/heads/master
i:
  196429: dc2754c
  196427: 140bc79
  196423: c6ec65c
  196415: 0af11be
v: v3
  • Loading branch information
Adam Jackson authored and Dave Airlie committed Apr 6, 2010
1 parent 8788312 commit c74d954
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: 59d8aff6e4fc2705053e7ce2948b51f7fe507536
refs/heads/master: a327f6b806103ee177aba20bb1e42ba7ec7d0f4b
5 changes: 4 additions & 1 deletion trunk/drivers/gpu/drm/drm_edid.c
Original file line number Diff line number Diff line change
Expand Up @@ -1295,7 +1295,10 @@ static int add_detailed_info(struct drm_connector *connector,

for (i = 0; i < EDID_DETAILED_TIMINGS; i++) {
struct detailed_timing *timing = &edid->detailed_timings[i];
int preferred = (i == 0) && (edid->features & DRM_EDID_FEATURE_PREFERRED_TIMING);
int preferred = (i == 0);

if (preferred && edid->version == 1 && edid->revision < 4)
preferred = (edid->features & DRM_EDID_FEATURE_PREFERRED_TIMING);

/* In 1.0, only timings are allowed */
if (!timing->pixel_clock && edid->version == 1 &&
Expand Down

0 comments on commit c74d954

Please sign in to comment.