aboutsummaryrefslogtreecommitdiff
path: root/linux-core/nv50_cursor.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core/nv50_cursor.c')
-rw-r--r--linux-core/nv50_cursor.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/linux-core/nv50_cursor.c b/linux-core/nv50_cursor.c
index 4196df6b..47ae11bb 100644
--- a/linux-core/nv50_cursor.c
+++ b/linux-core/nv50_cursor.c
@@ -126,6 +126,7 @@ static int nv50_cursor_set_bo(struct nv50_crtc *crtc, drm_handle_t handle)
crtc->cursor->show(crtc);
}
} else {
+ DRM_ERROR("Unable to find cursor bo with handle 0x%X\n", handle);
return -EINVAL;
}
@@ -151,9 +152,6 @@ int nv50_cursor_create(struct nv50_crtc *crtc)
crtc->cursor->enable = nv50_cursor_enable;
crtc->cursor->disable = nv50_cursor_disable;
- /* defaults */
- crtc->cursor->visible = true; /* won't happen until there is a cursor bo */
-
return 0;
}