Skip to content
Snippets Groups Projects
Select Git revision
  • pred_err_handling default protected
  • pred_err_handling_more_prints
  • pbm_no_preemption_fix_test_input
  • pbm_no_preemption_fix_test
  • libpbm_kernel_fix
  • libpbm_kernel
  • bugfix/setup
  • libpbm_kernel_fix_bak
  • pbm_no_preemption
  • pbm
  • testing
  • sose22results
  • sose22
  • master protected
  • err_detect
  • kelvin
16 results

platform

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Nikhil Devshatwar authored and Mauro Carvalho Chehab committed
    For deinterlacing operation, VPE hardware uses motion vectors.
    MV calculated in the previous iteration are used for next interation.
    Therefore driver allocates two motion vectors in ping-pong fashion.
    
    For every transaction, one MV is DMAed in and one is DMAed out.
    All the outbound DMAs (DMA to memory) use output parameters, but as
    the motion vectors is generated purely out of input fields, it should
    use the input parameters for DMA.
    
    Fix the add_out_dtd to use source q_data for creating descriptor.
    If the output size is greater than input stride, without this change,
    MV DMA may overwrite the buffer causing memory corruption.
    
    This CRITICAL fix ensures that the motion vector DMA descriptor is
    created based on the attributes with which the buffer was allocated.
    
    Signed-off-by: default avatarNikhil Devshatwar <nikhil.nd@ti.com>
    Signed-off-by: default avatarRavikumar Kattekola <rk@ti.com>
    Signed-off-by: default avatarRavi Babu <ravibabu@ti.com>
    Signed-off-by: default avatarBenoit Parrot <bparrot@ti.com>
    Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
    00db9699
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    Name Last commit Last update
    ..