Page MenuHomeFreeBSD

loader: framebuffer should only be written into
ClosedPublic

Authored by tsoome on Dec 6 2021, 5:27 PM.
Tags
None
Referenced Files
F106954014: D33305.id99848.diff
Wed, Jan 8, 12:35 AM
F106954008: D33305.id.diff
Wed, Jan 8, 12:35 AM
F106953996: D33305.id99576.diff
Wed, Jan 8, 12:34 AM
F106953027: D33305.diff
Wed, Jan 8, 12:15 AM
Unknown Object (File)
Mon, Dec 9, 6:51 PM
Unknown Object (File)
Dec 4 2024, 1:13 AM
Unknown Object (File)
Dec 2 2024, 3:13 AM
Unknown Object (File)
Nov 30 2024, 5:13 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
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.