omap3: allow dynamic selection of gfx_format
Currently, omap3_dss_panel_config() sets gfx_format to a value that is hardcoded in the code. This forces anyone who wants to use a different gfx_format to make adjustments after calling omap3_dss_panel_config(). This could be avoided if the value of gfx_format were parameterized as input for omap3_dss_panel_config(). Make gfx_format a field in struct panel_config, and update existing structs to set this field to the value that was originally hard coded. Cc: Wolfgang Denk <wd@denx.de> Cc: Jeroen Hofstee <jeroen@myspectrum.nl> Cc: Tom Rini <trini@ti.com> Cc: Anatolij Gustschin <agust@denx.de> Signed-off-by:Nikita Kiryanov <nikita@compulab.co.il> Signed-off-by:
Igor Grinberg <grinberg@compulab.co.il>
Showing
- arch/arm/include/asm/arch-omap3/dss.h 1 addition, 0 deletionsarch/arm/include/asm/arch-omap3/dss.h
- board/htkw/mcx/mcx.c 1 addition, 0 deletionsboard/htkw/mcx/mcx.c
- board/teejet/mt_ventoux/mt_ventoux.c 2 additions, 0 deletionsboard/teejet/mt_ventoux/mt_ventoux.c
- board/ti/beagle/beagle.h 4 additions, 2 deletionsboard/ti/beagle/beagle.h
- drivers/video/omap3_dss.c 1 addition, 1 deletiondrivers/video/omap3_dss.c
Loading
Please register or sign in to comment