extd_platform.h 606 B

1234567891011121314151617181920212223242526272829
  1. #ifndef __EXTD_PLATFORM_H__
  2. #define __EXTD_PLATFORM_H__
  3. #include "ddp_hal.h"
  4. #include "disp_drv_platform.h"
  5. #define MAX_SESSION_COUNT 5
  6. /* #define MTK_LCD_HW_3D_SUPPORT */
  7. #define ALIGN_TO(x, n) \
  8. (((x) + ((n) - 1)) & ~((n) - 1))
  9. #define MTK_EXT_DISP_OVERLAY_SUPPORT
  10. /* /#define EXTD_DBG_USE_INNER_BUF */
  11. /*#define HW_OVERLAY_COUNT 4*/
  12. #define EXTD_OVERLAY_CNT 0
  13. #define HW_DPI_VSYNC_SUPPORT 0
  14. #if defined(CONFIG_ARCH_MT6735)
  15. #define MHL_RESOLUTION_LIMIT_720P_60
  16. #elif defined(CONFIG_ARCH_MT6753)
  17. #define MHL_RESOLUTION_LIMIT_1080P_30
  18. #endif
  19. #define DISP_MODULE_RDMA DISP_MODULE_RDMA1
  20. #endif