summaryrefslogtreecommitdiff
path: root/linux-core/intel_display.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_display.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_display.c')
-rw-r--r--linux-core/intel_display.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/linux-core/intel_display.c b/linux-core/intel_display.c
index 273f76d0..e7162c2c 100644
--- a/linux-core/intel_display.c
+++ b/linux-core/intel_display.c
@@ -846,7 +846,7 @@ static void intel_crtc_mode_set(struct drm_crtc *crtc,
I915_WRITE(PFIT_CONTROL, 0);
DRM_DEBUG("Mode for pipe %c:\n", pipe == 0 ? 'A' : 'B');
- drm_mode_debug_printmodeline(dev, mode);
+ drm_mode_debug_printmodeline(mode);
#if 0
if (!xf86ModesEqual(mode, adjusted_mode)) {
@@ -1015,8 +1015,6 @@ static int intel_crtc_cursor_set(struct drm_crtc *crtc,
temp |= (pipe << 28);
temp |= CURSOR_MODE_64_ARGB_AX | MCURSOR_GAMMA_ENABLE;
- DRM_DEBUG("cusror base %x\n", addr);
-
I915_WRITE(control, temp);
I915_WRITE(base, addr);