diff options
author | Michel Dänzer <daenzer@vmware.com> | 2011-08-31 03:42:49 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-09-01 04:37:40 -0400 |
commit | 6558429bc4c7351cc3d80fc9055f1204a9adf060 (patch) | |
tree | 445a5c6d97088fb2740c775edc446b5ebdd0c4de /drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | |
parent | e666d66b427b0ddebda890d4d60013c925332266 (diff) |
vmwgfx: Fix 'bbp' typo
Signed-off-by: Michel Dänzer <daenzer@vmware.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_kms.c')
-rw-r--r-- | drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c index 97654075039b..be8163b8f1ae 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | |||
@@ -992,7 +992,7 @@ out: | |||
992 | 992 | ||
993 | void vmw_kms_write_svga(struct vmw_private *vmw_priv, | 993 | void vmw_kms_write_svga(struct vmw_private *vmw_priv, |
994 | unsigned width, unsigned height, unsigned pitch, | 994 | unsigned width, unsigned height, unsigned pitch, |
995 | unsigned bbp, unsigned depth) | 995 | unsigned bpp, unsigned depth) |
996 | { | 996 | { |
997 | if (vmw_priv->capabilities & SVGA_CAP_PITCHLOCK) | 997 | if (vmw_priv->capabilities & SVGA_CAP_PITCHLOCK) |
998 | vmw_write(vmw_priv, SVGA_REG_PITCHLOCK, pitch); | 998 | vmw_write(vmw_priv, SVGA_REG_PITCHLOCK, pitch); |
@@ -1000,7 +1000,7 @@ void vmw_kms_write_svga(struct vmw_private *vmw_priv, | |||
1000 | iowrite32(pitch, vmw_priv->mmio_virt + SVGA_FIFO_PITCHLOCK); | 1000 | iowrite32(pitch, vmw_priv->mmio_virt + SVGA_FIFO_PITCHLOCK); |
1001 | vmw_write(vmw_priv, SVGA_REG_WIDTH, width); | 1001 | vmw_write(vmw_priv, SVGA_REG_WIDTH, width); |
1002 | vmw_write(vmw_priv, SVGA_REG_HEIGHT, height); | 1002 | vmw_write(vmw_priv, SVGA_REG_HEIGHT, height); |
1003 | vmw_write(vmw_priv, SVGA_REG_BITS_PER_PIXEL, bbp); | 1003 | vmw_write(vmw_priv, SVGA_REG_BITS_PER_PIXEL, bpp); |
1004 | } | 1004 | } |
1005 | 1005 | ||
1006 | int vmw_kms_save_vga(struct vmw_private *vmw_priv) | 1006 | int vmw_kms_save_vga(struct vmw_private *vmw_priv) |