summaryrefslogtreecommitdiff
path: root/drivers/gpu/nova-core/gsp.rs
blob: 64e472e7a9d3b3a600cbe45b5d18c2f12861750d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// SPDX-License-Identifier: GPL-2.0

mod boot;

use kernel::prelude::*;

mod fw;

pub(crate) const GSP_PAGE_SHIFT: usize = 12;
pub(crate) const GSP_PAGE_SIZE: usize = 1 << GSP_PAGE_SHIFT;

/// GSP runtime data.
///
/// This is an empty pinned placeholder for now.
#[pin_data]
pub(crate) struct Gsp {}

impl Gsp {
    pub(crate) fn new() -> impl PinInit<Self> {
        pin_init!(Self {})
    }
}