Skip to content
Permalink
sidraya-bj-pat…
Switch branches/tags

Commits on Aug 18, 2021

  1. ARM64: ti_sdk_arm64_release_defconfig: Enable d5520 video decoder driver

    This patch enables d5520 video decoder driver as module
    on J721e board.
    
    Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com>
    Sidraya authored and intel-lab-lkp committed Aug 18, 2021
  2. arm64: dts: dra82: Add v4l2 vxd_dec device node

    Enable v4l2 vxd_dec on dra82
    
    Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
    Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com>
    Sidraya authored and intel-lab-lkp committed Aug 18, 2021
  3. IMG DEC V4L2 Interface function implementations

    Add Low-level VXD interface component and v4l2 wrapper Interface
    for VXD driver.
    
    Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
    Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com>
    Sidraya authored and intel-lab-lkp committed Aug 18, 2021
  4. media: platform: vxd: Kconfig: Add Video decoder Kconfig and Makefile

    Add video decoder basic config to Kconfig and
    select the required V4l2 modules.
    Add video decoder Makefile.
    
    Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
    Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com>
    Sidraya authored and intel-lab-lkp committed Aug 18, 2021
  5. media: Kconfig: Add Video decoder kconfig and Makefile entries

    Add video decoder to Makefile
    Add video decoder to Kconfig
    
    Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
    Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com>
    Sidraya authored and intel-lab-lkp committed Aug 18, 2021
  6. v4l: videodev2: Add 10bit definitions for NV12 and NV16 color formats

    The default color formats support only 8bit color depth. This patch
    adds 10bit definitions for NV12 and NV16.
    
    Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
    Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com>
    Sidraya authored and intel-lab-lkp committed Aug 18, 2021
  7. v4l:vxd-dec: Add resource manager

    This module handles the resources which is added to list
    and return the resource based requested list.
    
    Signed-off-by: Amit Makani <amit.makani@ti.com>
    Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com>
    Sidraya authored and intel-lab-lkp committed Aug 18, 2021
  8. v4l:vxd-dec:Decoder Component

    Decoder component is responsible for managing decoder state machine
    and resource allocation, firmware message preparation and
    firmware response processing
    
    Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
    Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com>
    Sidraya authored and intel-lab-lkp committed Aug 18, 2021
  9. v4l:vxd-dec:vdecdd headers added

    The header file define all the high level data structures required
    for decoder, hwcontrol, core and v4l2 decoder components.
    
    Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
    
    Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com>
    Sidraya authored and intel-lab-lkp committed Aug 18, 2021
  10. v4l:vxd-dec:Decoder Core Component

    Core component is the entry point for decoder
    stack, and manages decoder state machine.
    
    Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
    Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com>
    Sidraya authored and intel-lab-lkp committed Aug 18, 2021
  11. v4l:vxd-dec:Decoder resource component

    Decoder resource component is responsible for
    allocating all the internal, auxiliary resources
    required for decoder and maintain their life cycle.
    
    Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
    Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com>
    Sidraya authored and intel-lab-lkp committed Aug 18, 2021
  12. v4l:vxd-dec:vdecdd utility library

    This library handles picture buffer pixel format checking
    and layout conversion to suit HW requirements.
    
    Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
    
    Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com>
    Sidraya authored and intel-lab-lkp committed Aug 18, 2021
  13. v4l: vxd-dec: This patch implements pixel processing library

    This library is used to handle different pixel format layouts.
    
    Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
    Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com>
    Sidraya authored and intel-lab-lkp committed Aug 18, 2021
  14. v4l: vxd-dec: This patch implements resource manage component

    This component is used to track decoder resources, and share them
    across other components.
    
    Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
    Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com>
    Sidraya authored and intel-lab-lkp committed Aug 18, 2021
  15. v4l: vxd-dec: Add pool api modules

    This patch create and destroy the pool of the resources
    and it manages the allocation and free of the resources.
    
    Signed-off-by: Amit Makani <amit.makani@ti.com>
    Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com>
    Sidraya authored and intel-lab-lkp committed Aug 18, 2021
  16. v4l: vxd-dec: Add firmware interface headers

    This patch includes IMG D5520 registers and firmware
    headers and utility to decode the registers.
    
    Signed-off-by: Amit Makani <amit.makani@ti.com>
    Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com>
    Sidraya authored and intel-lab-lkp committed Aug 18, 2021
  17. v4l: vxd-dec: Add common headers

    This patch includes all the common headers which is related
    to h264, HEVC and MJPEG firmware data and error defines and pixel format.
    
    Signed-off-by: Amit Makani <amit.makani@ti.com>
    Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com>
    Sidraya authored and intel-lab-lkp committed Aug 18, 2021
  18. v4l: vxd-dec: Add Bistream Preparser (BSPP) module

    Contains the implementation of Bitstream preparser, it supports
    preparsing of H264, HEVC and MJPEG bitstreams at present.
    It uses software shift register implementation for bitstream parsing.
    
    Signed-off-by: Lakshmi Sankar <lakshmisankar-t@ti.com>
    
    Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com>
    Sidraya authored and intel-lab-lkp committed Aug 18, 2021
  19. v4l: vxd-dec: Add VDEC MMU wrapper

    It contains VDEC MMU APIs, used for buffer mapping, generating
    virtual addresses. It will use TALMMU APIs.
    
    Signed-off-by: Lakshmi Sankar <lakshmisankar-t@ti.com>
    Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com>
    Sidraya authored and intel-lab-lkp committed Aug 18, 2021
  20. v4l: vxd-dec: Add TALMMU module

    It contains the implementation of Address allocation management
    APIs, list processing primitives, generic resource allocations,
    self scaling has tables and object pool memory allocator which
    are needed for TALMMU functionality
    
    Signed-off-by: Lakshmi Sankar <lakshmisankar-t@ti.com>
    Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com>
    Sidraya authored and intel-lab-lkp committed Aug 18, 2021
  21. v4l: vxd-dec: Add utility modules

    Contains utility module for double linked queues, single linked
    lists and workqueue.
    
    Signed-off-by: Lakshmi Sankar <lakshmisankar-t@ti.com>
    Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com>
    Sidraya authored and intel-lab-lkp committed Aug 18, 2021
  22. v4l: vxd-dec: Add idgen api modules

    This patch creates and destroy the context for idgen and
    it returns ids, based on ids it manage the resources
    
    Signed-off-by: Amit Makani <amit.makani@ti.com>
    Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com>
    Sidraya authored and intel-lab-lkp committed Aug 18, 2021
  23. v4l: vxd-dec: Add translation control modules

    This patch adds the control allocation buffer for firmware
    and gets the data from decoder module and sent it to firmware
    through hardware control module.
    
    It prepares all the standard headers, dma transfer commands,
    vlc table information and sends it to firmware.
    
    Signed-off-by: Amit Makani <amit.makani@ti.com>
    Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com>
    Sidraya authored and intel-lab-lkp committed Aug 18, 2021
  24. v4l: vxd-dec: Add vxd core module

    This patch prepares the picture commands for the firmware
    it includes reconstructed and alternate picture commands.
    
    Signed-off-by: Amit Makani <amit.makani@ti.com>
    Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com>
    Sidraya authored and intel-lab-lkp committed Aug 18, 2021
  25. v4l: vxd-dec: Add hardware control modules

    The TI Video Decoder uses IMG D5520 to provide video
    decoding for H.264 codec and this patch handles firmware
    messages transaction with firmware.
    It prepares the batch and fragment messages for firmware.
    
    Signed-off-by: Amit Makani <amit.makani@ti.com>
    Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com>
    Sidraya authored and intel-lab-lkp committed Aug 18, 2021
  26. v4l: vxd-dec: Add IMG VXD Video Decoder mem to mem drive

    The IMG VXD Video Decoder uses the IMG D5520 to provide video
    decoding for various codecs including H.264 and HEVC.
    Scaling and rotation are also supported by the hardware
    and driver. The driver also supports multiple simultaneous
    video decodes.
    
    Each mem2mem context is a single stream decode session.
    Each session creates it's own vxd context and associated
    mem mgr and mmu contexts. Firmware loading, firmware messaging,
    and hardware power management (reset) are supported, as well as MMU
    programming of the HW.
    
    This patch adds the framework for the v4l2 IMG VXD video decoder
    driver, supporting HW initialization, MMU mapping and buffer management.
    The decoding functionality is not yet implemented.
    
    Signed-off-by: Buddy Liong <buddy.liong@ti.com>
    Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
    Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com>
    Sidraya authored and intel-lab-lkp committed Aug 18, 2021
  27. v4l: vxd-dec: Add vxd helper library

    The vxd helper provides the functionality for firmware blob preparation
    and loading, power management (core reset, etc.), firmware messaging,
    interrupt handling, managing the hardware status, and error handling.
    
    The vxd helper also interacts with the memory manager helper to create
    a context for each stream and associate it with the mmu context. The
    common mappings are done during this creation for the firmware and
    rendec buffers.
    
    Signed-off-by: Buddy Liong <buddy.liong@ti.com>
    Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
    Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com>
    Sidraya authored and intel-lab-lkp committed Aug 18, 2021
  28. v4l: vxd-dec: Create vxd_dec Mem Manager helper library

    The memory manager helper library provides functions for managing
    the memory context of a decode stream. Each stream will have it's
    own memory context with associated mmu context and heap
    allocations. The memory manager tracks the allocations and mappings
    per context, as well as providing a wrapper around the MMU library.
    It also provides functions for the driver to query information about
    the page table directory for a particular memory context.
    
    In addition, the memory manager provides the ability to plug in
    
    different heaps (unified, carveout, dmabuf, etc.) that the caller
    can use when doing memory allocations.
    
    By default, the "unified" heap functionality is supported. No other
    types of heaps are supported at this time, though the framework is
    present to add more heap types in the future, if needed. This
    heap is used only for allocating internal buffers used for communication
    with the hardware, and for loading the firmware.
    
    Functions are provided for creating/destroying a memory context,
    creating/destroying an MMU context, mapping and unmapping buffers in
    the device MMU, allocating and freeing buffers from specified available
    heaps, and retrieving information about those allocations.
    
    Signed-off-by: Buddy Liong <buddy.liong@ti.com>
    Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
    Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com>
    Sidraya authored and intel-lab-lkp committed Aug 18, 2021
  29. v4l: vxd-dec: Create mmu programming helper library

    The IMG D5520 has an MMU which needs to be programmed with all
    memory which it needs access to. This includes input buffers,
    output buffers and parameter buffers for each decode instance,
    as well as common buffers for firmware, etc.
    
    Functions are provided for creating MMU directories (each stream
    will have it's own MMU context), retrieving the directory page,
    and mapping/unmapping a buffer into the MMU for a specific MMU context.
    
    Also helper(s) are provided for querying the capabilities of the MMU.
    
    Signed-off-by: Buddy Liong <buddy.liong@ti.com>
    Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
    Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com>
    Sidraya authored and intel-lab-lkp committed Aug 18, 2021
  30. dt-bindings: Add binding for img,d5500-vxd for DRA8x

    Add the dt-binding for the img,d5500-vxd node for DRA8x.
    
    Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
    Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com>
    Sidraya authored and intel-lab-lkp committed Aug 18, 2021

Commits on Aug 5, 2021

  1. Merge tag 'v5.14-rc4' into media_tree

    Linux 5.14-rc4
    
    * tag 'v5.14-rc4': (948 commits)
      Linux 5.14-rc4
      pipe: make pipe writes always wake up readers
      Revert "perf map: Fix dso->nsinfo refcounting"
      mm/memcg: fix NULL pointer dereference in memcg_slab_free_hook()
      slub: fix unreclaimable slab stat for bulk free
      mm/migrate: fix NR_ISOLATED corruption on 64-bit
      mm: memcontrol: fix blocking rstat function called from atomic cgroup1 thresholding code
      ocfs2: issue zeroout to EOF blocks
      ocfs2: fix zero out valid data
      lib/test_string.c: move string selftest in the Runtime Testing menu
      gve: Update MAINTAINERS list
      arch: Kconfig: clean up obsolete use of HAVE_IDE
      can: esd_usb2: fix memory leak
      can: ems_usb: fix memory leak
      can: usb_8dev: fix memory leak
      can: mcba_usb_start(): add missing urb->transfer_dma initialization
      can: hi311x: fix a signedness bug in hi3110_cmd()
      MAINTAINERS: add Yasushi SHOJI as reviewer for the Microchip CAN BUS Analyzer Tool driver
      scsi: fas216: Fix fall-through warning for Clang
      scsi: acornscsi: Fix fall-through warning for clang
      ...
    mchehab committed Aug 5, 2021

Commits on Aug 4, 2021

  1. media: venus: venc: add support for V4L2_CID_MPEG_VIDEO_H264_8X8_TRAN…

    …SFORM control
    
    Add support for V4L2_CID_MPEG_VIDEO_H264_8X8_TRANSFORM control for
    H264 high profile and constrained high profile.
    
    Signed-off-by: Mansur Alisha Shaik <mansur@codeaurora.org>
    Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
    Mansur Alisha Shaik authored and mchehab committed Aug 4, 2021
  2. media: venus: venc: Add support for intra-refresh period

    Add support for intra-refresh period v4l2 control and drop
    cyclic intra-refresh macroblock control in the same time.
    
    Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
    svarbanov authored and mchehab committed Aug 4, 2021
  3. media: v4l2-ctrls: Add intra-refresh period control

    Add a control to set intra-refresh period.
    
    Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
    Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
    svarbanov authored and mchehab committed Aug 4, 2021
  4. media: docs: ext-ctrls-codec: Document cyclic intra-refresh zero cont…

    …rol value
    
    In all drivers _CYCLIC_INTRA_REFRESH_MB default control value is zero
    which means that the macroblocks will not be intra-refreshed. Document
    this _CYCLIC_INTRA_REFRESH_MB control behaviour in control description.
    
    Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
    Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
    svarbanov authored and mchehab committed Aug 4, 2021
Older