Commit f695ced1 authored by Jeffrey Lee's avatar Jeffrey Lee
Browse files

Fix EDID use at startup

Detail:
  c/ScrModes - Re-introduce the using_edid check in the Service_DsiplayChanged handler, that was removed in ScreenModes 0.64.
  Removing the check completely breaks automatic EDID use (via MonitorType EDID), causing the kernel to panic and treat everything as mode 0 (due to no mode definitions being available).
Admin:
  Tested on Raspberry Pi 3
  Should fix issue reported on forums (bad screen mode during boot after upgrading from RC15):
  https://www.riscosopen.org/forum/forums/4/topics/9342


Version 0.66. Tagged as 'ScrModes-0_66'
parent 94ffeea7
/* (0.65)
/* (0.66)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 0.65
#define Module_MajorVersion_CMHG 0.66
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 07 Jun 2017
#define Module_Date_CMHG 17 Jun 2017
#define Module_MajorVersion "0.65"
#define Module_Version 65
#define Module_MajorVersion "0.66"
#define Module_Version 66
#define Module_MinorVersion ""
#define Module_Date "07 Jun 2017"
#define Module_Date "17 Jun 2017"
#define Module_ApplicationDate "07-Jun-17"
#define Module_ApplicationDate "17-Jun-17"
#define Module_ComponentName "ScrModes"
#define Module_ComponentPath "castle/RiscOS/Sources/Video/UserI/ScrModes"
#define Module_FullVersion "0.65"
#define Module_HelpVersion "0.65 (07 Jun 2017)"
#define Module_LibraryVersionInfo "0:65"
#define Module_FullVersion "0.66"
#define Module_HelpVersion "0.66 (17 Jun 2017)"
#define Module_LibraryVersionInfo "0:66"
......@@ -1239,7 +1239,7 @@ static void service_displaychanged(_kernel_swi_regs *regs)
*/
/* added new reason code of 1 to indicate reset to edid based definitions
*/
readedid(regs->r[2], regs->r[3]==1?true:false);
readedid(regs->r[2], (regs->r[3]==1) || using_edid);
break;
}
}
......
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