diff options
author | Dave Airlie <airlied@redhat.com> | 2012-05-23 12:12:54 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-05-24 07:39:10 +0100 |
commit | c26e40cf60eb6a2bffb5ec7cba1f1bbffcbf1d53 (patch) | |
tree | 64812f86a6307595d6af7614419aa770f27f06de /src/radeon_atombios.h | |
parent | 14122214edabd2a574b66577289a7c8732f4e953 (diff) |
radeon/atombios: rewrite atombios parser code to not use xf86Screens.
Just pass the ScrnInfoPtr around instead.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/radeon_atombios.h')
-rw-r--r-- | src/radeon_atombios.h | 5 |
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; |