Showing changes from revision #2 to #3:
Added | Removed | Changed
Currently, only API version 0 is defined.
struct vdudevice { /* Public interface */ struct device dev; uint32_t address2; int32_t device2; uint32_t devicespecificfield; };
This specification is currently very rough and needs expanding as the new OMAP3 video driver is developed. At the moment the device only exists to provide a method for the OMAP3 video driver to detect the underlying hardware in a safe and clean manner.
For the OMAP3 video controller:
dev.address and dev.devicenumber specify the logical address of the OMAP3 video controller, and its IRQ number.
address2 and device2 specify the logical address of the OMAP3 SDMA controller, and the IRQ number used by the assigned DMA channels. devicespecificfield is a bitmask defining which SDMA channels are available for use by the video driver (bit set = available, bit clear = unavailable). At least one bit will be set.
Any special behaviour of other fields is currently undefined.
HALDeviceVideo_VDU is implementations not are known to be supported by any several current device-specific modules; see the “Known implementations” table below.RISC OS modules.
Device ID | Description | Implemented in | Used by |
---|---|---|---|
HALDeviceID_VDU_OMAP3 | OMAP3 video controller | HAL.OMAP3.s.Video | OMAPVideo |
HALDeviceID_VDU_OMAP4 | OMAP4 video controller | HAL.OMAP4.s.Video | OMAPVideo |
HALDeviceID_VDU_Tungsten | NVidia STRAP data | HAL.Tungsten.s.Video | NVidia |
HALDeviceID_VDU_VIDC20 | Acorn VIDC20 | HAL.IOMD.s.Video | VIDC20Video |
HALDeviceID_VDU_BCM2835 | BCM2835 VDU device | HAL.BCM2835.s.Video | BCMVideo |