diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2014-08-15 23:07:01 +0100 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2014-08-28 21:24:37 +0100 |
commit | 30f3df4e538a668f53a31f0b376e06116b722a10 (patch) | |
tree | 8f8f3600c4635f5a001922839fb0be5455269e06 /src/gallium/winsys | |
parent | a131263a2f19507ca0d2f6093672d930a7c054d1 (diff) | |
download | external_mesa3d-30f3df4e538a668f53a31f0b376e06116b722a10.zip external_mesa3d-30f3df4e538a668f53a31f0b376e06116b722a10.tar.gz external_mesa3d-30f3df4e538a668f53a31f0b376e06116b722a10.tar.bz2 |
winsys/radeon: move radeon_cs_dump.h to drm
... to ease packaging (make dist).
Update it to fetch libdrm's include/libs via pkg-config.
Cc: Marek Olšák <marek.olsak@amd.com>
Cc: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r-- | src/gallium/winsys/radeon/drm/radeon_ctx.h (renamed from src/gallium/winsys/radeon/tools/radeon_ctx.h) | 0 | ||||
-rw-r--r-- | src/gallium/winsys/radeon/drm/radeon_drm_cs_dump.c | 4 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/winsys/radeon/tools/radeon_ctx.h b/src/gallium/winsys/radeon/drm/radeon_ctx.h index 5618b3a..5618b3a 100644 --- a/src/gallium/winsys/radeon/tools/radeon_ctx.h +++ b/src/gallium/winsys/radeon/drm/radeon_ctx.h diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_cs_dump.c b/src/gallium/winsys/radeon/drm/radeon_drm_cs_dump.c index 8d67918..09665df 100644 --- a/src/gallium/winsys/radeon/drm/radeon_drm_cs_dump.c +++ b/src/gallium/winsys/radeon/drm/radeon_drm_cs_dump.c @@ -81,9 +81,9 @@ void radeon_dump_cs_on_lockup(struct radeon_drm_cs *cs, struct radeon_cs_context } fprintf(dump, "/* To build this file you will need to copy radeon_ctx.h\n"); fprintf(dump, " * in same directory. You can find radeon_ctx.h in mesa tree :\n"); - fprintf(dump, " * mesa/src/gallium/winsys/radeon/tools/radeon_ctx.h\n"); + fprintf(dump, " * mesa/src/gallium/winsys/radeon/drm/radeon_ctx.h\n"); fprintf(dump, " * Build with :\n"); - fprintf(dump, " * gcc -O0 -g %s -ldrm -o rlockup_0x%08x -I/usr/include/libdrm\n", fname, csc->cs_trace_id); + fprintf(dump, " * gcc -O0 -g `pkg-config --cflags --libs libdrm` %s -o rlockup_0x%08x \n", fname, csc->cs_trace_id); fprintf(dump, " */\n"); fprintf(dump, " /* timeout on cs lockup likely happen at cs 0x%08x dw 0x%08x*/\n", ptr[1], ptr[0]); fprintf(dump, "#include <stdio.h>\n"); |