Kconfig 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. comment "Verisilicon media platform drivers"
  3. config VIDEO_HANTRO
  4. tristate "Hantro VPU driver"
  5. depends on ARCH_MXC || ARCH_ROCKCHIP || ARCH_AT91 || ARCH_SUNXI || ARCH_STM32 || COMPILE_TEST
  6. depends on V4L_MEM2MEM_DRIVERS
  7. depends on VIDEO_DEV
  8. select MEDIA_CONTROLLER
  9. select VIDEOBUF2_DMA_CONTIG
  10. select VIDEOBUF2_VMALLOC
  11. select V4L2_MEM2MEM_DEV
  12. select V4L2_H264
  13. select V4L2_JPEG_HELPER
  14. select V4L2_VP9
  15. help
  16. Support for the Hantro IP based Video Processing Units present on
  17. Rockchip, NXP i.MX8M and STM32MP25 SoCs, which accelerate video
  18. and image encoding and decoding.
  19. To compile this driver as a module, choose M here: the module
  20. will be called hantro-vpu.
  21. config VIDEO_HANTRO_HEVC_RFC
  22. bool "Use reference frame compression for HEVC"
  23. depends on VIDEO_HANTRO
  24. default n
  25. help
  26. Enable the reference frame compression feature for the HEVC codec.
  27. It will use more memory but save bandwidth on memory bus.
  28. config VIDEO_HANTRO_IMX8M
  29. bool "Hantro VPU i.MX8M support"
  30. depends on VIDEO_HANTRO
  31. depends on ARCH_MXC || COMPILE_TEST
  32. default y
  33. help
  34. Enable support for i.MX8M SoCs.
  35. config VIDEO_HANTRO_SAMA5D4
  36. bool "Hantro VDEC SAMA5D4 support"
  37. depends on VIDEO_HANTRO
  38. depends on ARCH_AT91 || COMPILE_TEST
  39. default y
  40. help
  41. Enable support for Microchip SAMA5D4 SoCs.
  42. config VIDEO_HANTRO_ROCKCHIP
  43. bool "Hantro VPU Rockchip support"
  44. depends on VIDEO_HANTRO
  45. depends on ARCH_ROCKCHIP || COMPILE_TEST
  46. default y
  47. help
  48. Enable support for RK3288, RK3328, and RK3399 SoCs.
  49. config VIDEO_HANTRO_SUNXI
  50. bool "Hantro VPU Allwinner support"
  51. depends on VIDEO_HANTRO
  52. depends on ARCH_SUNXI || COMPILE_TEST
  53. default y
  54. help
  55. Enable support for H6 SoC.
  56. config VIDEO_HANTRO_STM32MP25
  57. bool "Hantro STM32MP25 support"
  58. depends on VIDEO_HANTRO
  59. depends on ARCH_STM32 || COMPILE_TEST
  60. default y
  61. help
  62. Enable support for STM32MP25 SoCs.