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: Early Splash Screen on using U-boot for OSD Panel 1920x1200 display

Other Parts Discussed in Thread: J6EVM5777, TLC59108

Tool/software: Linux

Background:
     We are using DRA7xx Evaluation Module (J6EVM5777) with 10 inch display module.
·         Our goal is to display early splash screen from u-boot and we are using u-boot patches described in www.ti.com/.../SPRAC49.

Problem Statement:

As per our understanding of u-boot patches, we should see some data on the display after using patches, #1, #2 and #5.
(this is because we want the splash screen in non-compressed i.e. YUV format and from MMC.)

However we just get backlight on the display and nothing else.
We don’t see any pattern, glitch or anything on the display. This makes us believe that something fundamental in missing in setting up display pipeline.

Question:

.  What parameters values will configure in case 10 inch OSD LCD panel -1920x1200.   As similar we pass for other 10 inch display in  video_pll_conf  function of video_pll.c

  •         divider
  •       multiplier
  •       div_h11_clkcfg

  void video_pll_conf(u32 lcd_type)
{
    uint32_t regval, temp;


    switch (lcd_type) {
    case LCD_TYPE_7_INCH:
        /* 7" LCD */
        divider = 10 + 1;
        multiplier = 410;
        div_h11_clkcfg = 16 + 1;
        break;
    case LCD_TYPE_10_INCH:
        /* 10" LCD */
        divider =     8 + 1;
        multiplier = 421;
        div_h11_clkcfg = 8 + 1;
        break;
 
    default:
        hang();
    }

   
 2. What will be  default  parameters needs to be   configured  in case   OSD Display [1920x1200.] as per given below structure  static const struct tlc_board_data tlc_10_inch_data

  • x_res
  • y_res
  • .pixelclock    
  •  .hfp           
  •    .hsw           
  •    .hbp           
  •   .vfp          
  •    .vsw        
  •     .vbp       


static const struct tlc_board_data tlc_10_inch_data = {
    .timings = {
        .x_res          = 1280,
        .y_res          = 800,

        .pixelclock     = 69300404,

        .hfp            = 48,
        .hsw            = 32,
        .hbp            = 44,

        .vfp            = 4,
        .vsw            = 12,
        .vbp            = 7,

        .vsync_level    = OMAPDSS_SIG_ACTIVE_LOW,
        .hsync_level    = OMAPDSS_SIG_ACTIVE_LOW,
        .data_pclk_edge = OMAPDSS_DRIVE_SIG_RISING_EDGE,
        .de_level       = OMAPDSS_SIG_ACTIVE_HIGH,
        .sync_pclk_edge = OMAPDSS_DRIVE_SIG_RISING_EDGE,
    },
    .init_seq = tlc_10_inch_init_seq,
    .init_seq_len = ARRAY_SIZE(tlc_10_inch_init_seq),
};





  • Hi,

    The app note was developed on GLSDK which did not have support the 1920x1200 OSD display. Support for the 1920x1200 LCD was added in a later version of the SDK. You can use the latest version from the page shown below.

    processors.wiki.ti.com/.../Category:Processor_SDK_Linux_Automotive

    Corresponding update of u-boot patches for the latest SDK is below.

    regards,

    Venkat

  • Hi Venkat,
    Thanks you very much for prompt response.After Apply patch code changes.We are getting Error while write I2C data.It seems I2 Address TC358778-0x0E is incorrect.Error is given below for your kind reference.

    /***********************Error Message ***************************/

    @
    U-Boot SPL 2016.05-00004-g1e93748-dirty (Aug 28 2018 - 18:48:49)
    DRA752-GP ES2.0
    no pinctrl for hs200_1_8v
    no pinctrl for ddr_1_8v
    Card did not respond to voltage select!
    *** Warning - MMC init failed, using default environment

    Trying to boot from MMC1
    Card did not respond to voltage select!
    *** Warning - MMC init failed, using default environment

    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    reading logo.yuv
    [AC] Enabling LCD
    [AC] Doing LCD Init sequence
    [AC] Setting up Display
    [AC] Display Type is 2
    DISPC_CONTROL is 0x00018308
    WR16 0004 00000004
    i2c_write: error waiting for data ACK (status=0x116)
    WR16 0002 00000001
    i2c_write: error waiting for data ACK (status=0x116)
    WR16 0002 00000000
    i2c_write: error waiting for data ACK (status=0x116)
    WR16 0016 000040e6
    i2c_write: error waiting for data ACK (status=0x116)
    WR16 0018 00000203
    i2c_write: error waiting for data ACK (status=0x116)
    WR16 0018 00000213
    i2c_write: error waiting for data ACK (status=0x116)
    WR16 0006 000000d0
    i2c_write: error waiting for data ACK (status=0x116)
    WR16 0008 00000037
    i2c_write: error waiting for data ACK (status=0x116)
    WR16 0050 0000003e
    i2c_write: error waiting for data ACK (status=0x116)
    WR16 0140 00000000
    i2c_write: error waiting for data ACK (status=0x116)
    WR16 0142 00000000
    i2c_write: error waiting for data ACK (status=0x116)
    WR16 0144 00000000
    i2c_write: error waiting for data ACK (status=0x116)
    WR16 0146 00000000
    i2c_write: error waiting for data ACK (status=0x116)
    WR16 0148 00000000
    i2c_write: error waiting for data ACK (status=0x116)
    WR16 014a 00000000
    i2c_write: error waiting for data ACK (status=0x116)
    WR16 014c 00000000
    i2c_write: error waiting for data ACK (status=0x116)
    WR16 014e 00000000
    i2c_write: error waiting for data ACK (status=0x116)
    WR16 0150 00000000
    i2c_write: error waiting for data ACK (status=0x116)
    WR16 0152 00000000
    i2c_write: error waiting for data ACK (status=0x116)
    WR16 0210 00002c88
    i2c_write: error waiting for data ACK (status=0x116)
    WR16 0212 00000000
    i2c_write: error waiting for data ACK (status=0x116)
    WR16 0214 00000005
    i2c_write: error waiting for data ACK (status=0x116)
    WR16 0216 00000000
    i2c_write: error waiting for data ACK (status=0x116)
    WR16 0218 00001f06
    i2c_write: error waiting for data ACK (status=0x116)
    WR16 021a 00000000
    i2c_write: error waiting for data ACK (status=0x116)
    WR16 021c 00000003
    i2c_write: error waiting for data ACK (status=0x116)
    WR16 021e 00000000
    i2c_write: error waiting for data ACK (status=0x116)
    WR16 0220 00000606
    i2c_write: error waiting for data ACK (status=0x116)
    WR16 0222 00000000
    i2c_write: error waiting for data ACK (status=0x116)
    WR16 0224 00004a88
    i2c_write: error waiting for data ACK (status=0x116)
    WR16 0226 00000000
    i2c_write: error waiting for data ACK (status=0x116)
  • Hi Venkat,

    Here is update from our side.

    We changed the I2C slave address for TC358778 from 0x0E to 0x58.

    --Tc358778_lcdBridgeInit(0, 0xe);
    ++Tc358778_lcdBridgeInit(0, 0x58);

    After this change, Tc358778_lcdBridgeInit() function can successfully write all registers via I2C.
    Below is output of all display registers.

    Still the final result is same, i.e. we only see back light enabled without anything on the display.

    ==============START OF CONSOLE DUMP======================
    U-Boot SPL 2016.05-00004-g1e93748-dirty (Aug 28 2018 - 21:38:37)
    DRA752-GP ES2.0
    no pinctrl for hs200_1_8v
    no pinctrl for ddr_1_8v
    Card did not respond to voltage select!
    *** Warning - MMC init failed, using default environment

    Trying to boot from MMC1
    Card did not respond to voltage select!
    *** Warning - MMC init failed, using default environment

    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    reading logo.yuv
    [AC] Enabling LCD
    [AC] Read data(slave# 0x20) 0xff 0xff
    Writing data(slave# 0x20) 0xff 0xdf
    [AC] Doing LCD Init sequence
    [AC] Setting up Display
    [AC] Display Type is 2
    DISPC_CONTROL before is 0x00018328
    DISPC_CONTROL after is 0x00018309
    WR16 0004 00000004
    WR16 0002 00000001
    WR16 0002 00000000
    WR16 0016 000040e6
    WR16 0018 00000203
    WR16 0018 00000213
    WR16 0006 000000d0
    WR16 0008 00000037
    WR16 0050 0000003e
    WR16 0140 00000000
    WR16 0142 00000000
    WR16 0144 00000000
    WR16 0146 00000000
    WR16 0148 00000000
    WR16 014a 00000000
    WR16 014c 00000000
    WR16 014e 00000000
    WR16 0150 00000000
    WR16 0152 00000000
    WR16 0210 00002c88
    WR16 0212 00000000
    WR16 0214 00000005
    WR16 0216 00000000
    WR16 0218 00001f06
    WR16 021a 00000000
    WR16 021c 00000003
    WR16 021e 00000000
    WR16 0220 00000606
    WR16 0222 00000000
    WR16 0224 00004a88
    WR16 0226 00000000
    WR16 0228 0000000b
    WR16 022a 00000000
    WR16 022c 00000004
    WR16 022e 00000000
    WR16 0234 0000001f
    WR16 0236 00000000
    WR16 0238 00000001
    WR16 023a 00000000
    WR16 023c 00000005
    WR16 023e 00000005
    WR16 0204 00000001
    WR16 0206 00000000
    WR16 0620 00000001
    WR16 0622 00000012
    WR16 0624 00000000
    WR16 0626 000004b0
    WR16 0628 00000000
    WR16 062a 00000000
    WR16 062c 00001680
    WR16 0518 00000001
    WR16 051a 00000000
    WR16 0500 000000a7
    WR16 0502 0000a300
    WR16 0500 00008001
    WR16 0502 0000c300
    WR16 0032 00000000
    WR16 0004 00000044
    CTRL_CORE_DSS_PLL_CONTROL (0x4a002538) = 0x000002A6
    DSS_CTRL (0x58000040) = 0x00010001
    DSS_STATUS (0x5800005C) = 0x01408A82
    DSI_CLK_CTRL (0x58004054) = 0x80004001
    DISPC_IRQSTATUS (0x58001018) = 0x00080022
    |----------------------------|
    | Address (hex) | Data (hex) |
    |----------------------------|
    | 0x58004300 | 0x00000018 |
    | 0x58004304 | 0x00002283 |
    | 0x58004308 | 0x00000000 |
    | 0x5800430C | 0x014D3C4E |
    | 0x58004310 | 0x00616008 |
    | 0x58004314 | 0x00000000 |
    | 0x58004318 | 0x00000000 |
    | 0x5800431C | 0x00000000 |
    | 0x58004320 | 0x00000000 |
    |----------------------------|
    DISPC_IRQSTATUS (0x58001018) = 0x00080022
    |----------------------------|
    | Address (hex) | Data (hex) |
    |----------------------------|
    | 0x58001000 | 0x00000051 |
    | 0x58001004 | 0x00000000 |
    | 0x58001008 | 0x00000000 |
    | 0x5800100C | 0x00000000 |
    | 0x58001010 | 0x00000001 |
    | 0x58001014 | 0x00000001 |
    | 0x58001018 | 0x00080022 |
    | 0x5800101C | 0x00000000 |
    | 0x58001020 | 0x00000000 |
    | 0x58001024 | 0x00000000 |
    | 0x58001028 | 0x00000000 |
    | 0x5800102C | 0x00000000 |
    | 0x58001030 | 0x00000000 |
    | 0x58001034 | 0x00000000 |
    | 0x58001038 | 0x00000000 |
    | 0x5800103C | 0x00000000 |
    | 0x58001040 | 0x00018309 |
    | 0x58001044 | 0x00000004 |
    | 0x58001048 | 0x00000000 |
    | 0x5800104C | 0x000000F0 |
    | 0x58001050 | 0x00000000 |
    | 0x58001054 | 0x00000000 |
    | 0x58001058 | 0x00000000 |
    | 0x5800105C | 0x000000BC |
    | 0x58001060 | 0x00000000 |
    | 0x58001064 | 0x01F06F0F |
    | 0x58001068 | 0x01001001 |
    | 0x5800106C | 0x00033000 |
    | 0x58001070 | 0x00010001 |
    | 0x58001074 | 0xFFFFFFFF |
    | 0x58001078 | 0x00000000 |
    | 0x5800107C | 0x04AF077F |
    | 0x58001080 | 0x00000000 |
    | 0x58001084 | 0x00000000 |
    | 0x58001088 | 0x00000000 |
    | 0x5800108C | 0x00000000 |
    | 0x58001090 | 0x00000000 |
    | 0x58001094 | 0x00000000 |
    | 0x58001098 | 0x00000000 |
    | 0x5800109C | 0x00000000 |
    | 0x580010A0 | 0x000000A0 |
    | 0x580010A4 | 0x07FF07F8 |
    | 0x580010A8 | 0x00000500 |
    | 0x580010AC | 0x00000001 |
    | 0x580010B0 | 0x00000001 |
    | 0x580010B4 | 0x00000000 |
    | 0x580010B8 | 0x00000000 |
    | 0x580010BC | 0x00000000 |
    | 0x580010C0 | 0x00000000 |
    | 0x580010C4 | 0x00000000 |
    | 0x580010C8 | 0x00000000 |
    | 0x580010CC | 0x00008400 |
    | 0x580010D0 | 0x07FF07F8 |
    | 0x580010D4 | 0x00000800 |
    | 0x580010D8 | 0x00000001 |
    | 0x580010DC | 0x00000001 |
    | 0x580010E0 | 0x04000400 |
    | 0x580010E4 | 0x00000000 |
    | 0x580010E8 | 0x00000000 |
    | 0x580010EC | 0x00000000 |
    | 0x580010F0 | 0x00000000 |
    | 0x580010F4 | 0x00000000 |
    | 0x580010F8 | 0x00000000 |
    | 0x580010FC | 0x00000000 |
    | 0x58001100 | 0x00000000 |
    | 0x58001104 | 0x00000000 |
    | 0x58001108 | 0x00000000 |
    | 0x5800110C | 0x00000000 |
    | 0x58001110 | 0x00000000 |
    | 0x58001114 | 0x00000000 |
    | 0x58001118 | 0x00000000 |
    | 0x5800111C | 0x00000000 |
    | 0x58001120 | 0x00000000 |
    | 0x58001124 | 0x00000000 |
    | 0x58001128 | 0x00000000 |
    | 0x5800112C | 0x00000000 |
    | 0x58001130 | 0x00000000 |
    | 0x58001134 | 0x00000000 |
    | 0x58001138 | 0x00000000 |
    | 0x5800113C | 0x00000000 |
    | 0x58001140 | 0x00000000 |
    | 0x58001144 | 0x00000000 |
    | 0x58001148 | 0x00000000 |
    | 0x5800114C | 0x00000000 |
    | 0x58001150 | 0x00000000 |
    | 0x58001154 | 0x00000000 |
    | 0x58001158 | 0x00000000 |
    | 0x5800115C | 0x00008400 |
    | 0x58001160 | 0x07FF07F8 |
    | 0x58001164 | 0x00000800 |
    | 0x58001168 | 0x00000001 |
    | 0x5800116C | 0x00000001 |
    | 0x58001170 | 0x04000400 |
    | 0x58001174 | 0x00000000 |
    | 0x58001178 | 0x00000000 |
    | 0x5800117C | 0x00000000 |
    | 0x58001180 | 0x00000000 |
    | 0x58001184 | 0x00000000 |
    | 0x58001188 | 0x00000000 |
    | 0x5800118C | 0x00000000 |
    | 0x58001190 | 0x00000000 |
    | 0x58001194 | 0x00000000 |
    | 0x58001198 | 0x00000000 |
    | 0x5800119C | 0x00000000 |
    | 0x580011A0 | 0x00000000 |
    | 0x580011A4 | 0x00000000 |
    | 0x580011A8 | 0x00000000 |
    | 0x580011AC | 0x00000000 |
    | 0x580011B0 | 0x00000000 |
    | 0x580011B4 | 0x00000000 |
    | 0x580011B8 | 0x00000000 |
    | 0x580011BC | 0x00000000 |
    | 0x580011C0 | 0x00000000 |
    | 0x580011C4 | 0x00000000 |
    | 0x580011C8 | 0x00000000 |
    | 0x580011CC | 0x00000000 |
    | 0x580011D0 | 0x00000000 |
    | 0x580011D4 | 0x00000000 |
    | 0x580011D8 | 0x00000000 |
    | 0x580011DC | 0x00000000 |
    | 0x580011E0 | 0x00000000 |
    | 0x580011E4 | 0x00000000 |
    | 0x580011E8 | 0x00000000 |
    | 0x580011EC | 0x00000000 |
    | 0x580011F0 | 0x00000000 |
    | 0x580011F4 | 0x00000000 |
    | 0x580011F8 | 0x00000000 |
    | 0x580011FC | 0x00000000 |
    | 0x58001200 | 0x00000000 |
    | 0x58001204 | 0x00000000 |==============
    | 0x58001208 | 0x00000000 |
    | 0x5800120C | 0x00000000 |
    | 0x58001210 | 0x00000000 |
    | 0x58001214 | 0x00000000 |
    | 0x58001218 | 0x00000000 |
    | 0x5800121C | 0x00000000 |
    | 0x58001220 | 0x00000000 |
    | 0x58001224 | 0x00000000 |
    | 0x58001228 | 0x00000000 |
    | 0x5800122C | 0x000007FF |
    | 0x58001230 | 0x00000100 |
    | 0x58001234 | 0x00000100 |
    | 0x58001238 | 0x00000000 |
    | 0x5800123C | 0x00000000 |
    | 0x58001240 | 0x00000000 |
    | 0x58001244 | 0x00000000 |
    | 0x58001248 | 0x00000000 |
    | 0x5800124C | 0x00000000 |
    | 0x58001250 | 0x00000000 |
    | 0x58001254 | 0x00000000 |
    | 0x58001258 | 0x00000000 |
    | 0x5800125C | 0x00000000 |
    | 0x58001260 | 0x00000000 |
    | 0x58001264 | 0x00000000 |
    | 0x58001268 | 0x00000000 |
    | 0x5800126C | 0x00000000 |
    | 0x58001270 | 0x00000000 |
    | 0x58001274 | 0x00000000 |
    | 0x58001278 | 0x00000000 |
    | 0x5800127C | 0x00000000 |
    | 0x58001280 | 0x00000000 |
    | 0x58001284 | 0x00000000 |
    | 0x58001288 | 0x00000000 |
    | 0x5800128C | 0x00000000 |
    | 0x58001290 | 0x00000000 |
    | 0x58001294 | 0x00000000 |
    | 0x58001298 | 0x00000000 |
    | 0x5800129C | 0x00000000 |
    | 0x580012A0 | 0x00000000 |
    | 0x580012A4 | 0x00000000 |
    | 0x580012A8 | 0x00000000 |
    | 0x580012AC | 0x00000000 |
    | 0x580012B0 | 0x00000000 |
    | 0x580012B4 | 0x00000000 |
    | 0x580012B8 | 0x00000000 |
    | 0x580012BC | 0x00000000 |
    | 0x580012C0 | 0x00000000 |
    | 0x580012C4 | 0x00000000 |
    | 0x580012C8 | 0x00000000 |
    | 0x580012CC | 0x00000000 |
    | 0x580012D0 | 0x00000000 |
    | 0x580012D4 | 0x00000000 |
    | 0x580012D8 | 0x00000000 |
    | 0x580012DC | 0x00000000 |
    | 0x580012E0 | 0x00000000 |
    | 0x580012E4 | 0x00000000 |
    | 0x580012E8 | 0x00000000 |
    | 0x580012EC | 0x00000000 |
    | 0x580012F0 | 0x00000000 |
    | 0x580012F4 | 0x00000000 |
    | 0x580012F8 | 0x00000000 |
    | 0x580012FC | 0x00000000 |
    | 0x58001300 | 0x00000000 |
    | 0x58001304 | 0x00000000 |
    | 0x58001308 | 0xBF080000 |
    | 0x5800130C | 0xBF080000 |
    | 0x58001310 | 0x00800000 |
    | 0x58001314 | 0x00800000 |
    | 0x58001318 | 0x0E7DF601 |
    | 0x5800131C | 0x0E7DF6FE |
    | 0x58001320 | 0x2172F102 |
    | 0x58001324 | 0x2172F1FA |
    | 0x58001328 | 0x3762F001 |
    | 0x5800132C | 0x3762F0F6 |
    | 0x58001330 | 0xF24E4EF2 |
    | 0x58001334 | 0xF24E4E00 |
    | 0x58001338 | 0xF06237F6 |
    | 0x5800133C | 0xF0623701 |
    | 0x58001340 | 0xF17221FA |
    | 0x58001344 | 0xF1722102 |
    | 0x58001348 | 0xF67D0EFE |
    | 0x5800134C | 0xF67D0E01 |
    | 0x58001350 | 0x00000000 |
    | 0x58001354 | 0x0000FE01 |
    | 0x58001358 | 0x0000FA02 |
    | 0x5800135C | 0x0000F601 |
    | 0x58001360 | 0x000000F2 |
    | 0x58001364 | 0x000001F6 |
    | 0x58001368 | 0x000002FA |
    | 0x5800136C | 0x000001FE |
    | 0x58001370 | 0x0AA08061 |
    | 0x58001374 | 0x0199012A |
    | 0x58001378 | 0x012A0000 |
    | 0x5800137C | 0x079C0730 |
    | 0x58001380 | 0x0000012A |
    | 0x58001384 | 0x00000205 |
    | 0x58001388 | 0x00000800 |
    | 0x5800138C | 0x07FF07F8 |
    | 0x58001390 | 0x04000400 |
    | 0x58001394 | 0x04AF077F |
    | 0x58001398 | 0x00000001 |
    | 0x5800139C | 0x00000000 |
    | 0x580013A0 | 0x000007FF |
    | 0x580013A4 | 0x00000001 |
    | 0x580013A8 | 0x04AF077F |
    | 0x580013AC | 0x00000000 |
    | 0x580013B0 | 0x00000000 |
    | 0x580013B4 | 0x00000000 |
    | 0x580013B8 | 0x00000000 |
    | 0x580013BC | 0x00000000 |
    | 0x580013C0 | 0x00000000 |
    | 0x580013C4 | 0x00000000 |
    | 0x580013C8 | 0x00000000 |
    | 0x580013CC | 0x00000000 |
    | 0x580013D0 | 0x00000000 |
    | 0x580013D4 | 0x00000000 |
    | 0x580013D8 | 0x00000000 |
    | 0x580013DC | 0x00000000 |
    | 0x580013E0 | 0x00000000 |
    | 0x580013E4 | 0x00000000 |
    | 0x580013E8 | 0x00000000 |
    | 0x580013EC | 0x00000000 |
    | 0x580013F0 | 0x00000000 |
    | 0x580013F4 | 0x00000000 |
    | 0x580013F8 | 0x00000000 |
    | 0x580013FC | 0x00000000 |
    | 0x58001400 | 0x00000000 |
    | 0x58001404 | 0x00000000 |
    | 0x58001408 | 0x00000000 |
    | 0x5800140C | 0x00040001 |
    | 0x58001410 | 0x00000000 |
    | 0x58001414 | 0x00000000 |
    | 0x58001418 | 0x00000000 |
    | 0x5800141C | 0x00000000 |
    | 0x58001420 | 0x00000000 |
    | 0x58001424 | 0x00000000 |
    | 0x58001428 | 0x00000000 |
    | 0x5800142C | 0x00000000 |
    | 0x58001430 | 0x00000000 |
    | 0x58001434 | 0x00000000 |
    | 0x58001438 | 0x00000000 |
    | 0x5800143C | 0x00000000 |
    | 0x58001440 | 0x00000000 |
    | 0x58001444 | 0x00000000 |
    | 0x58001448 | 0x00000000 |
    | 0x5800144C | 0x00000000 |
    | 0x58001450 | 0x00000000 |
    | 0x58001454 | 0x00000000 |
    | 0x58001458 | 0x00000000 |
    | 0x5800145C | 0x00000000 |
    | 0x58001460 | 0x00000000 |
    | 0x58001464 | 0x00000000 |
    | 0x58001468 | 0x00000000 |
    | 0x5800146C | 0x00000000 |
    | 0x58001470 | 0x00000000 |
    | 0x58001474 | 0x00000000 |
    | 0x58001478 | 0x00000000 |
    | 0x5800147C | 0x00000000 |
    | 0x58001480 | 0x00000000 |
    | 0x58001484 | 0x00000000 |
    | 0x58001488 | 0x00000000 |
    | 0x5800148C | 0x00000000 |
    | 0x58001490 | 0x00000000 |
    | 0x58001494 | 0x00000000 |
    | 0x58001498 | 0x00000000 |
    | 0x5800149C | 0x00000000 |
    | 0x580014A0 | 0x00000000 |
    | 0x580014A4 | 0x00000000 |
    | 0x580014A8 | 0x00000000 |
    | 0x580014AC | 0x00000000 |
    | 0x580014B0 | 0x00000000 |
    | 0x580014B4 | 0x00000000 |
    | 0x580014B8 | 0x00000000 |
    | 0x580014BC | 0x00000000 |
    | 0x580014C0 | 0x00000000 |
    | 0x580014C4 | 0x00000000 |
    | 0x580014C8 | 0x00000000 |
    | 0x580014CC | 0x00000000 |
    | 0x580014D0 | 0x00000000 |
    | 0x580014D4 | 0x00000000 |
    | 0x580014D8 | 0x00000000 |
    | 0x580014DC | 0x00000000 |
    | 0x580014E0 | 0x00000000 |
    | 0x580014E4 | 0x00000000 |
    | 0x580014E8 | 0x00000000 |
    | 0x580014EC | 0x00000000 |
    | 0x580014F0 | 0x00000000 |
    | 0x580014F4 | 0x00000000 |
    | 0x580014F8 | 0x00000000 |
    | 0x580014FC | 0x00000000 |
    | 0x58001500 | 0x00000000 |
    | 0x58001504 | 0x00000000 |
    | 0x58001508 | 0x00000000 |
    | 0x5800150C | 0x00000000 |
    | 0x58001510 | 0x00000000 |
    | 0x58001514 | 0x00000000 |
    | 0x58001518 | 0x00000000 |
    | 0x5800151C | 0x00000000 |
    | 0x58001520 | 0x00000000 |
    | 0x58001524 | 0x00000000 |
    | 0x58001528 | 0x00000000 |
    | 0x5800152C | 0x00000000 |
    | 0x58001530 | 0x00000000 |
    | 0x58001534 | 0x00000000 |
    | 0x58001538 | 0x00000000 |
    | 0x5800153C | 0x00000000 |
    | 0x58001540 | 0x00000000 |
    | 0x58001544 | 0x00000000 |
    | 0x58001548 | 0x00000000 |
    | 0x5800154C | 0x00000000 |
    | 0x58001550 | 0x00000000 |
    | 0x58001554 | 0x00000000 |
    | 0x58001558 | 0x00000000 |
    | 0x5800155C | 0x00000000 |
    | 0x58001560 | 0x00000000 |
    | 0x58001564 | 0x00000000 |
    | 0x58001568 | 0x00000000 |
    | 0x5800156C | 0x00000000 |
    | 0x58001570 | 0x00008000 |
    | 0x58001574 | 0x00000000 |
    | 0x58001578 | 0x00000000 |
    | 0x5800157C | 0x00000000 |
    | 0x58001580 | 0x00000000 |
    | 0x58001584 | 0x00000000 |
    | 0x58001588 | 0x00000800 |
    | 0x5800158C | 0x07FF07F8 |
    | 0x58001590 | 0x04000400 |
    | 0x58001594 | 0x00000000 |
    | 0x58001598 | 0x00000001 |
    | 0x5800159C | 0x00000000 |
    | 0x580015A0 | 0x00000000 |
    | 0x580015A4 | 0x00000001 |
    | 0x580015A8 | 0x00000000 |
    | 0x580015AC | 0x00000000 |
    | 0x580015B0 | 0x00000000 |
    | 0x580015B4 | 0x00000000 |
    | 0x580015B8 | 0x00000000 |
    | 0x580015BC | 0x00000000 |
    | 0x580015C0 | 0x00000000 |
    | 0x580015C4 | 0x00000000 |
    | 0x580015C8 | 0x00000000 |
    | 0x580015CC | 0x00000000 |
    | 0x580015D0 | 0x00000000 |
    | 0x580015D4 | 0x00000000 |
    | 0x580015D8 | 0x00000000 |
    | 0x580015DC | 0x00000000 |
    | 0x580015E0 | 0x00000000 |
    | 0x580015E4 | 0x00000000 |
    | 0x580015E8 | 0x00000000 |
    | 0x580015EC | 0x00000000 |
    | 0x580015F0 | 0x00000000 |
    | 0x580015F4 | 0x00000000 |
    | 0x580015F8 | 0x00000000 |
    | 0x580015FC | 0x00000000 |
    | 0x58001600 | 0x00000000 |
    | 0x58001604 | 0x00000000 |
    | 0x58001608 | 0x00000000 |
    | 0x5800160C | 0x00000000 |
    | 0x58001610 | 0xBF2B2800 |
    | 0x58001614 | 0xBF2B2800 |
    | 0x58001618 | 0x00000000 |
    | 0x5800161C | 0x00000000 |
    | 0x58001620 | 0x00000000 |
    | 0x58001624 | 0x00000000 |
    | 0x58001628 | 0x00000000 |
    | 0x5800162C | 0x00000100 |
    | 0x58001630 | 0x00000000 |
    | 0x58001634 | 0x00000000 |
    | 0x58001638 | 0x00000000 |
    | 0x5800163C | 0x04000400 |
    | 0x58001640 | 0x00000000 |
    | 0x58001644 | 0x00000000 |
    | 0x58001648 | 0x00000000 |
    | 0x5800164C | 0x00000000 |
    | 0x58001650 | 0x00000000 |
    | 0x58001654 | 0x00000000 |
    | 0x58001658 | 0x00000000 |
    | 0x5800165C | 0x00000000 |
    | 0x58001660 | 0x00000000 |
    | 0x58001664 | 0x00000000 |
    | 0x58001668 | 0x00000000 |
    | 0x5800166C | 0x00000000 |
    | 0x58001670 | 0x00000000 |
    | 0x58001674 | 0x00000000 |
    | 0x58001678 | 0x00000000 |
    | 0x5800167C | 0x00000000 |
    | 0x58001680 | 0x00000000 |
    | 0x58001684 | 0x00000000 |
    | 0x58001688 | 0x00000000 |
    | 0x5800168C | 0x00000000 |
    | 0x58001690 | 0x00000000 |
    | 0x58001694 | 0x00000000 |
    | 0x58001698 | 0x00000000 |
    | 0x5800169C | 0x00000000 |
    | 0x580016A0 | 0x00000000 |
    | 0x580016A4 | 0x00000000 |
    | 0x580016A8 | 0x04000400 |
    | 0x580016AC | 0x00000000 |
    | 0x580016B0 | 0x00000000 |
    | 0x580016B4 | 0x00000000 |
    | 0x580016B8 | 0x00000000 |
    | 0x580016BC | 0x00000000 |
    | 0x580016C0 | 0x00000000 |
    | 0x580016C4 | 0x00000000 |
    | 0x580016C8 | 0x00000000 |
    | 0x580016CC | 0x00000000 |
    | 0x580016D0 | 0x00000000 |
    | 0x580016D4 | 0x00000000 |
    | 0x580016D8 | 0x00000000 |
    | 0x580016DC | 0x00000000 |
    | 0x580016E0 | 0x00000000 |
    | 0x580016E4 | 0x00000000 |
    | 0x580016E8 | 0x00000000 |
    | 0x580016EC | 0x00000000 |
    | 0x580016F0 | 0x00000000 |
    | 0x580016F4 | 0x00000000 |
    | 0x580016F8 | 0x00000000 |
    | 0x580016FC | 0x00000000 |
    | 0x58001700 | 0x00000000 |
    |----------------------------|
    |----------------------------|
    | Address (hex) | Data (hex) |
    |----------------------------|
    | 0x58001700 | 0x00000000 |
    | 0x58001704 | 0x00000000 |
    | 0x58001708 | 0x00000000 |
    | 0x5800170C | 0x00000000 |
    | 0x58001710 | 0x00000000 |
    | 0x58001714 | 0x00000000 |
    | 0x58001718 | 0x00000000 |
    | 0x5800171C | 0x00000000 |
    | 0x58001720 | 0x00000000 |
    | 0x58001724 | 0x02000200 |
    | 0x58001728 | 0x06000000 |
    | 0x5800172C | 0x00000000 |
    | 0x58001730 | 0x00800000 |
    | 0x58001734 | 0x00800000 |
    | 0x58001738 | 0x0E7DF601 |
    | 0x5800173C | 0x0E7DF6FE |
    | 0x58001740 | 0x2172F102 |
    | 0x58001744 | 0x2172F1FA |
    | 0x58001748 | 0x3762F001 |
    | 0x5800174C | 0x3762F0F6 |
    | 0x58001750 | 0xF24E4EF2 |
    | 0x58001754 | 0xF24E4E00 |
    | 0x58001758 | 0xF06237F6 |
    | 0x5800175C | 0xF0623701 |
    | 0x58001760 | 0xF17221FA |
    | 0x58001764 | 0xF1722102 |
    | 0x58001768 | 0xF67D0EFE |
    | 0x5800176C | 0xF67D0E01 |
    | 0x58001770 | 0x00000000 |
    | 0x58001774 | 0x0000FE01 |
    | 0x58001778 | 0x0000FA02 |
    | 0x5800177C | 0x0000F601 |
    | 0x58001780 | 0x000000F2 |
    | 0x58001784 | 0x000001F6 |
    | 0x58001788 | 0x000002FA |
    | 0x5800178C | 0x000001FE |
    | 0x58001790 | 0x04000400 |
    | 0x58001794 | 0x00000000 |
    | 0x58001798 | 0x00000000 |
    | 0x5800179C | 0x00000000 |
    | 0x580017A0 | 0x00000000 |
    | 0x580017A4 | 0x00000000 |
    | 0x580017A8 | 0x00000000 |
    | 0x580017AC | 0x00000000 |
    | 0x580017B0 | 0x00000000 |
    | 0x580017B4 | 0x00000000 |
    | 0x580017B8 | 0x00000000 |
    | 0x580017BC | 0x00000000 |
    | 0x580017C0 | 0x00000000 |
    | 0x580017C4 | 0x00000000 |
    | 0x580017C8 | 0x00000000 |
    | 0x580017CC | 0x00000000 |
    | 0x580017D0 | 0x00000000 |
    | 0x580017D4 | 0x00000000 |
    | 0x580017D8 | 0x00000000 |
    | 0x580017DC | 0x00000000 |
    | 0x580017E0 | 0x00000000 |
    | 0x580017E4 | 0x00000000 |
    | 0x580017E8 | 0x00000000 |
    | 0x580017EC | 0x00000000 |
    | 0x580017F0 | 0x00000000 |
    | 0x580017F4 | 0x00000000 |
    | 0x580017F8 | 0x00000000 |
    | 0x580017FC | 0x00000000 |
    | 0x58001800 | 0x246D2240 |
    |----------------------------|
    |----------------------------|
    | Address (hex) | Data (hex) |
    |----------------------------|
    | 0x58001800 | 0x246D2240 |
    | 0x58001804 | 0x00010001 |
    | 0x58001808 | 0x00000000 |
    | 0x5800180C | 0x00000000 |
    | 0x58001810 | 0x00000000 |
    | 0x58001814 | 0x00000000 |
    | 0x58001818 | 0x00000000 |
    | 0x5800181C | 0x00000000 |
    | 0x58001820 | 0x00000000 |
    | 0x58001824 | 0x00000000 |
    | 0x58001828 | 0x00000000 |
    | 0x5800182C | 0x00000000 |
    | 0x58001830 | 0x00000000 |
    | 0x58001834 | 0x00000000 |
    | 0x58001838 | 0x00040001 |
    | 0x5800183C | 0x00000000 |
    | 0x58001840 | 0x00000000 |
    | 0x58001844 | 0x00000000 |
    | 0x58001848 | 0x00000000 |
    | 0x5800184C | 0x00000000 |
    | 0x58001850 | 0x00000000 |
    | 0x58001854 | 0x00000000 |
    | 0x58001858 | 0x00000000 |
    | 0x5800185C | 0x00000001 |
    | 0x58001860 | 0x00000000 |
    | 0x58001864 | 0x00000000 |
    | 0x58001868 | 0x00000000 |
    | 0x5800186C | 0x05000400 |
    | 0x58001870 | 0x00000000 |
    |----------------------------|

    ==============END OF CONSOLE DUMP======================
  • Hi Venkat

    Any update on issue form your end.

  • Hi Anurag,

    I need a couple of days to look into the problem. I can get back to you by Mon/Tuesday.

    regards,

    Venkat

  • Hi Venkat

    Thanks for update.We already fixed this issue last night.We will upload modify solution soon.

    Regards

    Anurag

  • Hi Venkat

    Task-related to preserving this splash screen during kernel boot.

    As per documents attachment.kernel patches are not compiling as well as not working as per expected results to related to preserving this splash screen during kernel boot.Please let us know where we can get new kernel patches with respect to new kernel tree-4.4 for.EarlySplashScreen.pdf

    8615cf6f067a6a6f5b89255c1d57b72748c86212.
    Table 2. List of Kernel Patches
    S. No
    3.
    4.
    5.
    6.
    7.
    8.
    Headline URL
    1 OMAPDSS: provide a way to set number of overlays review.omapzoom.org/36935
    2 OMAPDSS: Add methods for skipping display initialization review.omapzoom.org/36936
    3 OMAPDSS: Adapt DSS driver for display sharing use-case review.omapzoom.org/36937
    4 OMAPDSS: tlc59108: adapt panel driver for display sharing use case review.omapzoom.org/36938
    5 OMAPDSS: Adapt DSS driver for skipping initialization during bootup review.omapzoom.org/36939
    6 arm: dra7: hwmod: remove opt clks enable flag from hwmod review.omapzoom.org/36946
    7 ARM: dts: omap: Add enable optional clks during reset binding for OMAP review.omapzoom.org/36944
    8 ARM: dts: DRA7: enabling optional clks in DT review.omapzoom.org/36947
    9 arm: OMAP2+: hwmod: Extract enable-opt-clks-on-reset info from DT review.omapzoom.org/36940
    10 ARM: DTSi and DRA7 EVM DTS: changes to define few nodes as
    variable nodes review.omapzoom.org/37773
    11 DRA7: HWMOD: WORKAROUND to Exclude unsed clock gating and
    parent hwmod controls for DSS review.omapzoom.org/37774
    12 DSS: Changes to share Display subsystem with remotecores on DRA7 review.omapzoom.org/37775
    13 DSS: Do not disable PLL if DSS is initialized review.omapzoom.org/37776
    14 arch: arm: dra7: add dts for splash screen functionality review.omapzoom.org/37777

  • Hi Venkat,

    We are using Linux® 4.4.91.Please find the more details.

    OS Kernel: Linux® 4.4.91
    Android: Android™ 8.0 Oreo™ (OPR6.170623.023)
    Toolchain: Android linux-x86 toolchain android-eabi-4.9
    Supported J6 Platforms: J6 EVM (REV H), J6 Eco EVM (Rev C), J6 Entry EVM, and J6 Plus EVM
    IPC Version: 3.47.00.00
    Build Host OS: Ubuntu 64 bit with Java8
    Daily Build Version: JACINTO6_O_DB build 90
    Thanks
    Anurag
  • Anurag,

    Thanks for fixing the issue in u-boot patch for splash screen. Can you share the u-boot modification you did to get the splash screen working ? I dont want to repeat the u-boot debug you performed.

    Let me test the kernel patches before pushing it out.

    regards,
    Venkat
  • Hi Venkat
    we will share -boot modification xhanges tomorrow..I Discussed with my boss Ashish with respect to this.

    Kindly check following kernel patches before push in repo. still i am getting compile issues at following files clk.c &omap_irq.c
    /*
    @@ -973,7 +972,6 @@ static struct omap_hwmod dra7xx_dss_hdmi_hwmod = {
    },
    .opt_clks = dss_hdmi_opt_clks,
    .opt_clks_cnt = ARRAY_SIZE(dss_hdmi_opt_clks),
    - .parent_hwmod = &dra7xx_dss_hwmod,
    };

    /* AES (the 'P' (public) device) */
    diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
    index b3b40d4..d6303c6 100644
    --- a/drivers/clk/clk.c
    +++ b/drivers/clk/clk.c
    @@ -21,6 +21,8 @@
    #include <linux/init.h>
    #include <linux/sched.h>

    +#include <video/omapdss.h>
    +
    #include "clk.h"

    static DEFINE_SPINLOCK(enable_lock);
    @@ -538,6 +540,13 @@ static int clk_disable_unused(void)
    {
    struct clk *clk;

    + /*
    + * In case of display sharing, do not explicitly disable unused clocks
    + * as the remote core will be using them
    + */
    + if (omapdss_display_share())
    + return 0;
    +
    if (clk_ignore_unused) {
    pr_warn("clk: Not disabling unused clocks\n");
    return 0;
    --
    1.7.12.4

    drivers/gpu/drm/omapdrm/omap_irq.c

    at function

    static void omap_irq_error_handler(struct omap_drm_irq *irq,
    @@ -195,8 +196,19 @@ static irqreturn_t omap_irq_handler(int irq, void *arg)
    unsigned long flags;
    unsigned int id;
    u32 irqstatus;
    + u32 irqenable;

    irqstatus = priv->dispc_ops->read_irqstatus();
    + //irqenable = dispc_read_irqenable();
    +// irqstatus &= irqenable;
    +
    +// if (omapdss_display_share()) {
    +// if ((irqstatus & DISPC_IRQ_VSYNC) != DISPC_IRQ_VSYNC) {
    +// udelay(1);
    +// return IRQ_HANDLED;
    +// }
    +// }
    +
    priv->dispc_ops->clear_irqstatus(irqstatus);
    priv->dispc_ops->read_irqstatus(); /* flush posted write */

    (3) arch: arm: dra7: add dts for splash screen functionality review.omapzoom.org/37777
    while splash screen functionality patch.

    Thanks
    Anurag
  • Any update with respect to these 2 kernel patches.we are getting issues compile these 2 patches with new kernel4.4.0.89.

    DRA7: HWMOD: WORKAROUND to Exclude unsed clock gating and

    parent hwmod controls for DSS review.omapzoom.org/37774
    12 DSS: Changes to share Display subsystem with remotecores on DRA7
    Compile Error

    drivers/gpu/drm/omapdrm/omap_irq.c: In function 'omap_irq_handler':
    drivers/gpu/drm/omapdrm/omap_irq.c:201:2: error: implicit declaration of function 'dispc_read_irqenable' [-Werror=implicit-function-declaration]
    irqenable = dispc_read_irqenable();
    ^
    drivers/gpu/drm/omapdrm/omap_irq.c:204:2: error: implicit declaration of function 'omapdss_display_share' [-Werror=implicit-function-declaration]
    if (omapdss_display_share()) {
    ^
    cc1: some warnings being treated as e

    Thanks

    Anurag

  • Any updates on kernel patches.

  • Any update on kernel patches.

  • Hi Anurag,

    I was not able to test the kernel patches due to my current commitments. I am sharing what I have so that you can make progress.

    [1] review.omapzoom.org/

    The last patch in the series is review.omapzoom.org/38992

    This patch series tries allow linux to take control of the LCD even though it is setup from boot loader. If this is not the concern, a lot of the complexity in the kernel patches can be removed.

    You setup a fake OSD panel as detailed in

    [2] processors.wiki.ti.com/.../Processor_SDK_Linux_Automotive_Display_FAQ

    >> Setup a fake panel(s) in the device tree and connect them to the appropriate device tree ports. See review.omapzoom.org/38522, review.omapzoom.org/38523

    and set late attach properties on DISPC nodes as shown in [1] above.

    Hope this helps.

    I am waiting for the u-boot patch that you mentioned earlier. Can you attach it here ?

    regards,
    Venkat
  • Thanks venkat,
    we are doing cleanup code of u-boot changes will upload tomorrow.
    Thanks
    Anurag
  • Hi Venkat

    we are getting issue while setting optional clk through device tree after apply all new kernel patches.We already done changes in code for enable optional clk in following patches.

    DRA7: HWMOD: WORKAROUND to Exclude unsed clock gating and parent hwmod controls for DSS

    arm: dra7: hwmod: remove opt clks enable flag from hwmod

    [ 0.001558] Initializing cgroup subsys freezer

    [ 0.001570] Initializing cgroup subsys perf_event

    [ 0.001583] Initializing cgroup subsys pids

    [ 0.001621] CPU: Testing write buffer coherency: ok

    [ 0.001865] /cpus/cpu@0 missing clock-frequency property

    [ 0.001881] /cpus/cpu@1 missing clock-frequency property

    [ 0.001891] CPU0: update cpu_capacity 1024

    [ 0.001899] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000

    [ 0.001945] Setting up static identity map for 0x80200000 - 0x80200060

    [ 0.080178] CPU1: update cpu_capacity 1024

    [ 0.080184] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001

    [ 0.080257] Brought up 2 CPUs

    [ 0.080273] SMP: Total of 2 processors activated (24.59 BogoMIPS).

    [ 0.080280] CPU: All CPU(s) started in HYP mode.

    [ 0.080286] CPU: Virtualization extensions available.

    [ 0.080319] CPU1: update max cpu_capacity 1024

    [ 0.090188] CPU1: update max cpu_capacity 1024

    [ 0.110796] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0

    [ 0.111769] omap_hwmod: l3_main_2 using broken dt data from ocp

    [ 0.265468] omap_hwmod: dss_dispc: _wait_target_ready failed: -16

    [ 0.265481] omap_hwmod: dss_dispc: cannot be enabled for reset (3)

    [ 0.268068] omap_hwmod: dss_hdmi: _wait_target_ready failed: -16

    [ 0.268078] omap_hwmod: dss_hdmi: cannot be enabled for reset (3)

    [ 0.335209] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle

  • Hi,

    I will not be able to look into this issue this week due to my current commitments. Could you try comparing the older(3.14) kernel patches against the newer ones(4.4) ?

    regards,
    Venkat
  • skip_init functionality patches are not working.can you revisit your latest kernel patches for Panel 1920x1200 display
    .Some functionality omapdss_skipinit/dispay share is not working.

    1.review.omapzoom.org/

    if (!omapdss_skipinit()) {
    pm_runtime_enable(&pdev->dev);

    r = dss_runtime_get();
    if (r)
    goto err_runtime_get;
    }

    (2) --- a/drivers/gpu/drm/omapdrm/dss/core.c
    +++ b/drivers/gpu/drm/omapdrm/dss/core.c
    @@ -197,15 +197,21 @@ static void dss_disable_all_devices(void)
    static int __init omap_dss_probe(struct platform_device *pdev)
    {
    struct omap_dss_board_info *pdata = pdev->dev.platform_data;
    - struct device_node *node = pdev->dev.of_node;
    + struct device_node *node;
    int r;

    core.pdev = pdev;
    + node = of_find_compatible_node(NULL, NULL, "ti,dra7-dss");
    + if (node) {
    + r = of_property_read_u32(node, "is_shared",
    + &g_display_skip_init);

    - of_property_read_u32(node, "skip_init",
    - &g_display_skip_init);
    - if (g_display_skip_init)
    - g_display_share = 1;
    + if (r)
    + g_display_skip_init = 0;
    +
    + if (g_display_skip_init)
    + g_display_share = 1;
    + }

    dss_features_init(omapdss_get_version());
  • Hi Venket

    We tried to Apply skip_init  patches for OSD Panel 1920x1200 display.But skip_init  functionality is not working.After Apply [patches screen  comes after 5 secs from kernel boot.Please provide us correct patches of skip_init functionality.Please let me how i can change code for display share function for correct dra7-dss file for OSD display 1920x1200.

    static int __init omap_dss_probe(struct platform_device *pdev)
    {
        struct omap_dss_board_info *pdata = pdev->dev.platform_data;
        struct device_node *node;
        int r;

        core.pdev = pdev;
        node = of_find_compatible_node(NULL, NULL, "ti,dra7-dss");
        if (node) {
            r = of_property_read_u32(node, "is_shared",
                         &g_display_skip_init);

            if (r)
                g_display_skip_init = 0;

            if (g_display_skip_init)
                g_display_share = 1;
        }

    http://review.omapzoom.org/#/c/38982/1

    http://review.omapzoom.org/#/c/38983/1

    http://review.omapzoom.org/#/c/38987/1

  • How i can set g_display_share = 1; for OSD 1920x1200 in kernel patches.
  • Hi Venkat
    Kindly update me when can we expected correct patches at your end ?.
  • Hi Venkat

    Any updates on kernel patches. ?

  • Hi Venkat,
    I did not any updates from your end ?
    Thanks
    Anurag
  • Hi,

    Please check the dts file for setting "g_display_share" flag. It is done by setting "is_shared" attribute on DSS node as shown in below file.

    review.omapzoom.org/

    regards,
    Venkat
  • Hi Venkat
    Already set this flag from dts file.still got issue at time of kernel booting.OMAPDSS Driver disable and comes after 5 secs.I checked further issue.optional clk is not set in for OSD Display 1920x1200.It will great if can paste sample dts file for OSD Display 1920x1200.
  • Hi Venkat

    We are getting following issues with respect to Early Splash Screen display from kernel patches.

    • when we pass following parameters in dra7-evm-lcd-osd.dts for OSD Display 1920x1200.We are getting blank screen after kernel booting.Logo not display.

    &dispc{
        ti,no-reset-on-init;
        ti,no-idle-on-init;
    };dra7-evm-lcd-osd.dts

    &dss {
        /delete-property/ ti,enable-opt-clks-on-reset;
        ti,no-reset-on-init;
        ti,no-idle-on-init;
        is_shared=<1>;
    };

    1. Form the dts file   is_shared=<1>;flags is not shared at time kernel boot as well as arm: dra7: hwmod: remove opt clks enable flag from hwmod patch is not working.
    2. http://review.omapzoom.org/#/c/38989/1
    3. This patch  also not working while share display. Changes to share Display subsystem with remotecores on DRA7

    http://review.omapzoom.org/#/c/38987/1.

  • Hello Venkat

    I have raised request on Ti e2e forum with respect to issue display share issue through device tree.We have tried all solutions for OSD Display 1920x1200. still DSS Driver disable and enable after 5 secs.Do you any correct kernel patch sets for similar display.

    Thanks

    Anurag

  • Hi Venkat

    We are getting following issues with respect to Early Splash Screen display from kernel patches.

    when we pass following parameters in dra7-evm-lcd-osd.dts for OSD Display 1920x1200.We are getting blank screen after kernel booting.Logo not display.

    &dispc{
    ti,no-reset-on-init;
    ti,no-idle-on-init;
    };dra7-evm-lcd-osd.dts

    &dss {
    /delete-property/ ti,enable-opt-clks-on-reset;
    ti,no-reset-on-init;
    ti,no-idle-on-init;
    is_shared=<1>;
    };

    Form the dts file is_shared=<1>;flags is not shared at time kernel boot as well as arm: dra7: hwmod: remove opt clks enable flag from hwmod patch is not working.
    review.omapzoom.org/
    This patch also not working while share display. Changes to share Display subsystem with remotecores on DRA7

    review.omapzoom.org/.
  • Hello Venkat
    I am able modify t patch of skip_init.still i am getting issue.after change device tree setting.Please let me know if any steps or patches i am missing. for OSD pancel 1920x1200.
    dra7-evm-lcd-osd.dts file

    #include "dra7-evm.dts"
    #include "dra7x-evm-lcd-osd.dtsi"

    &dispc{
    ti,no-reset-on-init;
    ti,no-idle-on-init;
    };

    &dss {
    /delete-property/ ti,enable-opt-clks-on-reset;
    ti,no-reset-on-init;
    ti,no-idle-on-init;
    is_shared=<1>;
    };

    &touchscreen {
    interrupt-parent = <&gpio1>;
    interrupts = <15 IRQ_TYPE_EDGE_FALLING>;
    };

    6.064790] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
    [ 6.110728] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
    [ 6.117022] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [ 6.123412] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
    [ 6.129716] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
    [ 6.136010] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [ 6.142399] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
    [ 6.148700] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
    [ 6.154992] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [ 6.161382] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
    [ 6.167673] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [ 6.174061] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
    [ 6.180364] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
    [ 6.186654] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [ 6.193040] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
    [ 6.199343] [drm:omap_crtc_error_irq] *ERROR* lcd: errors: 00004000
    [ 6.205638] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [ 6.212034] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [ 6.227395] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [ 6.244062] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
  • Hi Venkat

    Any updates on GFX issues ?