diff options
author | Jerome Glisse <[email protected]> | 2013-01-28 19:07:10 -0500 |
---|---|---|
committer | Jerome Glisse <[email protected]> | 2013-01-28 19:09:52 -0500 |
commit | e1598cb642334c809e6ec219d793e7bc85a213de (patch) | |
tree | 048eeb5062bdb171aa5ebe8ca3114405a2a9025e /src/gallium/drivers/r600/evergreen_state.c | |
parent | da638781f63df2020f6e6ab537226cd58232bd99 (diff) |
r600g: use uint64_t instead of unsigned long for proper 32bits cpu support
Signed-off-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/evergreen_state.c')
-rw-r--r-- | src/gallium/drivers/r600/evergreen_state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/evergreen_state.c b/src/gallium/drivers/r600/evergreen_state.c index be1c427ce29..0a3861f30f3 100644 --- a/src/gallium/drivers/r600/evergreen_state.c +++ b/src/gallium/drivers/r600/evergreen_state.c @@ -3481,7 +3481,7 @@ static void evergreen_dma_copy_tile(struct r600_context *rctx, unsigned array_mode, lbpp, pitch_tile_max, slice_tile_max, size; unsigned ncopy, height, cheight, detile, i, x, y, z, src_mode, dst_mode; unsigned sub_cmd, bank_h, bank_w, mt_aspect, nbanks, tile_split; - unsigned long base, addr; + uint64_t base, addr; /* make sure that the dma ring is only one active */ rctx->rings.gfx.flush(rctx, RADEON_FLUSH_ASYNC); @@ -3625,7 +3625,7 @@ boolean evergreen_dma_blit(struct pipe_context *ctx, } if (src_mode == dst_mode) { - unsigned long dst_offset, src_offset; + uint64_t dst_offset, src_offset; /* simple dma blit would do NOTE code here assume : * src_box.x/y == 0 * dst_x/y == 0 |