1. 02 Oct, 2019 1 commit
    • Loic Poulain's avatar
      media: venus: core: Fix msm8996 frequency table · c690435e
      Loic Poulain authored
      In downstream driver, there are two frequency tables defined,
      one for the encoder and one for the decoder:
      
      /* Encoders /
      <972000 490000000 0x55555555>, / 4k UHD @ 30 /
      <489600 320000000 0x55555555>, / 1080p @ 60 /
      <244800 150000000 0x55555555>, / 1080p @ 30 /
      <108000 75000000 0x55555555>, / 720p @ 30 */
      
      /* Decoders /
      <1944000 490000000 0xffffffff>, / 4k UHD @ 60 /
      < 972000 320000000 0xffffffff>, / 4k UHD @ 30 /
      < 489600 150000000 0xffffffff>, / 1080p @ 60 /
      < 244800 75000000 0xffffffff>; / 1080p @ 30 */
      
      It shows that encoder always needs a higher clock than decoder.
      
      In current venus driver, the unified frequency table is aligned
      with the downstream decoder table which causes performance issues
      in encoding scenarios. Fix that by aligning frequency table on
      worst case (encoding).
      Signed-off-by: default avatarLoic Poulain <loic.poulain@linaro.org>
      Signed-off-by: default avatarStanimir Varbanov <stanimir.varbanov@linaro.org>
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
      c690435e
  2. 01 Oct, 2019 39 commits