diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-10-28 19:45:31 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-10-28 19:45:31 -0200 |
commit | 2671776999a5add36e1aeaad4080bfccedc2b1a5 (patch) | |
tree | 3242361542ee889970b4c594a67a97cfe24ea74d /src/regsmi.h | |
parent | 91b5613fb07fec0f319623ca7ec1efd67f04379b (diff) |
Update msoc to use randr cursor routines
pSmi->IsSecondary was not used, and there should not exist two
instances of the driver managing the same card.
Macro CHECK_SECONDARY() was dependant on a second instance of the driver
for the same card, and also removed.
Some rework should still be done in the cursor code, as it sometimes,
when displaying different data, will leave the hw cursor visible, while
using an argb cursor.
Diffstat (limited to 'src/regsmi.h')
-rw-r--r-- | src/regsmi.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/regsmi.h b/src/regsmi.h index 2626f2e..35344c3 100644 --- a/src/regsmi.h +++ b/src/regsmi.h @@ -138,18 +138,6 @@ VGAOUT8(SMIPtr pSmi, int port, CARD8 data) } while (0) #define READ_SCR(pSmi, scr) MMIO_IN32(pSmi->SCRBase, scr) -#define CHECK_SECONDARY(pSmi) \ - if(IS_MSOC(pSmi)){ \ - if ((pSmi)->IsSecondary) { \ - WRITE_DPR(pSmi, 0x40, pScrn->fbOffset / 16 << 4); \ - WRITE_DPR(pSmi, 0x44, pScrn->fbOffset / 16 << 4); \ - } \ - else { \ - WRITE_DPR(pSmi, 0x40, 0); \ - WRITE_DPR(pSmi, 0x44, 0); \ - } \ - } - /* 2D Engine commands */ #define SMI_TRANSPARENT_SRC 0x00000100 #define SMI_TRANSPARENT_DEST 0x00000300 |