Commit Graph

119079 Commits

Author SHA1 Message Date
specialfred453@gmail.com d8afb35c40 nv2a/vk: Scale line width by surface scale 2025-06-22 16:44:14 -07:00
Erik Abair 348b03d6ce
nv2a: Handle PGRAPH color keying 2025-06-21 13:25:24 -07:00
Matt Borgerson 14a0a5f481 nvnet: Drop unnecessary switch 2025-06-21 09:55:26 -07:00
Ryan Wendland fe93634c78 nvnet: Return MII status on MMIO reads 2025-06-21 09:51:35 -07:00
Matt Borgerson 7d9739df4c apu/vp: Make number of voice workers dynamic
Adds a new config option to control number of workers. If the value of
the option is 0 (default), then the logical CPU count, as reported by
SDL, is used.
2025-06-20 17:41:24 -07:00
Matt Borgerson 8881537de2 nvnet: Reduce auto-negotiation duration to 250ms 2025-06-20 16:11:01 -07:00
Matt Borgerson 6a99c038b1 nvnet: Assert MMIO writes are 32b aligned 2025-06-20 16:11:01 -07:00
Matt Borgerson 78a45f2955 nvnet: Drop useless assert 2025-06-20 16:11:01 -07:00
Matt Borgerson 4794f9d543 nvnet: Define auto-negotiation duration constant 2025-06-20 16:11:01 -07:00
Matt Borgerson 4b310661b1 nvnet: Fixup some trace formatting 2025-06-20 16:11:01 -07:00
Matt Borgerson 19bb45d9d7 nvnet: Add trace for packet send 2025-06-20 16:11:01 -07:00
Matt Borgerson 1d2f75fb76 nvnet: Drop more useless dprintfs 2025-06-20 16:11:01 -07:00
Matt Borgerson 0c7a352c31 nvnet: Add traces for tx/rx dma 2025-06-20 16:11:01 -07:00
Matt Borgerson 00f828111d nvnet: Use load_ring_desc in dump_ring_descriptors 2025-06-20 16:11:01 -07:00
Matt Borgerson 556b08cd88 nvnet: Add trace for descriptor stores 2025-06-20 16:11:01 -07:00
Matt Borgerson 8bfefd4a27 nvnet: Add trace for irq updates 2025-06-20 16:11:01 -07:00
Matt Borgerson 36b8db38b5 nvnet: Add trace for tx/rx blockers 2025-06-20 16:11:01 -07:00
Matt Borgerson f86e79a500 nvnet: Move ring descriptor load/store out to function 2025-06-20 16:11:01 -07:00
Matt Borgerson 6bbd86a293 nvnet: Drop useless dprintf 2025-06-20 16:11:01 -07:00
Matt Borgerson 2f78df32af nvnet: Move dma idle status update out to function 2025-06-20 16:11:01 -07:00
Matt Borgerson 40712109c5 nvnet: Move tx descriptor pointer updates out 2025-06-20 16:11:01 -07:00
Matt Borgerson 2e625e6cce nvnet: Check for rx buffer availability in can_receive 2025-06-20 16:11:01 -07:00
Matt Borgerson d7a1773755 nvnet: Clean up tx/rx prechecks 2025-06-20 16:11:01 -07:00
Matt Borgerson 0200224d7e nvnet: Idle before interrupt in dma_packet_from_guest 2025-06-20 16:11:01 -07:00
Matt Borgerson e6c8b2ebf7 nvnet: Drop return value from dma_packet_from_guest 2025-06-20 16:11:01 -07:00
Matt Borgerson c16bfd84fd nvnet: Check for dma disable before tx/rx 2025-06-20 16:11:01 -07:00
Matt Borgerson c75d746a34 nvnet: Fix mmio write unconditional passthru 2025-06-20 16:11:01 -07:00
Matt Borgerson 5a9b5d8e5d nvnet: Set idle bit on reset 2025-06-20 16:11:01 -07:00
Matt Borgerson 9d15439634 nvnet: Don't expect higher bits clear in test for tx kick bit 2025-06-20 16:11:01 -07:00
Matt Borgerson 9ab352dcd0 nvnet: Fix bit clear nit in mdio_read 2025-06-20 16:11:01 -07:00
Matt Borgerson 0ea109bcf1 nvnet: Rename net_nvnet_info -> nvnet_client_info 2025-06-20 03:34:28 -07:00
Matt Borgerson 065e95b924 nvnet: Check for link-up in nvnet_can_receive 2025-06-20 03:34:28 -07:00
Matt Borgerson 5f78df058c nvnet: Simplify some function names, register access 2025-06-20 03:34:28 -07:00
Matt Borgerson b4c66e0511 nvnet: Factor interrupt assertion out to common function 2025-06-20 03:34:28 -07:00
Matt Borgerson d9ed689cc7 nvnet: Add some traces for link status and AN 2025-06-20 03:34:28 -07:00
Matt Borgerson 9108ccf40c vl: Bring up xemu network later, and down if disabled 2025-06-20 03:34:28 -07:00
Matt Borgerson cd8529919f ui/xemu-net.c: Handle missing slirp state 2025-06-20 03:34:28 -07:00
Matt Borgerson 37e0f59c81 ui/xemu-net.c: Move slirp port forward clearing into function 2025-06-20 03:34:28 -07:00
Matt Borgerson 43c68c22a0 nvnet: Handle link status changes 2025-06-20 03:34:28 -07:00
Matt Borgerson 3d5ab7d5f8 nvnet: Drop unnecessary call to reset_descriptor_ring_pointers 2025-06-20 03:34:28 -07:00
Matt Borgerson b22f42ff95 nvnet: Move tx_dma_buf_offset field up 2025-06-19 01:56:05 -07:00
Matt Borgerson 0eb0a315b8 nvnet: Migrate ring index tracking to device registers 2025-06-19 01:56:05 -07:00
Matt Borgerson e75c5f3e8f nvnet: Simplify length adjustment in nvnet_dma_packet_from_guest 2025-06-19 01:56:05 -07:00
Matt Borgerson d4a5e78ba7 nvnet: Drop post-tx descriptor length increase 2025-06-19 01:56:05 -07:00
Matt Borgerson 59d98ed3be nvnet: Drop some useless debug prints 2025-06-19 01:56:05 -07:00
Matt Borgerson 389f7ad577 nvnet: Rename RingDesc::packet_buffer -> buffer_addr 2025-06-19 01:56:05 -07:00
Matt Borgerson 9e00beaffa nvnet: Migrate ring size tracking to registers 2025-06-19 01:56:05 -07:00
Matt Borgerson bfe9f659d2 nvnet: Shrink some debug printfs 2025-06-19 01:56:05 -07:00
Matt Borgerson 3fd776d98e nvnet: Convert descriptor fields to host byte order and back 2025-06-19 01:56:05 -07:00
Matt Borgerson 1dbda16970 nvnet: Simplify nvnet_dma_packet_to_guest 2025-06-19 01:56:05 -07:00