HomeFreeBSD

stand: Bulk operations on each gfxfb_blt if shadow buffer enabled

Description

stand: Bulk operations on each gfxfb_blt if shadow buffer enabled

Previously, gfxfb_blt flushed the framebuffer on every call. Since a
single drawing operation may invoke gfxfb_blt multiple times, this can
result in unnecessary flushes.

Instead, write updates to the shadow buffer (when present) and mark the
affected area as dirty. Flushing is deferred so multiple gfxfb_blt calls
can be coalesced into a single update. As before, only the dirty region
is flushed.

This fixes the slow bootloader problem in some platforms.

Reviewed by: imp, adrian, obiwac
Tested by: obiwac, jrm
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57373

Details

Provenance
aokblastAuthored on May 31 2026, 3:07 PM
Reviewer
imp
Differential Revision
D57373: stand: Bulk operations on each gfxfb_blt if shadow buffer enabled
Parents
rG943bfad1097f: autofs: remove dead code
Branches
Unknown
Tags
Unknown