OSDev.org

The Place to Start for Operating System Developers
It is currently Tue Oct 17, 2017 10:48 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Gpu & hdmi related question
PostPosted: Sun Sep 11, 2016 10:34 am 
Offline
Member
Member

Joined: Tue Mar 10, 2015 10:08 am
Posts: 97
Hi,

Say I have a gpu driver (mali400) that I can reverse engineer on a SoC (raspberry pi like). On that SoC, there is a HDMi output.

Now, to be able to stream data (a video, a game) to a hdmi monitor or a TV connected to the gpu output, should I implement hdmi in my OS or is the gpu able to sort everything out by itself, converting image to the right format automatically?

I don't get who is responsible for what here.

Thanks,

Bye


Top
 Profile  
 
 Post subject: Re: Gpu & hdmi related question
PostPosted: Sun Sep 11, 2016 11:00 am 
Offline
Member
Member

Joined: Wed Dec 25, 2013 11:51 am
Posts: 45
JulienDarc wrote:
Hi,

Say I have a gpu driver (mali400) that I can reverse engineer on a SoC (raspberry pi like). On that SoC, there is a HDMi output.

Now, to be able to stream data (a video, a game) to a hdmi monitor or a TV connected to the gpu output, should I implement hdmi in my OS or is the gpu able to sort everything out by itself, converting image to the right format automatically?

I don't get who is responsible for what here.

Thanks,

Bye
On Raspberry Pi the GPU (VideoCore) handles the communication with the display device. Everything you have to do is to send some "commands" to the GPU to set the video mode and get the address for the video memory. Pixels written in the video memory are drawn in the display (no need for additional commands).

Edit:
I believe the most SoCs with GPU works this way. Anyway, you should look for the documentation of your SoC (this kind of information is there).

_________________
Machina - https://github.com/brunexgeek/machina


Top
 Profile  
 
 Post subject: Re: Gpu & hdmi related question
PostPosted: Sun Sep 11, 2016 1:07 pm 
Offline
Member
Member

Joined: Tue Mar 10, 2015 10:08 am
Posts: 97
brunexgeek, I am very happy then.

Now, the tests are soon to begin.
Thank you!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group