Skip to content
Snippets Groups Projects
Forked from drm / kernel
Source project has a limited visibility.
  • Michał Wilczyński's avatar
    5d4d263e
    mailbox: Introduce support for T-head TH1520 Mailbox driver · 5d4d263e
    Michał Wilczyński authored
    This driver was tested using the drm/imagination GPU driver. It was able
    to successfully power on the GPU, by passing a command through mailbox
    from E910 core to E902 that's responsible for powering up the GPU. The
    GPU driver was able to read the BVNC version from control registers,
    which confirms it was successfully powered on.
    
    [   33.957467] powervr ffef400000.gpu: [drm] loaded firmware
    powervr/rogue_36.52.104.182_v1.fw
    [   33.966008] powervr ffef400000.gpu: [drm] FW version v1.0 (build
    6621747 OS)
    [   38.978542] powervr ffef400000.gpu: [drm] *ERROR* Firmware failed to
    boot
    
    Though the driver still fails to boot the firmware, the mailbox driver
    works when used with the not-yet-upstreamed firmware AON driver. There
    is ongoing work to get the BXM-4-64 supported with the drm/imagination
    driver [1], though it's not completed yet.
    
    This work is based on the driver from the vendor kernel [2].
    
    Link: imagination/linux-firmware#2 [1]
    Link: https://github.com/revyos/thead-kernel.git
    
     [2]
    
    Signed-off-by: Michał Wilczyński's avatarMichal Wilczynski <m.wilczynski@samsung.com>
    Signed-off-by: default avatarJassi Brar <jassisinghbrar@gmail.com>
    5d4d263e
    History
    mailbox: Introduce support for T-head TH1520 Mailbox driver
    Michał Wilczyński authored
    This driver was tested using the drm/imagination GPU driver. It was able
    to successfully power on the GPU, by passing a command through mailbox
    from E910 core to E902 that's responsible for powering up the GPU. The
    GPU driver was able to read the BVNC version from control registers,
    which confirms it was successfully powered on.
    
    [   33.957467] powervr ffef400000.gpu: [drm] loaded firmware
    powervr/rogue_36.52.104.182_v1.fw
    [   33.966008] powervr ffef400000.gpu: [drm] FW version v1.0 (build
    6621747 OS)
    [   38.978542] powervr ffef400000.gpu: [drm] *ERROR* Firmware failed to
    boot
    
    Though the driver still fails to boot the firmware, the mailbox driver
    works when used with the not-yet-upstreamed firmware AON driver. There
    is ongoing work to get the BXM-4-64 supported with the drm/imagination
    driver [1], though it's not completed yet.
    
    This work is based on the driver from the vendor kernel [2].
    
    Link: imagination/linux-firmware#2 [1]
    Link: https://github.com/revyos/thead-kernel.git
    
     [2]
    
    Signed-off-by: Michał Wilczyński's avatarMichal Wilczynski <m.wilczynski@samsung.com>
    Signed-off-by: default avatarJassi Brar <jassisinghbrar@gmail.com>