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.

AM4376: LCD driver issue

Part Number: AM4376

Dear all,

I was debugging on AM437x LCD driver, here is my question:

I used 540*960 display, here is the parameter:

Here is the code:

but now we found it cannot work because of failed here:

Does it means hactive cannot be 540? How can we handle this?

Thanks.

BR,

Sheldon

  • Hi,

    What Linux version is this?
  • Hi Biser,

    The SDK version is 04.03.00.05, the kernel is 4.9.69.

    BR,
    Sam
  • if I change from drm to video, still use above lcd timings, when power up device, then appear this errors:

    [ 2.753749] omapdss APPLY error: SYNC_LOST on channel lcd, restarting the output with video overlays disabled
    [ 2.770662] omapdss APPLY error: SYNC_LOST on channel lcd, restarting the output with video overlays disabled
    [ 2.787721] omapdss APPLY error: SYNC_LOST on channel lcd, restarting the output with video overlays disabled
    [ 2.805719] omapdss APPLY error: SYNC_LOST on channel lcd, restarting the output with video overlays disabled
    [ 2.822137] omapdss APPLY error: SYNC_LOST on channel lcd, restarting the output with video overlays disabled
    [ 2.838967] omapdss APPLY error: SYNC_LOST on channel lcd, restarting the output with video overlays disabled
    [ 2.856950] omapdss APPLY error: SYNC_LOST on channel lcd, restarting the output with video overlays disabled
    [ 2.874235] omapdss APPLY error: SYNC_LOST on channel lcd, restarting the output with video overlays disabled

    [root@JC fb0]# ls /dev/fb
    fb0 fb1 fb2

    [root@JC fb0]# fbset

    mode "540x960-60"
    # D: 35.500 MHz, H: 58.197 kHz, V: 59.997 Hz
    geometry 540 960 540 960 16
    timings 28169 20 40 4 4 10 2
    accel false
    rgba 5/11,6/5,5/0,0/0
    endmode

    what these error meaning? how can i fix this?
  • SamZ said:
    Does it means hactive cannot be 540? How can we handle this?

    Yes, the panel width has to be multiple of 8. The restriction comes from DSS IP. 

    Switching to FB driver won't fix the issue. We do not encourage using fbdev as that is no longer supported. Please stay with drm driver and work with panel width that is multiple of 8.