diff options
Diffstat (limited to 'kernel/gsp_phys_gpu.h')
| -rw-r--r-- | kernel/gsp_phys_gpu.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/kernel/gsp_phys_gpu.h b/kernel/gsp_phys_gpu.h new file mode 100644 index 0000000..b8a1955 --- /dev/null +++ b/kernel/gsp_phys_gpu.h @@ -0,0 +1,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 */ |
