I hope those fields mentioned are available in the EDID of the display device.
How do one calculate the fb_videomode parameters in linux kernel?
-
06-03-2022 - |
質問
I would like to write a driver to http://www.trulydisplays.com/tft/specs/3.5in%20480x800%20TFT480800-25-E%20Spec.pdf How do I calculate all the following params:
struct fb_videomode {
const char *name; /* optional */
u32 refresh; /* optional */
u32 xres;
u32 yres;
u32 pixclock;
u32 left_margin;
u32 right_margin;
u32 upper_margin;
u32 lower_margin;
u32 hsync_len;
u32 vsync_len;
u32 sync;
u32 vmode;
u32 flag;
};
解決
他のヒント
This document might be of help. I used this document to calculate the above information.
Good luck
所属していません StackOverflow