Hi All,
We have the a beaglebone with an LCD 240 * 320 pixel display. The display is connected as 16 bit.
When booting windows the display look off all kinds of stripes are in the display. I have been searching through the code and came to this point
common\src\soc\COMMON_TI_V1\COMMON_TI\DSS\LCDCAI\surfmgr_flat.cpp
I changed the stride value in the OMAPFlatSurface::Stride function from
dwStride = m_dwPixelSize * m_dwActualWidth * m_dwHorizScale;
to
dwStride = (((m_dwPixelSize * m_dwWidth) +MIN_STRIDE_RGB -1)/MIN_STRIDE_RGB)*MIN_STRIDE_RGB;
This fixes the alignment for our display but I wonder if there is not a lot easier way. So my question is this really a
bug or should I set something somewhere elso to make the stride value correct?