From 61042299f306c8d5816ae32251eedece1a9db6a1 Mon Sep 17 00:00:00 2001 From: starfrost013 Date: Thu, 2 Jan 2025 21:55:01 +0000 Subject: [PATCH] eh 2nd time i need to merge today --- doc/old nouveau wiki.txt | 9 +++++++++ src/video/nv/nv3/subsystems/nv3_pgraph.c | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 doc/old nouveau wiki.txt diff --git a/doc/old nouveau wiki.txt b/doc/old nouveau wiki.txt new file mode 100644 index 000000000..c875954fd --- /dev/null +++ b/doc/old nouveau wiki.txt @@ -0,0 +1,9 @@ +old nouveau wiki: +real VRAM address = VRAM_size - (ramin_address - (ramin_address % reversal_unit_size)) - reversal_unit_size + (ramin_address % reversal_unit_size) + +nv3=16 bytes + +0x400000 - ((0x100000) - (0x100000 % 16)) - 16 + (0x100000 % 16) = 2ffff0 + + + \ No newline at end of file diff --git a/src/video/nv/nv3/subsystems/nv3_pgraph.c b/src/video/nv/nv3/subsystems/nv3_pgraph.c index 1d44a3f94..32f87ee30 100644 --- a/src/video/nv/nv3/subsystems/nv3_pgraph.c +++ b/src/video/nv/nv3/subsystems/nv3_pgraph.c @@ -86,7 +86,8 @@ nv_register_t pgraph_registers[] = { { NV3_PGRAPH_TRAPPED_ADDRESS, "PGRAPH Trapped Address", NULL, NULL }, { NV3_PGRAPH_TRAPPED_DATA, "PGRAPH Trapped Data", NULL, NULL }, { NV3_PGRAPH_TRAPPED_INSTANCE, "PGRAPH Trapped Object Instance", NULL, NULL }, - + { NV3_PGRAPH_DMA_INTR_0, "PGRAPH DMA Interrupt Status (unimplemented)", NULL, NULL }, + { NV3_PGRAPH_DMA_INTR_EN_0, "PGRAPH DMA Interrupt Enable (unimplemented)", NULL, NULL }, { NV_REG_LIST_END, NULL, NULL, NULL}, // sentinel value };