mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 04:40:09 +01:00
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>
This commit is contained in:
parent
52fd2a2542
commit
2f04bd2d89
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue