Hi,
I'm porting a new LCD to my imx7d DIY development board.
kernel: 4.14
android: 9
Screen size is 320x240, physical format is RGB565. And I get a very weird issue. The main screen and some android applications can showing correctly. But some android applications are not refresh.
If I do further debugging, I can find in FbDisplay.cpp, the updateScreen() function report buffer format is RGBA8888 but config format is RGB565, so the refresh operation is stopped.
If I force the
getBE().mRenderEngine =
RE::impl::RenderEngine::create(HAL_PIXEL_FORMAT_RGBA_8888
to be
getBE().mRenderEngine =
RE::impl::RenderEngine::create(HAL_PIXEL_FORMAT_RGB_565
those android application can show on the screen, but red and blue pixel are oppsite. If I use this method, I can't monitor the screen on my PC.
I want to know what thing cause this format not match issue and how do I perfectly fix it?