Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 307082
b: refs/heads/master
c: 0280917
h: refs/heads/master
v: v3
  • Loading branch information
Jim Cromie authored and Dave Airlie committed Apr 20, 2012
1 parent e771d40 commit 9753efb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: fc48f169dd2e461e687a63c3a69ade57b4ece59e
refs/heads/master: 02809179bb10f73be38cb2d221f3cc9b871daaa5
7 changes: 3 additions & 4 deletions trunk/drivers/gpu/drm/drm_edid_modes.h
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ static const struct minimode est3_modes[] = {
{ 1920, 1440, 60, 0 },
{ 1920, 1440, 75, 0 },
};
static const int num_est3_modes = sizeof(est3_modes) / sizeof(est3_modes[0]);
static const int num_est3_modes = ARRAY_SIZE(est3_modes);

static const struct minimode extra_modes[] = {
{ 1024, 576, 60, 0 },
Expand All @@ -482,7 +482,7 @@ static const struct minimode extra_modes[] = {
{ 2048, 1152, 60, 0 },
{ 2048, 1536, 60, 0 },
};
static const int num_extra_modes = sizeof(extra_modes) / sizeof(extra_modes[0]);
static const int num_extra_modes = ARRAY_SIZE(extra_modes);

/*
* Probably taken from CEA-861 spec.
Expand Down Expand Up @@ -771,5 +771,4 @@ static const struct drm_display_mode edid_cea_modes[] = {
2492, 2640, 0, 1080, 1084, 1094, 1125, 0,
DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC) },
};
static const int drm_num_cea_modes =
sizeof (edid_cea_modes) / sizeof (edid_cea_modes[0]);
static const int drm_num_cea_modes = ARRAY_SIZE(edid_cea_modes);

0 comments on commit 9753efb

Please sign in to comment.