Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 307069
b: refs/heads/master
c: 33c7531
h: refs/heads/master
i:
  307067: 35b0f26
v: v3
  • Loading branch information
Adam Jackson authored and Dave Airlie committed Apr 20, 2012
1 parent d942de9 commit 7aff871
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a31546e25563b13f2a5d7216ec83da93ecf6d1ca
refs/heads/master: 33c7531df850869a7b623d4dfcfcb7e2ab873844
10 changes: 10 additions & 0 deletions trunk/drivers/gpu/drm/drm_edid.c
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,16 @@ static void edid_fixup_preferred(struct drm_connector *connector,
preferred_mode->type |= DRM_MODE_TYPE_PREFERRED;
}

/*
* drm_mode_find_dmt - Create a copy of a mode if present in DMT
* @dev: Device to duplicate against
* @hsize: Mode width
* @vsize: Mode height
* @fresh: Mode refresh rate
*
* Walk the DMT mode list looking for a match for the given parameters.
* Return a newly allocated copy of the mode, or NULL if not found.
*/
struct drm_display_mode *drm_mode_find_dmt(struct drm_device *dev,
int hsize, int vsize, int fresh)
{
Expand Down

0 comments on commit 7aff871

Please sign in to comment.