Page MenuHomeFreeBSD

loader: framebuffer should only be written into
ClosedPublic

Authored by tsoome on Dec 6 2021, 5:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 9 2024, 5:16 PM
Unknown Object (File)
Jan 12 2024, 7:43 AM
Unknown Object (File)
Dec 25 2023, 4:06 AM
Unknown Object (File)
Dec 22 2023, 11:12 PM
Unknown Object (File)
Dec 17 2023, 5:18 AM
Unknown Object (File)
Oct 24 2023, 9:21 PM
Unknown Object (File)
Oct 11 2023, 8:13 AM
Unknown Object (File)
Sep 4 2023, 3:35 AM

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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 43196
Build 40084: arc lint + arc unit

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.