summaryrefslogtreecommitdiff
path: root/src/sna/kgem_debug_gen4.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sna/kgem_debug_gen4.c')
-rw-r--r--src/sna/kgem_debug_gen4.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sna/kgem_debug_gen4.c b/src/sna/kgem_debug_gen4.c
index 53c350b8..9b80dc88 100644
--- a/src/sna/kgem_debug_gen4.c
+++ b/src/sna/kgem_debug_gen4.c
@@ -256,7 +256,7 @@ static void primitive_out(struct kgem *kgem, uint32_t *data)
static void
state_base_out(uint32_t *data, uint32_t offset, unsigned int index,
- char *name)
+ const char *name)
{
if (data[index] & 1)
kgem_debug_print(data, offset, index,
@@ -270,7 +270,7 @@ state_base_out(uint32_t *data, uint32_t offset, unsigned int index,
static void
state_max_out(uint32_t *data, uint32_t offset, unsigned int index,
- char *name)
+ const char *name)
{
if (data[index] == 1)
kgem_debug_print(data, offset, index,
@@ -460,7 +460,7 @@ int kgem_gen4_decode_3d(struct kgem *kgem, uint32_t offset)
uint32_t op;
unsigned int len;
int i;
- char *desc1 = NULL;
+ const char *desc1 = NULL;
len = (data[0] & 0xff) + 2;
op = (data[0] & 0xffff0000) >> 16;