Commit 9ab43465 authored by Jeffrey Lee's avatar Jeffrey Lee
Browse files

Remove obsolete stub HAL video API implementation

Detail:
  hdr/Video - Remove unused local VIDC list type 3 definition
  s/Boot, s/Video - Removed obsolete HAL video API implementation. A stub implementation is no longer required for systems that have a GraphicsV driver in a module, and can even cause problems if the OS decides to use the HAL implementation instead of the module one.
Admin:
  Builds, but untested. Essentially the same changes as for the OMAP3 HAL.
  Requires Kernel-5_35-4_79_2_203


Version 0.27. Tagged as 'OMAP4-0_27'
parent 44c0701f
/* (0.26)
/* (0.27)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 0.26
#define Module_MajorVersion_CMHG 0.27
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 16 Nov 2013
#define Module_Date_CMHG 15 Dec 2013
#define Module_MajorVersion "0.26"
#define Module_Version 26
#define Module_MajorVersion "0.27"
#define Module_Version 27
#define Module_MinorVersion ""
#define Module_Date "16 Nov 2013"
#define Module_Date "15 Dec 2013"
#define Module_ApplicationDate "16-Nov-13"
#define Module_ApplicationDate "15-Dec-13"
#define Module_ComponentName "OMAP4"
#define Module_ComponentPath "castle/RiscOS/Sources/HAL/OMAP4"
#define Module_FullVersion "0.26"
#define Module_HelpVersion "0.26 (16 Nov 2013)"
#define Module_LibraryVersionInfo "0:26"
#define Module_FullVersion "0.27"
#define Module_HelpVersion "0.27 (15 Dec 2013)"
#define Module_LibraryVersionInfo "0:27"
......@@ -505,57 +505,6 @@ VENC_GEN_CTRL * &30B8
VENC_OUTPUT_CONTROL * &30C4
VENC_OUTPUT_TEST * &30C8
; -----------------------------------------------------------------------------------
; mjs - this had better agree with the format specified in kernel s.vdu.vdumodes
;
; format of a VIDC list type 3
;
^ 4
VIDCList3_PixelDepth # 4
VIDCList3_HorizSyncWidth # 4
VIDCList3_HorizBackPorch # 4
VIDCList3_HorizLeftBorder # 4
VIDCList3_HorizDisplaySize # 4
VIDCList3_HorizRightBorder # 4
VIDCList3_HorizFrontPorch # 4
VIDCList3_VertiSyncWidth # 4
VIDCList3_VertiBackPorch # 4
VIDCList3_VertiTopBorder # 4
VIDCList3_VertiDisplaySize # 4
VIDCList3_VertiBottomBorder # 4
VIDCList3_VertiFrontPorch # 4
VIDCList3_PixelRate # 4
VIDCList3_SyncPol # 4 ; sync polarity/flag bits
VIDCList3_ControlList # 0 ; possibly empty list of pairs of index,value words
;
; and VIDCList3 is terminated by a -1 word
;
; Indices in VIDCList3_ControlList
;
^ 1
ControlList_LCDMode # 1
ControlList_LCDDualPanelMode # 1
ControlList_LCDOffset0 # 1
ControlList_LCDOffset1 # 1
ControlList_HiResMode # 1
ControlList_DACControl # 1
ControlList_RGBPedestals # 1
ControlList_ExternalRegister # 1
ControlList_HClockSelect # 1
ControlList_RClockFrequency # 1
ControlList_DPMSState # 1
ControlList_Interlaced # 1
ControlList_InvalidReason # 0
; bits/flags in VIDCList3_SyncPol word:
;
SyncPol_InvertHSync * 1
SyncPol_InvertVSync * 2
SyncPol_InterlaceSpecified * 4 ; if set, interlace bit has been specified, else filled in by kernel
SyncPol_Interlace * 8 ; set=interlaced, either specified by service call claimant or filled in from *TV by kernel
; -----------------------------------------------------------------------------------
^ 0, a1
......
......@@ -214,21 +214,6 @@ HALdescriptor DATA
IMPORT HAL_NVMemoryRead
IMPORT HAL_NVMemoryWrite
IMPORT HAL_VideoFlybackDevice
IMPORT HAL_VideoSetMode
IMPORT HAL_VideoWritePaletteEntry
IMPORT HAL_VideoWritePaletteEntries
IMPORT HAL_VideoReadPaletteEntry
IMPORT HAL_VideoSetInterlace
IMPORT HAL_VideoSetBlank
IMPORT HAL_VideoSetPowerSave
IMPORT HAL_VideoUpdatePointer
IMPORT HAL_VideoSetDAG
IMPORT HAL_VideoVetMode
IMPORT HAL_VideoPixelFormats
IMPORT HAL_VideoFeatures
IMPORT HAL_VideoBufferAlignment
IMPORT HAL_VideoOutputFormat
IMPORT HAL_VideoIICOp ; Implemented in s.I2C
IMPORT HAL_UARTPorts
......@@ -312,21 +297,21 @@ HAL_EntryTable DATA
HALEntry HAL_IICTransfer
HALEntry HAL_IICMonitorTransfer
HALEntry HAL_VideoFlybackDevice
HALEntry HAL_VideoSetMode
HALEntry HAL_VideoWritePaletteEntry
HALEntry HAL_VideoWritePaletteEntries
HALEntry HAL_VideoReadPaletteEntry
HALEntry HAL_VideoSetInterlace
HALEntry HAL_VideoSetBlank
HALEntry HAL_VideoSetPowerSave
HALEntry HAL_VideoUpdatePointer
HALEntry HAL_VideoSetDAG
HALEntry HAL_VideoVetMode
HALEntry HAL_VideoPixelFormats
HALEntry HAL_VideoFeatures
HALEntry HAL_VideoBufferAlignment
HALEntry HAL_VideoOutputFormat
NullEntry ; HALEntry HAL_VideoFlybackDevice
NullEntry ; HALEntry HAL_VideoSetMode
NullEntry ; HALEntry HAL_VideoWritePaletteEntry
NullEntry ; HALEntry HAL_VideoWritePaletteEntries
NullEntry ; HALEntry HAL_VideoReadPaletteEntry
NullEntry ; HALEntry HAL_VideoSetInterlace
NullEntry ; HALEntry HAL_VideoSetBlank
NullEntry ; HALEntry HAL_VideoSetPowerSave
NullEntry ; HALEntry HAL_VideoUpdatePointer
NullEntry ; HALEntry HAL_VideoSetDAG
NullEntry ; HALEntry HAL_VideoVetMode
NullEntry ; HALEntry HAL_VideoPixelFormats
NullEntry ; HALEntry HAL_VideoFeatures
NullEntry ; HALEntry HAL_VideoBufferAlignment
NullEntry ; HALEntry HAL_VideoOutputFormat
NullEntry ; HALEntry HAL_MatrixColumns
NullEntry ; HALEntry HAL_MatrixScan
......
......@@ -33,22 +33,6 @@
AREA |Asm$$Code|, CODE, READONLY, PIC
EXPORT HAL_VideoFlybackDevice
EXPORT HAL_VideoSetMode
EXPORT HAL_VideoWritePaletteEntry
EXPORT HAL_VideoWritePaletteEntries
EXPORT HAL_VideoReadPaletteEntry
EXPORT HAL_VideoSetInterlace
EXPORT HAL_VideoSetBlank
EXPORT HAL_VideoSetPowerSave
EXPORT HAL_VideoUpdatePointer
EXPORT HAL_VideoSetDAG
EXPORT HAL_VideoVetMode
EXPORT HAL_VideoPixelFormats
EXPORT HAL_VideoFeatures
EXPORT HAL_VideoBufferAlignment
EXPORT HAL_VideoOutputFormat
EXPORT Video_Init
EXPORT VideoDevice_Init
EXPORT Video_Power_VBC_DVI
......@@ -162,45 +146,6 @@ Video_Init
Pull "pc"
; Stubs for unused HAL functions
HAL_VideoOutputFormat
HAL_VideoVetMode
MOV r0, #0
HAL_VideoSetMode
HAL_VideoWritePaletteEntry
HAL_VideoWritePaletteEntries
HAL_VideoSetInterlace
HAL_VideoSetBlank
HAL_VideoSetPowerSave
HAL_VideoUpdatePointer
HAL_VideoSetDAG
HAL_VideoReadPaletteEntry
MOV pc, lr
HAL_VideoFlybackDevice
MOV a1, #-1
MOV pc, lr
HAL_VideoPixelFormats
; OMAP4430 Silicon Errata Public RevD chapter 2.4
; BITMAP 1-2-4 formats not supported by the graphics pipeline
[ {FALSE}
MOV a1, #2_111111 ; 1,2,4,8,16,32 bpp
|
MOV a1, #2_111000 ; 8,16,32 bpp
]
MOV pc, lr
HAL_VideoFeatures
MOV a1, #2_10010 ; h/w pointer, no VSyncs
MOV pc, lr
HAL_VideoBufferAlignment
MOV a1, #4
MOV pc, lr
VideoDevice_Init
; Not much to do here - just register our HAL device
Push "v1,lr"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment