Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions drivers/gpu/drm/asahi/g16/boot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,7 @@ impl Orphan {
}

/// Probe-time admission.
#[inline(never)]
pub(crate) fn admit(
pdev: &platform::Device<Core<'_>>,
_dev: &AsahiDrmDevice,
Expand Down Expand Up @@ -658,6 +659,7 @@ fn run(
}

/// Brings the firmware to READY.
#[inline(never)]
pub(crate) fn start(
admitted: Admitted,
dev: &AsahiDrmDevice,
Expand Down
4 changes: 4 additions & 0 deletions drivers/gpu/drm/asahi/g16/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,10 @@ impl Gpu {
impl Firmware {
/// Builds the graphs and the engine after READY. On failure the firmware stays at READY,
/// retained as an orphan of `shared`.
///
/// Out of line, like [`boot::admit`] and [`boot::start`]: each of [`Gpu::new`]'s phases
/// has a large frame, and the probe's stack holds them only one at a time.
#[inline(never)]
fn start_backend(
dev: &AsahiDrmDevice,
booted: boot::Booted,
Expand Down
Loading