mtk_drm_assert.h 861 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright (C) 2019 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 _MTK_DRM_ASSERT_H
  14. #define _MTK_DRM_ASSERT_H
  15. #include "mtk_drm_assert_ext.h"
  16. int mtk_drm_assert_layer_init(struct drm_crtc *crtc);
  17. void mtk_drm_assert_fb_init(struct drm_device *dev, u32 width, u32 height);
  18. int mtk_drm_dal_enable(void);
  19. int drm_show_dal(struct drm_crtc *crtc, bool enable);
  20. void drm_set_dal(struct drm_crtc *crtc, struct cmdq_pkt *cmdq_handle);
  21. #endif