10 Apr, 2019

1 commit


29 Mar, 2019

2 commits


28 Mar, 2019

4 commits


24 Mar, 2019

2 commits


22 Mar, 2019

2 commits


21 Mar, 2019

3 commits

  • If CONFIG_KASAN enabled, gpu kernel driver will throw out the following error:

    drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_command.c: In function ‘gckCOMMAND_Commit’:
    rivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_command.c:2646:1: error:
    the frame size of 2784 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]

    Signed-off-by: Xianzhong
    (cherry picked from commit d5237ed9bca46858875a9b0ef4134ad477832102)

    Xianzhong
     
  • set skip firmware bss flag when when driver clear firmware buffer.
    If driver didn't clear the buffer, and the flag is set.
    Something unexpected may happen.
    So clear firmware buffer before download firmware every times.

    Signed-off-by: ming_qian

    ming_qian
     
  • if seq header is not found before user streamoff.
    and user streamon again.
    the firmware is keeping parsing seq state.
    but it don't really parse seq header
    because it has been canceled by streamoff.
    The firmware needs driver trigger again to start parse next seq.
    In this case, driver will send stop cmd to firmware first,
    and send start cmd to firmware to restart parse seq header.
    And the user need transfer spspps before I frame again.

    Signed-off-by: ming_qian

    ming_qian
     

20 Mar, 2019

1 commit


18 Mar, 2019

1 commit


15 Mar, 2019

5 commits


12 Mar, 2019

1 commit

  • The IPUv3 fb driver would call ipu_init_sync_panel() to enable a display.
    It reads the DI_GENERAL register first and sets the bit
    DI_GEN_POLARITY_DISP_CLK to high if sig.clk_pol is false. This assumes
    no one else would program the bit and the pixel clock polarity never
    changes(which is usually the case). However, the commit mentioned below
    sets the bit to high in ipu_uninit_sync_panel() when a display is disabled,
    in order to avoid power leakage for display pins. This would keep the
    bit being high as long as the display was disabled since the system is
    actively running. This patch explicitly clears the bit when necessary
    to fix the issue. Tests are done for CLAA-WVGA parallel LCD panel,
    SEIKO-WVGA parallel LCD panel, Hannstar XGA LVDS panel(LVDS0 and LVDS1),
    HIMAX WVGA MIPI DSI panel and native HDMI output on i.MX6q SabreSD board.

    Fixes: 9afd177e7524 ("ENGR00141552 ipuv3: fix display pin's power leak")
    Signed-off-by: Liu Ying
    (cherry picked from commit 02db8c7829d72bd45967d866965a17d818b9cc57)

    Liu Ying
     

04 Mar, 2019

1 commit


01 Mar, 2019

1 commit

  • 1. specify feed_mod when start
    2. modify firmware debug log
    extend 'vpu_frmdgb_ena' for multi-instance
    update structure MediaIPFW_Video_DbgLogDesc
    add one parameter to config 'uDecStatusLogLevel'
    3. update structure MediaIPFW_Video_SeqInfo to get Color Aspect
    information from firmware in furture
    4. add verifation before handle vb2_buffer address
    5. add verifation before handle ctx->dbglog_dir
    6. delete '#ifdecf COREPLAY_API' in mediasys_types.h

    Signed-off-by: Shijie Qin

    Shijie Qin
     

26 Feb, 2019

1 commit


25 Feb, 2019

1 commit


22 Feb, 2019

1 commit


15 Feb, 2019

2 commits

  • Galcore kernel panic when reading from sysfs during modprobe,

    This issue occurs when gc sysfs entries are read while the modprobe
    of the galcore module is in progress.

    Register the GC debugfs attributes in sysfs after the driver data-structures
    have been initialized, instead of before.

    Add defensive sanity checks in all _show() functions used by debugfs
    attributes, to check for NULL pointers before dereferencing them.
    Return -ENXIO in case of NULL pointers.

    Signed-off-by: Xianzhong
    (cherry picked from commit 3283efbeadbc11cb38146cb7874becfecf27f981)

    Xianzhong
     
  • GPU hang will happen when run multiple test instances.

    link command could be used for context switch often,
    it is not reliable to check wait or link command only.

    need check command address first, then check command.

    Signed-off-by: Xianzhong
    (cherry picked from commit a7d6f50164039334f371fef1575de7d80d10aa58)

    Xianzhong
     

13 Feb, 2019

2 commits


12 Feb, 2019

9 commits