diff options
author | Christian König <[email protected]> | 2013-09-22 10:41:27 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2013-09-25 10:58:58 +0200 |
commit | f9f14201c18fcb4ba73605e20f015c00e70c1cdd (patch) | |
tree | 5c5352f92ee8349d8f3e4a27170c69bf2822eb64 /src/gallium/drivers/radeon | |
parent | 5f6ae61e69463b344247e088be41f0c036e1e412 (diff) |
radeon/uvd: move alignment to winsys
Similar to GFX and DMA.
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon')
-rw-r--r-- | src/gallium/drivers/radeon/radeon_uvd.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gallium/drivers/radeon/radeon_uvd.c b/src/gallium/drivers/radeon/radeon_uvd.c index fa8110541c5..a8b17e6376e 100644 --- a/src/gallium/drivers/radeon/radeon_uvd.c +++ b/src/gallium/drivers/radeon/radeon_uvd.c @@ -104,12 +104,6 @@ static unsigned alloc_stream_handle() /* flush IB to the hardware */ static void flush(struct ruvd_decoder *dec) { - uint32_t *pm4 = dec->cs->buf; - - // align IB - while(dec->cs->cdw % 16) - pm4[dec->cs->cdw++] = RUVD_PKT2(); - dec->ws->cs_flush(dec->cs, RADEON_FLUSH_ASYNC, 0); } |