mtk_dp_api.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * Copyright (c) 2020 MediaTek Inc.
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. */
  13. #ifndef __DRTX_API_H__
  14. #define __DRTX_API_H__
  15. #include <drm/drmP.h>
  16. void mtk_dp_SWInterruptSet(int bstatus);
  17. int mtk_drm_dp_get_dev_info(struct drm_device *dev,
  18. void *data, struct drm_file *file_priv);
  19. int mtk_drm_dp_audio_enable(struct drm_device *dev,
  20. void *data, struct drm_file *file_priv);
  21. int mtk_drm_dp_audio_config(struct drm_device *dev,
  22. void *data, struct drm_file *file_priv);
  23. int mtk_drm_dp_get_cap(struct drm_device *dev,
  24. void *data, struct drm_file *file_priv);
  25. int mtk_drm_dp_get_info(struct drm_device *dev,
  26. struct drm_mtk_session_info *info);
  27. void mtk_dp_get_dsc_capability(u8 *dsc_cap);
  28. #endif