Hello Everyone.
I have to write a new display driver for my embedded board. If I well understood, in the "panel-simple.c" file ("drivers/gpu/drm/panel/panel-simple.c") I have to create a new "panel_desc" struct with the new display timings/parameters. Inside the "panel_desc" structure there are two structures that can be used to descrive the display features. These structures are:
Another question. The "display_timing" structure has the "display_flags" enum named "flags". The "drm_display_mode" structure has the unsigned integer named "flags". The "panel_desc" structure has the unsigned integer named "bus_flags". What is the difference between "bus_flags" (of the "panel_desc") and "flags" (of the "drm_display_mode"/"display_timing")? How to correctly setting these flags?
Many thanks
I have to write a new display driver for my embedded board. If I well understood, in the "panel-simple.c" file ("drivers/gpu/drm/panel/panel-simple.c") I have to create a new "panel_desc" struct with the new display timings/parameters. Inside the "panel_desc" structure there are two structures that can be used to descrive the display features. These structures are:
- "drm_display_mode"
- "display_timing"
Another question. The "display_timing" structure has the "display_flags" enum named "flags". The "drm_display_mode" structure has the unsigned integer named "flags". The "panel_desc" structure has the unsigned integer named "bus_flags". What is the difference between "bus_flags" (of the "panel_desc") and "flags" (of the "drm_display_mode"/"display_timing")? How to correctly setting these flags?
Many thanks