summaryrefslogtreecommitdiff
path: root/src/radeon_atombios.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon_atombios.h')
-rw-r--r--src/radeon_atombios.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/radeon_atombios.h b/src/radeon_atombios.h
index 866c4bf3..0671b8d0 100644
--- a/src/radeon_atombios.h
+++ b/src/radeon_atombios.h
@@ -105,10 +105,11 @@ typedef union AtomBiosArg
DisplayModePtr modes;
AtomExecRec exec;
AtomFbRec fb;
+ ScrnInfoPtr pScrn;
} AtomBiosArgRec, *AtomBiosArgPtr;
extern AtomBiosResult
-RHDAtomBiosFunc(int scrnIndex, atomBiosHandlePtr handle,
+RHDAtomBiosFunc(ScrnInfoPtr pScrn, atomBiosHandlePtr handle,
AtomBiosRequestID id, AtomBiosArgPtr data);
extern Bool
@@ -254,7 +255,7 @@ typedef struct _atomDataTables
} atomDataTables, *atomDataTablesPtr;
typedef struct _atomBiosHandle {
- int scrnIndex;
+ ScrnInfoPtr pScrn;
unsigned char *BIOSBase;
atomDataTablesPtr atomDataPtr;
unsigned int cmd_offset;