• Rob Clark's avatar
    drm/msm: fix rd dumping for split-IB1 · c4b0222e
    Rob Clark authored
    When IB1 is split into multiple cmd buffers, we'd emit multiple
    RD_CMDSTREAM_ADDR per submit.  But after this packet is handled
    by the cffdump parser, it resets it's known buffers on the next
    GPUADDR packet, so subsequent RD_CMDSTREAM_ADDR packets from the
    same submit would not find their buffers.
    
    Re-work the loop to snapshot all buffers before RD_CMDSTREAM_ADDR
    to avoid this problem.
    Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
    c4b0222e
msm_rd.c 9.44 KB