summaryrefslogtreecommitdiff
path: root/linux-core/intel_fb.c
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@jbarnes-t61.(none)>2008-05-23 18:41:58 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-05-23 18:41:58 -0700
commitb4d8cda8e6d6ea319ab7c471d6d68b8af8693cfe (patch)
treeb85c1f91cbcb1c38ea61aac7526452cea9f826da /linux-core/intel_fb.c
parent1cde3cc1ac467eb0527ed55127cf3bb983afde80 (diff)
drm_mode_debug_printmodeline doesn't need struct drm_device *
Makes printing modelines from some routines easier.
Diffstat (limited to 'linux-core/intel_fb.c')
-rw-r--r--linux-core/intel_fb.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/linux-core/intel_fb.c b/linux-core/intel_fb.c
index 9934e3af..4f5a0000 100644
--- a/linux-core/intel_fb.c
+++ b/linux-core/intel_fb.c
@@ -288,9 +288,9 @@ static int intelfb_set_par(struct fb_info *info)
return -EINVAL;
found = 0;
- drm_mode_debug_printmodeline(dev, drm_mode);
+ drm_mode_debug_printmodeline(drm_mode);
list_for_each_entry(search_mode, &output->modes, head) {
- drm_mode_debug_printmodeline(dev, search_mode);
+ drm_mode_debug_printmodeline(search_mode);
if (drm_mode_equal(drm_mode, search_mode)) {
drm_mode_destroy(dev, drm_mode);
drm_mode = search_mode;
@@ -310,7 +310,7 @@ static int intelfb_set_par(struct fb_info *info)
par->set.mode = drm_mode;
par->our_mode = drm_mode;
- drm_mode_debug_printmodeline(dev, drm_mode);
+ drm_mode_debug_printmodeline(drm_mode);
/* attach mode */
drm_mode_attachmode_crtc(dev, par->set.crtc, par->set.mode);
} else {
@@ -330,8 +330,8 @@ static int intelfb_set_par(struct fb_info *info)
if (par->crtc->x != var->xoffset || par->crtc->y != var->yoffset)
changed = 1;
- drm_mode_debug_printmodeline(dev, drm_mode);
- drm_mode_debug_printmodeline(dev, &par->crtc->mode);
+ drm_mode_debug_printmodeline(drm_mode);
+ drm_mode_debug_printmodeline(&par->crtc->mode);
if (!drm_mode_equal(drm_mode, &par->crtc->mode))
changed = 1;