Skip to content

feat(gc570d): harden userspace VFIO receiver, modularize IT68051 EDID programmer, and update udev rules - #55

Merged
Everlite merged 3 commits into
Everlite:devfrom
PolygonPrincess:pr/gc570d-driver-hardening
Nov 8, 2026
Merged

Everlite merged 3 commits into
Everlite:devfrom
PolygonPrincess:pr/gc570d-driver-hardening

Conversation

@PolygonPrincess

Copy link
Copy Markdown
Contributor

Summary

Hardens the AVerMedia Live Gamer DUO (GC570D) userspace VFIO driver and EDID subsystem:

  • Modular EDID Programmer: Refactored gc570d_it68051_program_edid() into 4 focused helpers (calculate_checksums, write_blocks, program_port_registers, and latch_edid).
  • Resource & Error Safety: Audited out_restore_page: to guarantee I2C Page 0 is always restored on failure; replaced magic numbers with named constants (IT68051_REG_*).
  • udev Configuration: Standardized 99-gc570d-vfio.rules permissions and group mappings.
  • Testing: Passes both test_edid and test_config suites bit-for-bit.

@PolygonPrincess
PolygonPrincess marked this pull request as draft November 8, 2026 15:10
PolygonPrincess and others added 2 commits November 8, 2026 10:13
The DUO start path referenced framegen settings it does not receive, so Start Gaming Screen raised NameError before the window opened. Those flags belong on the GC573 command line only.

Co-authored-by: Cursor <cursoragent@cursor.com>
@PolygonPrincess
PolygonPrincess marked this pull request as ready for review November 8, 2026 15:22
@Everlite
Everlite merged commit f78ea3e into Everlite:dev Nov 8, 2026
1 check passed
@PolygonPrincess
PolygonPrincess deleted the pr/gc570d-driver-hardening branch November 9, 2026 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants