質問

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;
};
役に立ちましたか?

解決

I hope those fields mentioned are available in the EDID of the display device.

他のヒント

This document might be of help. I used this document to calculate the above information.

The Frame Buffer Device

Good luck

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top