summaryrefslogtreecommitdiffstats
path: root/kernel/gsp_phys_boot.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/gsp_phys_boot.h')
-rw-r--r--kernel/gsp_phys_boot.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/kernel/gsp_phys_boot.h b/kernel/gsp_phys_boot.h
index 8ab203a..3f6ad6e 100644
--- a/kernel/gsp_phys_boot.h
+++ b/kernel/gsp_phys_boot.h
@@ -8,8 +8,10 @@
/*
* Real-GSP boot bring-up stage 3b: boot-argument DMA memory and the computed
* WPR/FB layout. Allocated and filled by gsp_phys_boot.c while the module owns
- * the physical GPU. Stage 3b writes no device registers; the WPR metadata page
- * is filled in host memory only, ready for the later FWSEC/booter stages.
+ * the physical GPU. Stage 3b writes no device registers; the only device
+ * access is a read-only sample of the video-memory-size register in BAR0, and
+ * the WPR metadata page is filled in host memory only, ready for the later
+ * FWSEC/booter stages.
*/
struct gsp_phys_boot {
bool initialized;
@@ -46,7 +48,8 @@ struct gsp_phys_boot {
bool gsp_phys_layout_enabled(void);
int gsp_phys_boot_layout_init(struct gsp_phys_boot *boot, struct pci_dev *pdev,
- u64 fw_image_size, resource_size_t usable_fb_size);
+ void __iomem *bar0, u64 fw_image_size,
+ resource_size_t bar1_len);
void gsp_phys_boot_layout_fini(struct gsp_phys_boot *boot, struct pci_dev *pdev);
#endif /* GSP_PHYS_BOOT_H */