Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 345536
b: refs/heads/master
c: a3f9bca
h: refs/heads/master
v: v3
  • Loading branch information
Rahul Sharma authored and Inki Dae committed Dec 5, 2012
1 parent 704a3d0 commit b23a5c5
Show file tree
Hide file tree
Showing 2 changed files with 10 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: 3dc5fa9a157b9675775446fb83888b1803e0288a
refs/heads/master: a3f9bcab509a4bf003942e7e2048904cfe7cb5c5
9 changes: 9 additions & 0 deletions trunk/drivers/gpu/drm/exynos/exynos_hdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1979,9 +1979,18 @@ static void hdmi_mode_fixup(void *ctx, struct drm_connector *connector,
index = hdmi_v14_conf_index(m);

if (index >= 0) {
struct drm_mode_object base;
struct list_head head;

DRM_INFO("desired mode doesn't exist so\n");
DRM_INFO("use the most suitable mode among modes.\n");

/* preserve display mode header while copying. */
head = adjusted_mode->head;
base = adjusted_mode->base;
memcpy(adjusted_mode, m, sizeof(*m));
adjusted_mode->head = head;
adjusted_mode->base = base;
break;
}
}
Expand Down

0 comments on commit b23a5c5

Please sign in to comment.