Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Queue (0) entered error state, result 0
- timestamp: 886809090019, result 0
- info32: 13, result 0
- info16: 0, result 0
- status: 65535, result 0
- --, result 0
- GPU method error (irq 0x00100000), result 0
- [b197:35e] = 0x00000018, result 0 // (35e is NVB197_DRAW_VERTEX_ARRAY)
- Unknown data: 0x00000000; 0x0010, result 0
- This is what Nouveau does:
- BEGIN_NVC0(push, NVC0_3D(RT_ADDRESS_HIGH(0)), 9);
- PUSH_DATAh(push, buf->address + offset);
- PUSH_DATA (push, buf->address + offset);
- PUSH_DATA (push, align(width * data_size, 0x100));
- PUSH_DATA (push, height);
- PUSH_DATA (push, nvc0_format_table[dst_fmt].rt);
- PUSH_DATA (push, NVC0_3D_RT_TILE_MODE_LINEAR); // TileMode / NVB197_SET_COLOR_TARGET_MEMORY
- PUSH_DATA (push, 1); // ArrayMode / NVB197_SET_COLOR_TARGET_THIRD_DIMENSION
- PUSH_DATA (push, 0); // LayerStride / NVB197_SET_COLOR_TARGET_ARRAY_PITCH
- PUSH_DATA (push, 0); // BaseLayer / NVB197_SET_COLOR_TARGET_LAYER
- And deko3d:
- return Cmd(3D, RenderTarget::Addr{id},
- Iova(info.m_iova),
- info.m_horizontal, info.m_vertical,
- info.m_format, info.m_tileMode, info.m_arrayMode, info.m_layerStride);
- ColorTargetBindCmds:
- id: 0,
- m_iova: 0x500580000,
- m_horizontal: 5120,
- m_vertical: 720,
- m_format: 213,
- m_tileMode: 4096,
- m_arrayMode: 1,
- m_layerStride: 0
- (I don't see BaseLayer being set by deko3d, but I guess its default is 0)
- So what deko3d does looks good to me.
- I think there must be some other register with a configuration that causes trouble when mixing linear color targets and blocked depth/stencil targets
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement