diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2014-11-03 07:33:01 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-12-02 08:44:01 +0300 |
commit | 036a12b681cd7ce44b2b9c47065c700cd6261992 (patch) | |
tree | 1b62bc587e8350279ff7d2197bd03838d468fca0 /drivers/gpu/drm/nouveau/nouveau_display.c | |
parent | 6aac6ced4e285a7831e759bd7bbc18c8631b0682 (diff) | |
download | linux-036a12b681cd7ce44b2b9c47065c700cd6261992.tar.xz |
drm/nv50/kms: remove a couple of cursor-related stub functions
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_display.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_display.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_display.c b/drivers/gpu/drm/nouveau/nouveau_display.c index a311a3f932f0..e02ab391c870 100644 --- a/drivers/gpu/drm/nouveau/nouveau_display.c +++ b/drivers/gpu/drm/nouveau/nouveau_display.c @@ -633,6 +633,8 @@ nouveau_display_resume(struct drm_device *dev, bool runtime) struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); u32 offset = nv_crtc->cursor.nvbo->bo.offset; + if (!nv_crtc->cursor.set_offset) + continue; nv_crtc->cursor.set_offset(nv_crtc, offset); nv_crtc->cursor.set_pos(nv_crtc, nv_crtc->cursor_saved_x, nv_crtc->cursor_saved_y); |