Comment 16 for bug 429241

Revision history for this message
Andy Whitcroft (apw) wrote :

@Chris -- I had a quick look at the bug the patch above relates to (below) where you indicate the command is split by the buffer wrap in the first trace:

    https://bugs.freedesktop.org/show_bug.cgi?id=22336

Looking at the first trace on that bug the ring buffer looks as below:

    ringbuffer at 0x00000000:
    0x00000000: 0x02000004: MI_FLUSH
    [...]
   0x0001fff4: 0x01000000: MI_USER_INTERRUPT
   0x0001fff8: 0x18800180: MI_BATCH_BUFFER_START
   0x0001fffc: 0x0fa15000: dword 1

If we look at both of the dumps I have:

    ringbuffer at 0x00000000:
    0x00000000: 0x18800180: MI_BATCH_BUFFER_START
    0x00000004: 0x08000000: dword 1
    0x00000008: 0x02000004: MI_FLUSH
    [...]
    0x0001fff0: 0x10800001: MI_STORE_DATA_INDEX
    0x0001fff4: 0x00000080: dword 1
    0x0001fff8: 0x001b8c80: dword 2
    0x0001fffc: 0x01000000: MI_USER_INTERRUPT

and:

    ringbuffer at 0x00000000:
    0x00000000: 0x02000004: MI_FLUSH
    [...]
    0x0001fff4: 0x01000000: MI_USER_INTERRUPT
    0x0001fff8: 0x18800180: MI_BATCH_BUFFER_START
    0x0001fffc: 0x09f85000: dword 1

I am unsure about the first of these but cirtainly the second appears identicle over the buffer wrap? Could this be the same issue?