summaryrefslogtreecommitdiffstats
path: root/kernel/gsp_phys_gpu.h
blob: b8a19552f95449366763c5e8c0f512d305e1f6e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef GSP_PHYS_GPU_H
#define GSP_PHYS_GPU_H

#include <linux/types.h>

/*
 * Physical GPU ownership (real-GSP execution backend, bring-up rung 1).
 * Claim is disabled unless the gsp_phys_gpu module parameter is set.
 */
bool gsp_phys_gpu_claimed(void);
int gsp_phys_gpu_claim(void);
void gsp_phys_gpu_release(void);
void __iomem *gsp_phys_gpu_bar0(void);

#endif /* GSP_PHYS_GPU_H */