diff options
author | Jakob Bornecrantz <jakob@vmware.com> | 2010-03-04 18:50:36 +0000 |
---|---|---|
committer | Jakob Bornecrantz <jakob@vmware.com> | 2010-03-04 18:52:37 +0000 |
commit | c1966ff4874db991c01d11aaed175303b7172d8a (patch) | |
tree | 39861442acf51224c0931f2ab5990cf0428dd78b /vmwgfx_fb.c | |
parent | a5229c416857cc5d78fdd09cb463668cff854827 (diff) |
vmwgfx: Don't use SVGA_REG_ENABLE in modesetting code
Diffstat (limited to 'vmwgfx_fb.c')
-rw-r--r-- | vmwgfx_fb.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/vmwgfx_fb.c b/vmwgfx_fb.c index c240399..48b89c1 100644 --- a/vmwgfx_fb.c +++ b/vmwgfx_fb.c @@ -156,7 +156,6 @@ static int vmw_fb_set_par(struct fb_info *info) struct vmw_private *vmw_priv = par->vmw_priv; if (vmw_priv->capabilities & SVGA_CAP_DISPLAY_TOPOLOGY) { - vmw_write(vmw_priv, SVGA_REG_ENABLE, 0); vmw_write(vmw_priv, SVGA_REG_DISPLAY_ID, 0); vmw_write(vmw_priv, SVGA_REG_DISPLAY_IS_PRIMARY, true); vmw_write(vmw_priv, SVGA_REG_DISPLAY_POSITION_X, 0); @@ -178,13 +177,10 @@ static int vmw_fb_set_par(struct fb_info *info) vmw_write(vmw_priv, SVGA_REG_DISPLAY_HEIGHT, info->var.yres); vmw_write(vmw_priv, SVGA_REG_DISPLAY_ID, SVGA_ID_INVALID); vmw_write(vmw_priv, SVGA_REG_NUM_GUEST_DISPLAYS, 1); - vmw_write(vmw_priv, SVGA_REG_ENABLE, 1); } else { - vmw_write(vmw_priv, SVGA_REG_ENABLE, 0); vmw_kms_write_svga(vmw_priv, info->var.xres, info->var.yres, info->fix.line_length, par->bpp, par->depth); - vmw_write(vmw_priv, SVGA_REG_ENABLE, 1); } |