Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 307076
b: refs/heads/master
c: cb21aaf
h: refs/heads/master
v: v3
  • Loading branch information
Adam Jackson authored and Dave Airlie committed Apr 20, 2012
1 parent e61e7de commit 6fe72ed
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 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: 6201ee39263e9ae251648e90e0cbb2496de92016
refs/heads/master: cb21aafe121b1c3ad4c77cc5c22320163f16ba42
11 changes: 6 additions & 5 deletions trunk/drivers/gpu/drm/drm_edid.c
Original file line number Diff line number Diff line change
Expand Up @@ -1042,12 +1042,13 @@ do_inferred_modes(struct detailed_timing *timing, void *c)
{
struct detailed_mode_closure *closure = c;
struct detailed_non_pixel *data = &timing->data.other_data;
int gtf = (closure->edid->features & DRM_EDID_FEATURE_DEFAULT_GTF);

if (gtf && data->type == EDID_DETAIL_MONITOR_RANGE)
closure->modes += drm_dmt_modes_for_range(closure->connector,
closure->edid,
timing);
if (data->type != EDID_DETAIL_MONITOR_RANGE)
return;

closure->modes += drm_dmt_modes_for_range(closure->connector,
closure->edid,
timing);
}

static int
Expand Down

0 comments on commit 6fe72ed

Please sign in to comment.