ddp_dump.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #ifndef _DDP_DUMP_H_
  2. #define _DDP_DUMP_H_
  3. #include "ddp_info.h"
  4. #include "ddp_path.h"
  5. typedef enum {
  6. DDP_SIGNAL_DPI0_SEL__DPI0 = 31,
  7. DDP_SIGNAL_DIS0_SEL__DSI0 = 30,
  8. DDP_SIGNAL_RDMA1_SOUT1__DPI0_SIN2 = 29,
  9. DDP_SIGNAL_RDMA1_SOUT0__DSI0_SIN2 = 28,
  10. DDP_SIGNAL_RDMA1__RDMA1_SOUT = 27,
  11. DDP_SIGNAL_OVL1_MOUT2__OVL0 = 26,
  12. DDP_SIGNAL_OVL1_MOUT1__WDMA1 = 25,
  13. DDP_SIGNAL_OVL1_MOUT0__RDMA1 = 24,
  14. DDP_SIGNAL_OVL1__OVL1_MOUT = 23,
  15. DDP_SIGNAL_WDMA0_SEL__WDMA0 = 22,
  16. DDP_SIGNAL_UFOE_MOUT2__WDMA0_SIN2 = 21,
  17. DDP_SIGNAL_UFOE_MOUT1__DPI0_SIN0 = 20,
  18. DDP_SIGNAL_UFOE_MOUT0__DSI0_SIN0 = 19,
  19. DDP_SIGNAL_UFOE__UFOE_MOUT = 18,
  20. DDP_SIGNAL_UFOE_SEL__UFOE = 17,
  21. DDP_SIGNAL_RDMA0_SOUT3__DPI0_SIN1 = 16,
  22. DDP_SIGNAL_RDMA0_SOUT2__DSI0_SIN1 = 15,
  23. DDP_SIGNAL_RDMA0_SOUT1__COLOR_SIN0 = 14,
  24. DDP_SIGNAL_RDMA0_SOUT0__UFOE_SIN0 = 13,
  25. DDP_SIGNAL_RDMA0__RDMA0_SOUT = 12,
  26. DDP_SIGNAL_DITHER_MOUT2__WDMA0_SIN1 = 11,
  27. DDP_SIGNAL_DITHER_MOUT1__UFOE_SIN1 = 10,
  28. DDP_SIGNAL_DITHER_MOUT0__RDMA0 = 9,
  29. DDP_SIGNAL_DITHER__DITHER_MOUT = 8,
  30. DDP_SIGNAL_GAMMA__DITHER = 7,
  31. DDP_SIGNAL_AAL__GAMMA = 6,
  32. DDP_SIGNAL_CCORR__AAL = 5,
  33. DDP_SIGNAL_COLOR__CCORR = 4,
  34. DDP_SIGNAL_COLOR_SEL__COLOR = 3,
  35. DDP_SIGNAL_OVL0_MOUT1__WDMA0_SIN0 = 2,
  36. DDP_SIGNAL_OVL0_MOUT0__COLOR_SIN1 = 1,
  37. DDP_SIGNAL_OVL0__OVL0_MOUT = 0,
  38. } DISP_ENGINE_SIGNAL0;
  39. extern unsigned int mutex_start_irq_cnt;
  40. extern unsigned int mutex_done_irq_cnt;
  41. char *ddp_get_fmt_name(DISP_MODULE_ENUM module, unsigned int fmt);
  42. int ddp_dump_analysis(DISP_MODULE_ENUM module);
  43. int ddp_dump_reg(DISP_MODULE_ENUM module);
  44. #endif