linguini1 opened a new pull request, #17294:
URL: https://github.com/apache/nuttx/pull/17294

   ## Summary
   
   Introduces a very basic frame buffer driver implementation for the RPi4B 
which is registered at startup and works with frame buffer graphics examples. 
Graphics are displayed on the HDMI0 and HDMI1 output, depending which one is 
plugged into the display. I have not tested using both at once, nor does the 
driver account for that. They are both referred to as display 0, plane 0 since 
the RPi4B frame buffer interface does not seem to have a way of distinguishing.
   
   ## Impact
   
   Closes #17292.
   
   Makes the Pi4B HDMI video outputs compatible with the NuttX frame buffer 
interface for rendering graphics. Also documents it for usage/experimentation.
   
   NOTE: the graphics are not performant, have not been tested with both HDMI 
outputs active at once (I only have one monitor to test with at the moment) and 
are also currently fixed to a resolution of 1920x1080 (good balance of quality 
and speed). I plan to make the resolution and depth configurable later as I 
experiment with graphical apps.
   
   ## Testing
   
   Tested successfully using the `fb` example to render output on both HDMI0 
and HDMI1. Here is an image of the rendered output sent from the Pi's HDMI 
output to my tiny HDMI-based projector. Sorry for the Dutch angle :)
   
   <img width="1395" height="1852" alt="image" 
src="https://github.com/user-attachments/assets/0382cbff-dab6-4799-82f4-9ff1d1cdca69";
 />


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to