summaryrefslogtreecommitdiff
path: root/linux-core/drm_edid.c
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@hobbes.virtuousgeek.org>2007-04-18 11:49:42 -0700
committerJesse Barnes <jbarnes@hobbes.virtuousgeek.org>2007-04-18 11:49:42 -0700
commit5587961cfeff86d8368ff03867a1f0667e4a64d4 (patch)
treea413697936c9bbf059413ba64762e82ac48a2fce /linux-core/drm_edid.c
parentdfc02547ff5f35bfa5cffd6a0dcb56402db59f33 (diff)
Document main drm_crtc.c functions, and rename drm_crtc_mode_create to
drm_mode_create to be consistent with the other functions. Also document where we need locking fixes and what the locks are for.
Diffstat (limited to 'linux-core/drm_edid.c')
-rw-r--r--linux-core/drm_edid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/drm_edid.c b/linux-core/drm_edid.c
index 9acdc8da..a9cf23a1 100644
--- a/linux-core/drm_edid.c
+++ b/linux-core/drm_edid.c
@@ -66,7 +66,7 @@ struct drm_display_mode *drm_mode_std(struct drm_device *dev,
struct drm_display_mode *mode;
int hsize = t->hsize * 8 + 248, vsize;
- mode = drm_crtc_mode_create(dev);
+ mode = drm_mode_create(dev);
if (!mode)
return NULL;
@@ -109,7 +109,7 @@ struct drm_display_mode *drm_mode_detailed(drm_device_t *dev,
return NULL;
}
- mode = drm_crtc_mode_create(dev);
+ mode = drm_mode_create(dev);
if (!mode)
return NULL;