• Jeffrey Lee's avatar
    Be more forgiving of GraphicsV init failures · e4a8bac2
    Jeffrey Lee authored
    * Update OS_ScreenMode 11's handling of drivers which fail to
    initialise. If there was no previous driver, then instead of trying to
    restore that nonexistant driver, stick with the new one. This is mainly
    to help with the case where the kernel's built in modes aren't accepted
    by the driver, and valid modes only become available once an MDF is
    loaded (this can happen with early OMAP3 chip revisions, which have very
    tight sync & porch limits, causing 90% of the kernel's modes to be
    rejected). If the kernel was to revert to the "no driver" state, then
    loading the MDF would still leave you with no video output.
    * Since we can now end up in a state where a driver is selected but
    hasn't been programmed yet, update OS_Byte 19 to detect this (via the
    magic ScreenBlankDPMSState value of 255) and avoid waiting for VSync
    * Update RemovePages & InsertRemovePagesExit (screen DA handlers) to
    avoid infinite loops if the screen DA gets shrunk to zero size (was seen
    while attempting to complete the !Boot sequence while no driver was
    active)
    
    Version 6.33. Tagged as 'Kernel-6_33'
    e4a8bac2
Name
Last commit
Last update
Dev Loading commit data...
Docs Loading commit data...
Resources/UK Loading commit data...
TestSrc Loading commit data...
h Loading commit data...
hdr Loading commit data...
o Loading commit data...
rm Loading commit data...
s Loading commit data...
.gitattributes Loading commit data...
BlackLog Loading commit data...
Changes Loading commit data...
HelpStrs Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
MkClean,fd7 Loading commit data...
MkExport,fd7 Loading commit data...
MkInstall,fd7 Loading commit data...
MkRom,fd7 Loading commit data...
Version Loading commit data...
VersionASM Loading commit data...
VersionNum Loading commit data...