nouveau: mask push buffer length pushbuf_dump

nvc0 sets the NVC0_IB_ENTRY_1_NO_PREFETCH bit on some pushbuffers

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
main
Karol Herbst 2020-05-03 16:21:09 +02:00
parent 52fd2a2542
commit 2f04bd2d89
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ pushbuf_dump(struct nouveau_pushbuf_krec *krec, int krec_id, int chid)
kref = krec->buffer + kpsh->bo_index;
bo = (void *)(unsigned long)kref->user_priv;
bgn = (uint32_t *)((char *)bo->map + kpsh->offset);
end = bgn + (kpsh->length /4);
end = bgn + ((kpsh->length & 0x7fffff) /4);
err("ch%d: psh %s%08x %010llx %010llx\n", chid,
bo->map ? "" : "(unmapped) ", kpsh->bo_index,