Page MenuHomeFreeBSD

loader: framebuffer should only be written into
ClosedPublic

Authored by tsoome on Dec 6 2021, 5:27 PM.
Tags
None
Referenced Files
F150048774: D33305.id99576.diff
Sun, Mar 29, 12:02 AM
Unknown Object (File)
Sat, Mar 28, 4:52 AM
Unknown Object (File)
Mon, Mar 16, 12:15 PM
Unknown Object (File)
Sat, Feb 28, 7:38 PM
Unknown Object (File)
Feb 20 2026, 6:22 PM
Unknown Object (File)
Feb 8 2026, 5:38 AM
Unknown Object (File)
Feb 8 2026, 3:43 AM
Unknown Object (File)
Jan 30 2026, 5:27 PM

Details

Summary

Reading from Write Combining memory can be very-very slow. Try to use
shadow buffer to avoid such reads.

Test Plan

Both UEFI and VBE frame buffers appear to behave as expected, no
visual defects. My ability for performance tests is rather limited,
unfortunately.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tsoome requested review of this revision.Dec 6 2021, 5:27 PM

Excellent, this very significantly improves the loader's performance on my desktop (AMD Radeon RX Vega GPU)

This revision was not accepted when it landed; it landed in state Needs Review.Dec 11 2021, 11:27 AM
This revision was automatically updated to reflect the committed changes.