summaryrefslogtreecommitdiff
path: root/vmwgfx_ldu.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2015-06-11 04:50:38 -0700
committerThomas Hellstrom <thellstrom@vmware.com>2015-09-07 01:20:11 -0700
commita22506d63937ad54fdd835a0df024f7784deabef (patch)
tree1913fd49a8fe6e000649ff859b38ea52ca37c2d1 /vmwgfx_ldu.c
parente494409bd4f886b0654cd1ab461c6a7c611c3334 (diff)
vmwgfx: Implement fbdev on kms v2
With screen targets the old legacy display system fbdev doesn't work satisfactory anymore. At best the resolution is severely restricted. Therefore implement fbdev on top of the kms system. With this change, fbdev will be using whatever KMS backend is chosen. There are helpers available for this, so in the future we'd probably want to implement the helper callbacks instead of calling into our KMS implementation directly. v2: Make sure we take the mode_config mutex around modesetting, Also clear the initial framebuffer using vzalloc instead of vmalloc. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Diffstat (limited to 'vmwgfx_ldu.c')
-rw-r--r--vmwgfx_ldu.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/vmwgfx_ldu.c b/vmwgfx_ldu.c
index b270c54..72f13b5 100644
--- a/vmwgfx_ldu.c
+++ b/vmwgfx_ldu.c
@@ -278,7 +278,6 @@ static int vmw_ldu_crtc_set_config(struct drm_mode_set *set)
return -EINVAL;
}
- vmw_fb_off(dev_priv);
vmw_svga_enable(dev_priv);
crtc->fb = fb;