This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/PROCESSOR-SDK-AM437X: Switching between HDMI and LCD at run time

Part Number: PROCESSOR-SDK-AM437X

Tool/software: Linux

Hi I am trying to switch between HDMI display and LCD panel display at run time in  ti-processor-sdk-linux-am437x-evm-03.03.00.04. As we have two separate dtb for normal LCD and HDMI. Based on the "SEL_HDMIn" gpio we can switch between  lcd and hdmi display. I am booting with am437x_gp-evm-hdmi.dtb with HDMI connected and getting the display correctly.

Now When i am toggling the "SEL_HDMIn" gpio then display is shifting to LCD panel but whole display is shifted towads left side and I am not getting the full display.

It seems the frame buffer is registered for HDMI display and all the settings for frame buffer using "fbset" is reflecting on HDMI display only not on LCD display.

When I am configuring both display as lcd-display0 and HDMI->display1 then Graphics driver is not loading and I am not getting display on any of the display device.

The graphics failed error is:

Initializing the graphics driver ...
PVR:(Error): OpenServices: drmOpen failed [123, /pvr_bridge_u.c]
PVR:(Error): PVRSRVInitSrvConnect: PVRSRVConnect failed [2572, /bridged_pvr_glue.c]
PVR:(Error): SrvInit: PVRSRVInitSrvConnect failed (4) [37, /srvinit.c]
PVR:(Error): main: SrvInit failed (4) [47, /pvrsrvinit.c]

Any help how i can configure both display devices at same time.