From: Zhao Yakui <yakui.z...@intel.com>

We can get the corresponding info by adding the boot option of "drm.debug=
0x07". But On some boxes it will print the following message many times in
course of moving mouse. In such case the useful DRM debug info will be flushed.
   >[drm:drm_mode_cursor_ioctl],

Avoid using the DRM_DEBUG_KMS in drm_mode_cursor_ioctl.

Signed-off-by: Zhao Yakui <yakui.z...@intel.com>
---
 drivers/gpu/drm/drm_crtc.c |    2 --
 1 file changed, 2 deletions(-)

Index: linux-2.6/drivers/gpu/drm/drm_crtc.c
===================================================================
--- linux-2.6.orig/drivers/gpu/drm/drm_crtc.c   2009-09-30 15:04:39.000000000 
+0800
+++ linux-2.6/drivers/gpu/drm/drm_crtc.c        2009-09-30 15:06:56.000000000 
+0800
@@ -1556,8 +1556,6 @@
        struct drm_crtc *crtc;
        int ret = 0;
 
-       DRM_DEBUG_KMS("\n");
-
        if (!req->flags) {
                DRM_ERROR("no operation set\n");
                return -EINVAL;

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to