diff --git a/proxyclient/experiments/prores.py b/proxyclient/experiments/prores.py index 1f1f4d090..0b4308f50 100644 --- a/proxyclient/experiments/prores.py +++ b/proxyclient/experiments/prores.py @@ -560,6 +560,7 @@ def bswp16(x): iface.writemem(in_buf_chroma_phys, image_data_chroma + b'\xaa' * (IN_SZ_CHROMA - len(image_data_chroma))) in_buf_chroma_iova = dart.iomap(0, in_buf_chroma_phys, IN_SZ_CHROMA) print(f"Input buffer chroma @ phys {in_buf_chroma_phys:016X} iova {in_buf_chroma_iova:016X}") +dart.dump_all() desc = EncodeNotRawDescriptor( flags=0x373c, diff --git a/proxyclient/hv/trace_prores.py b/proxyclient/hv/trace_prores.py index 80d46c556..05acb4a46 100644 --- a/proxyclient/hv/trace_prores.py +++ b/proxyclient/hv/trace_prores.py @@ -57,9 +57,9 @@ def w_DR_HEAD(self, val): desc = EncodeNotRawDescriptor._make(struct.unpack(ENCODE_NOT_RAW_STRUCT, dr[dr_tail:dr_head])) print(desc) - p0_iova = desc.pix_plane0_iova - p1_iova = desc.pix_plane1_iova - p2_iova = desc.pix_plane2_iova + p0_iova = desc.luma_iova + p1_iova = desc.chroma_iova + p2_iova = desc.alpha_iova if p0_iova: print(f"P0 iova {p0_iova:016X}") diff --git a/proxyclient/m1n1/hw/dart8110.py b/proxyclient/m1n1/hw/dart8110.py index 252e09611..af7951dcb 100644 --- a/proxyclient/m1n1/hw/dart8110.py +++ b/proxyclient/m1n1/hw/dart8110.py @@ -253,7 +253,7 @@ class DART8110(Reloadable): Lx_SIZE = (1 << IDX_BITS) IDX_MASK = Lx_SIZE - 1 - def __init__(self, iface, regs, util=None, iova_range=(0x80000000, 0x90000000)): + def __init__(self, iface, regs, util=None, iova_range=(0x800000000, 0x900000000)): self.iface = iface self.regs = regs self.u = util