We have interfaced a custom LVDS board which comes with a portrait panel with our sabresd board. Currently we rotated the display buffer by 270 degree in the clock wise direction using SurfaceFlinger to suit our need. This is done using the following System Property, "ro.sf.hwrotation" .
But under some cases[ex. connecting USB Keyboard], display gets switched between landscape and portrait for a moment and returns back to expected position. This doesnot happen when rotation is not performed. Is there any way to perform this rotation in driver itself?