msm_vidc_iris2.h 569 B

12345678910111213141516171819202122232425
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2020-2021,, The Linux Foundation. All rights reserved.
  4. */
  5. #ifndef _MSM_VIDC_IRIS2_H_
  6. #define _MSM_VIDC_IRIS2_H_
  7. #include "msm_vidc_core.h"
  8. #if defined(CONFIG_MSM_VIDC_IRIS2)
  9. int msm_vidc_init_iris2(struct msm_vidc_core *core);
  10. int msm_vidc_deinit_iris2(struct msm_vidc_core *core);
  11. #else
  12. static inline int msm_vidc_init_iris2(struct msm_vidc_core *core)
  13. {
  14. return -EINVAL;
  15. }
  16. static inline int msm_vidc_deinit_iris2(struct msm_vidc_core *core)
  17. {
  18. return -EINVAL;
  19. }
  20. #endif
  21. #endif // _MSM_VIDC_IRIS2_H_