winsys/radeon: consolidate tracing into winsys v2
authorJerome Glisse <jglisse@redhat.com>
Tue, 23 Apr 2013 23:22:33 +0000 (19:22 -0400)
committerJerome Glisse <jglisse@redhat.com>
Thu, 25 Apr 2013 22:36:31 +0000 (18:36 -0400)
commitabb96fdea70546f974ba59cbd00bc54afee9cfdb
tree26cd3596731ed64e3a242ded8779bb1930472a70
parent53fbae7eace466d8fe22173c01518fbde7102d6c
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 <jglisse@redhat.com>
Reviewed-by: Marek Olšák <maraeo@gmail.com>
16 files changed:
src/gallium/drivers/r300/r300_context.c
src/gallium/drivers/r300/r300_flush.c
src/gallium/drivers/r600/evergreen_compute.c
src/gallium/drivers/r600/r600_hw_context.c
src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/r600/r600_pipe.h
src/gallium/drivers/r600/r600_state_common.c
src/gallium/drivers/radeon/radeon_uvd.c
src/gallium/drivers/radeonsi/r600_hw_context.c
src/gallium/drivers/radeonsi/radeonsi_compute.c
src/gallium/drivers/radeonsi/radeonsi_pipe.c
src/gallium/winsys/radeon/drm/radeon_drm_cs.c
src/gallium/winsys/radeon/drm/radeon_drm_cs.h
src/gallium/winsys/radeon/drm/radeon_drm_cs_dump.c
src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
src/gallium/winsys/radeon/drm/radeon_winsys.h