Skip to content

Commit

Permalink
drm: Delete the DRM_DEBUG_KMS in drm_mode_cursor_ioctl
Browse files Browse the repository at this point in the history
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.zhao@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Zhao Yakui authored and Dave Airlie committed Oct 5, 2009
1 parent b442962 commit 185974d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/gpu/drm/drm_crtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1556,8 +1556,6 @@ int drm_mode_cursor_ioctl(struct drm_device *dev,
struct drm_crtc *crtc;
int ret = 0;

DRM_DEBUG_KMS("\n");

if (!req->flags) {
DRM_ERROR("no operation set\n");
return -EINVAL;
Expand Down

0 comments on commit 185974d

Please sign in to comment.