Add support for new GraphicsV_VetMode2 call
Detail: VetMode2 allows the driver to give the OS extra feedback about a proposed mode. In particular, it allows the driver to suggest a value for the ExtraBytes control list item, so by using the VetMode2 call ScreenModes is able to support modes where the video driver requires extra padding to be added to the framebuffer. h/modex - Remove local definitions of control list item numbers. Reserve space for one extra control list item in the VIDCList structure. c/ScrModes - Use Global/VIDCList.h for control list item numbers. Update mode_valid to make use of VetMode2 where available, and give it the ability to copy the resulting VIDCList into a caller-supplied buffer, allowing service_modeextension to easily use the correct ExtraBytes setting. Admin: Tested on Raspberry Pi 3 Requires Kernel-5_82 Version 0.65. Tagged as 'ScrModes-0_65'
Showing with 80 additions and 49 deletions