Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 267985
b: refs/heads/master
c: 6cee1f8
h: refs/heads/master
i:
  267983: 6fc996f
v: v3
  • Loading branch information
Akshay Joshi authored and Greg Kroah-Hartman committed Aug 26, 2011
1 parent 1f6ca85 commit a15a2ef
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6b8402b5fe6803f350cf4ce2933c382a1f6e099b
refs/heads/master: 6cee1f83448bc568de8b426f7cc15f0dc6f4b064
14 changes: 7 additions & 7 deletions trunk/drivers/staging/gma500/accel_2d.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ static int psbfb_2d_submit(struct drm_psb_private *dev_priv, uint32_t *cmdbuf,
size -= submit_size;
ret = psb_2d_wait_available(dev_priv, submit_size);
if (ret)
break;
break;

submit_size <<= 2;

Expand Down Expand Up @@ -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++) {
u32 r = *op_ptr & 0xF0000000;
/* Fill in the GTT offsets for the command buffer */
if (r == PSB_2D_SRC_SURF_BH ||
r == PSB_2D_DST_SURF_BH ||
if (r == PSB_2D_SRC_SURF_BH ||
r == PSB_2D_DST_SURF_BH ||
r == PSB_2D_MASK_SURF_BH ||
r == PSB_2D_PAT_SURF_BH) {
i++;
op_ptr++;
if (i == op->size)
goto bad;
if (*op_ptr)
if (*op_ptr)
goto bad;
*op_ptr = gtt->offset;
continue;
}
*op_ptr = gtt->offset;
continue;
}
}
psbfb_2d_submit(dev_priv, op->cmd, op->size);
err = 0;
Expand Down

0 comments on commit a15a2ef

Please sign in to comment.