Home > other >  Recent research shows that part in the 410 c, trying to figure out how the data in the Framebuffer i
Recent research shows that part in the 410 c, trying to figure out how the data in the Framebuffer i

Time:09-27

Recent research shows that part in the 410 c, trying to figure out how the data in the Framebuffer is sent to the LCD display? Have a very familiar with this? To the popular science bai!!!!!!!!!!

CodePudding user response:

Mainly through Gralloc!
Gralloc has two functions:
A is the same and copybit have MDP PPP interface (no use)
The other is refresh (the whole screen brush) interface, the data sent to the framebuffer LCD, call the MDP DMA interface
This part of the code in android \ hardware \ msm7k \ libgralloc - qsd8k directory and didn't notice before, that is not used, now it can be seen after the boot initialization creates disp_loop thread, the inside of the operations is called system interface
The ioctl (m - & gt; Framebuffer - & gt; Fd, FBIOPUT_VSCREENINFO, & amp; M - & gt; Info)
To send data to the LCD
Note: when sending data is 2 switch buffer
In addition, the upper surfaceflinger is through the interface that the size of the screen, Gralloc call interface for
The ioctl (fd, FBIOGET_VSCREENINFO, & amp; Info), high in the info screen width corresponding is the underlying driver set the width of high value

CodePudding user response:

This is by wire transfer in the past, at the same time, there may be problems that turn over, you just need to give good its transmission set level,
  • Related