diff options
author | Jerome Glisse <[email protected]> | 2013-04-23 19:22:33 -0400 |
---|---|---|
committer | Jerome Glisse <[email protected]> | 2013-04-25 18:36:31 -0400 |
commit | abb96fdea70546f974ba59cbd00bc54afee9cfdb (patch) | |
tree | 26cd3596731ed64e3a242ded8779bb1930472a70 /src/gallium/drivers/radeon | |
parent | 53fbae7eace466d8fe22173c01518fbde7102d6c (diff) |
winsys/radeon: consolidate tracing into winsys v2
This move the tracing timeout and printing into winsys and add
an debug environement variable for it (R600_DEBUG=trace_cs).
Lot of file touched because of winsys API changes.
v2: Do not write lockup file if ib uniq id does not match last one
Signed-off-by: Jerome Glisse <[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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeon/radeon_uvd.c b/src/gallium/drivers/radeon/radeon_uvd.c index dae78803e7d..dfd1d9f7246 100644 --- a/src/gallium/drivers/radeon/radeon_uvd.c +++ b/src/gallium/drivers/radeon/radeon_uvd.c @@ -109,7 +109,7 @@ static void flush(struct ruvd_decoder *dec) while(dec->cs->cdw % 16) pm4[dec->cs->cdw++] = RUVD_PKT2(); - dec->ws->cs_flush(dec->cs, 0); + dec->ws->cs_flush(dec->cs, 0, 0); } /* add a new set register command to the IB */ @@ -859,7 +859,7 @@ struct pipe_video_decoder *ruvd_create_decoder(struct pipe_context *context, dec->set_dtb = set_dtb; dec->stream_handle = alloc_stream_handle(); dec->ws = ws; - dec->cs = ws->cs_create(ws, RING_UVD); + dec->cs = ws->cs_create(ws, RING_UVD, NULL); if (!dec->cs) { RUVD_ERR("Can't get command submission context.\n"); goto error; |