Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 185631
b: refs/heads/master
c: d964fc5
h: refs/heads/master
i:
  185629: 70a2a9c
  185627: 4868db9
  185623: 0c8261b
  185615: ab1d67c
  185599: 470f89e
v: v3
  • Loading branch information
Matt Turner authored and Dave Airlie committed Mar 1, 2010
1 parent e8bf372 commit 238b8c3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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: 32b3c2abaf8c61c80a8b02071c73f05252122ffe
refs/heads/master: d964fc54ed06cea45dfd10832ed3d34f3ddb661b
2 changes: 1 addition & 1 deletion trunk/drivers/gpu/drm/radeon/r600_blit.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ set_render_target(drm_radeon_private_t *dev_priv, int format, int w, int h, u64
RING_LOCALS;
DRM_DEBUG("\n");

h = (h + 7) & ~7;
h = ALIGN(h, 8);
if (h < 8)
h = 8;

Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/gpu/drm/radeon/r600_blit_kms.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ set_render_target(struct radeon_device *rdev, int format,
u32 cb_color_info;
int pitch, slice;

h = (h + 7) & ~7;
h = ALIGN(h, 8);
if (h < 8)
h = 8;

Expand Down Expand Up @@ -396,7 +396,7 @@ set_default_state(struct radeon_device *rdev)
NUM_ES_STACK_ENTRIES(num_es_stack_entries));

/* emit an IB pointing at default state */
dwords = (rdev->r600_blit.state_len + 0xf) & ~0xf;
dwords = ALIGN(rdev->r600_blit.state_len, 0x10);
gpu_addr = rdev->r600_blit.shader_gpu_addr + rdev->r600_blit.state_offset;
radeon_ring_write(rdev, PACKET3(PACKET3_INDIRECT_BUFFER, 2));
radeon_ring_write(rdev, gpu_addr & 0xFFFFFFFC);
Expand Down

0 comments on commit 238b8c3

Please sign in to comment.