Commit 6cee1f83 authored by Akshay Joshi's avatar Akshay Joshi Committed by Greg Kroah-Hartman

gma500: Convert spaces to tabs in accel_2d.c.

Convert the spaces within the accel_2d.c file to tabs in order to comply
with the coding style of the kernel.
Signed-off-by: default avatarAkshay Joshi <me@akshayjoshi.com>
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 6b8402b5
...@@ -118,7 +118,7 @@ static int psbfb_2d_submit(struct drm_psb_private *dev_priv, uint32_t *cmdbuf, ...@@ -118,7 +118,7 @@ static int psbfb_2d_submit(struct drm_psb_private *dev_priv, uint32_t *cmdbuf,
size -= submit_size; size -= submit_size;
ret = psb_2d_wait_available(dev_priv, submit_size); ret = psb_2d_wait_available(dev_priv, submit_size);
if (ret) if (ret)
break; break;
submit_size <<= 2; submit_size <<= 2;
...@@ -388,19 +388,19 @@ int psb_accel_ioctl(struct drm_device *dev, void *data, struct drm_file *file) ...@@ -388,19 +388,19 @@ int psb_accel_ioctl(struct drm_device *dev, void *data, struct drm_file *file)
for (i = 0; i < op->size; i++, op_ptr++) { for (i = 0; i < op->size; i++, op_ptr++) {
u32 r = *op_ptr & 0xF0000000; u32 r = *op_ptr & 0xF0000000;
/* Fill in the GTT offsets for the command buffer */ /* Fill in the GTT offsets for the command buffer */
if (r == PSB_2D_SRC_SURF_BH || if (r == PSB_2D_SRC_SURF_BH ||
r == PSB_2D_DST_SURF_BH || r == PSB_2D_DST_SURF_BH ||
r == PSB_2D_MASK_SURF_BH || r == PSB_2D_MASK_SURF_BH ||
r == PSB_2D_PAT_SURF_BH) { r == PSB_2D_PAT_SURF_BH) {
i++; i++;
op_ptr++; op_ptr++;
if (i == op->size) if (i == op->size)
goto bad; goto bad;
if (*op_ptr) if (*op_ptr)
goto bad; goto bad;
*op_ptr = gtt->offset; *op_ptr = gtt->offset;
continue; continue;
} }
} }
psbfb_2d_submit(dev_priv, op->cmd, op->size); psbfb_2d_submit(dev_priv, op->cmd, op->size);
err = 0; err = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment