diff options
author | Stefan Dirsch <sndirsch@suse.de> | 2014-03-18 11:56:16 +0100 |
---|---|---|
committer | Stefan Dirsch <sndirsch@suse.de> | 2014-03-18 11:56:16 +0100 |
commit | 99e07e0341bfb44203bbd27a9d357a74999d5af9 (patch) | |
tree | c70f9d9f1f331e6f610bbe43f9d515f20bb4d867 /src/ast_driver.c | |
parent | ef37427b08d33d0a3d9d42ac92d02bf7156f2615 (diff) |
Revert " Support DP501 Output"
This reverts commit 2a2ecb551781d89e8e2a3123bb7d5b20ee807953.
Diffstat (limited to 'src/ast_driver.c')
-rw-r--r-- | src/ast_driver.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/ast_driver.c b/src/ast_driver.c index 496dda3..4001c36 100644 --- a/src/ast_driver.c +++ b/src/ast_driver.c @@ -85,9 +85,6 @@ extern Bool bInitAST1180(ScrnInfoPtr pScrn); extern void GetAST1180DRAMInfo(ScrnInfoPtr pScrn); extern void vEnableASTVGAMMIO(ScrnInfoPtr pScrn); -extern Bool ReadEDID_M68K(ScrnInfoPtr pScrn, BYTE *pEDIDData); -extern UCHAR GetLinkMaxCLK(ScrnInfoPtr pScrn); - extern Bool bInitCMDQInfo(ScrnInfoPtr pScrn, ASTRecPtr pAST); extern Bool bEnableCMDQ(ScrnInfoPtr pScrn, ASTRecPtr pAST); extern void vDisable2D(ScrnInfoPtr pScrn, ASTRecPtr pAST); @@ -1268,14 +1265,10 @@ ASTGetRec(ScrnInfoPtr pScrn) static void ASTFreeRec(ScrnInfoPtr pScrn) { - ASTRecPtr pAST = ASTPTR(pScrn); - if (!pScrn) return; if (!pScrn->driverPrivate) return; - if (pAST->pDP501FWBufferVirtualAddress) - free(pAST->pDP501FWBufferVirtualAddress); free(pScrn->driverPrivate); pScrn->driverPrivate = 0; } @@ -1540,12 +1533,6 @@ ASTProbeDDC(ScrnInfoPtr pScrn, int index) { if (pAST->jChipType == AST1180) Flags = GetVGA2EDID(pScrn, DDC_data); - else if (pAST->jTxChipType == Tx_DP501) - { - Flags = ReadEDID_M68K(pScrn, DDC_data); - if (Flags == FALSE) - Flags = GetVGAEDID(pScrn, DDC_data); - } else Flags = GetVGAEDID(pScrn, DDC_data); @@ -1590,14 +1577,6 @@ ASTDoDDC(ScrnInfoPtr pScrn, int index) { if (pAST->jChipType == AST1180) Flags = GetVGA2EDID(pScrn, DDC_data); - else if (pAST->jTxChipType == Tx_DP501) - { - pAST->DP501_MaxVCLK = 0xFF; - Flags = ReadEDID_M68K(pScrn, DDC_data); - if (Flags) pAST->DP501_MaxVCLK = GetLinkMaxCLK(pScrn); - else - Flags = GetVGAEDID(pScrn, DDC_data); - } else Flags = GetVGAEDID(pScrn, DDC_data); |