summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Brace <kevinbrace@gmx.com>2018-04-30 20:20:51 -0700
committerKevin Brace <kevinbrace@gmx.com>2018-04-30 20:20:51 -0700
commitb10340a9845f8f537bd94685a34ebb31706c70bc (patch)
treed042ad99663f964b0adfe3776d01a3d59cccbccf
parent9dddceab145375a19d0c3b92bbb6c6e8e3e29124 (diff)
drm/openchrome: Remove entered / exited messages for hardware cursor
The entered / exited messages for hardware cursor cause too much kern.log message pollution. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
-rw-r--r--drivers/gpu/drm/openchrome/via_crtc.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/drivers/gpu/drm/openchrome/via_crtc.c b/drivers/gpu/drm/openchrome/via_crtc.c
index c5a3ddee6e0f..6434a6c91b3c 100644
--- a/drivers/gpu/drm/openchrome/via_crtc.c
+++ b/drivers/gpu/drm/openchrome/via_crtc.c
@@ -156,8 +156,6 @@ static void via_hide_cursor(struct drm_crtc *crtc)
struct via_device *dev_priv = crtc->dev->dev_private;
uint32_t temp;
- DRM_DEBUG_KMS("Entered %s.\n", __func__);
-
switch (dev->pdev->device) {
case PCI_DEVICE_ID_VIA_PM800:
case PCI_DEVICE_ID_VIA_VT3157:
@@ -180,8 +178,6 @@ static void via_hide_cursor(struct drm_crtc *crtc)
VIA_WRITE(HI_CONTROL, temp & 0xFFFFFFFA);
break;
}
-
- DRM_DEBUG_KMS("Exiting %s.\n", __func__);
}
static void via_show_cursor(struct drm_crtc *crtc)
@@ -190,8 +186,6 @@ static void via_show_cursor(struct drm_crtc *crtc)
struct via_crtc *iga = container_of(crtc, struct via_crtc, base);
struct via_device *dev_priv = crtc->dev->dev_private;
- DRM_DEBUG_KMS("Entered %s.\n", __func__);
-
switch (dev->pdev->device) {
case PCI_DEVICE_ID_VIA_PM800:
case PCI_DEVICE_ID_VIA_VT3157:
@@ -248,8 +242,6 @@ static void via_show_cursor(struct drm_crtc *crtc)
break;
}
-
- DRM_DEBUG_KMS("Exiting %s.\n", __func__);
}
static void via_cursor_address(struct drm_crtc *crtc)
@@ -258,10 +250,8 @@ static void via_cursor_address(struct drm_crtc *crtc)
struct via_crtc *iga = container_of(crtc, struct via_crtc, base);
struct via_device *dev_priv = crtc->dev->dev_private;
- DRM_DEBUG_KMS("Entered %s.\n", __func__);
-
if (!iga->cursor_kmap.bo) {
- goto exit;
+ return;
}
switch (dev->pdev->device) {
@@ -283,9 +273,6 @@ static void via_cursor_address(struct drm_crtc *crtc)
VIA_WRITE(HI_FBOFFSET, iga->cursor_kmap.bo->offset);
break;
}
-
-exit:
- DRM_DEBUG_KMS("Exiting %s.\n", __func__);
}
static int via_crtc_cursor_set(struct drm_crtc *crtc,
@@ -300,8 +287,6 @@ static int via_crtc_cursor_set(struct drm_crtc *crtc,
struct drm_gem_object *obj = NULL;
struct ttm_bo_kmap_obj user_kmap;
- DRM_DEBUG_KMS("Entered %s.\n", __func__);
-
if (!iga->cursor_kmap.bo)
return -ENXIO;
@@ -350,7 +335,6 @@ static int via_crtc_cursor_set(struct drm_crtc *crtc,
via_cursor_address(crtc);
via_show_cursor(crtc);
- DRM_DEBUG_KMS("Exiting %s.\n", __func__);
return ret;
}