Rev 4560 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4560 | Rev 5060 | ||
---|---|---|---|
Line 26... | Line 26... | ||
26 | #ifndef _INTEL_DSI_DSI_H |
26 | #ifndef _INTEL_DSI_DSI_H |
27 | #define _INTEL_DSI_DSI_H |
27 | #define _INTEL_DSI_DSI_H |
Line 28... | Line 28... | ||
28 | 28 | ||
29 | #include |
29 | #include |
30 | #include |
30 | #include |
31 | #include |
31 | #include |
32 | #include "i915_drv.h" |
32 | #include "i915_drv.h" |
33 | #include "intel_drv.h" |
33 | #include "intel_drv.h" |
Line -... | Line 34... | ||
- | 34 | #include "intel_dsi.h" |
|
- | 35 | ||
- | 36 | #define DPI_LP_MODE_EN false |
|
34 | #include "intel_dsi.h" |
37 | #define DPI_HS_MODE_EN true |
Line 35... | Line 38... | ||
35 | 38 | ||
36 | void dsi_hs_mode_enable(struct intel_dsi *intel_dsi, bool enable); |
39 | void dsi_hs_mode_enable(struct intel_dsi *intel_dsi, bool enable); |
Line 45... | Line 48... | ||
45 | u8 *buf, int buflen); |
48 | u8 *buf, int buflen); |
Line 46... | Line 49... | ||
46 | 49 | ||
47 | int dsi_vc_generic_read(struct intel_dsi *intel_dsi, int channel, |
50 | int dsi_vc_generic_read(struct intel_dsi *intel_dsi, int channel, |
Line 48... | Line 51... | ||
48 | u8 *reqdata, int reqlen, u8 *buf, int buflen); |
51 | u8 *reqdata, int reqlen, u8 *buf, int buflen); |
- | 52 | ||
Line 49... | Line 53... | ||
49 | 53 | int dpi_send_cmd(struct intel_dsi *intel_dsi, u32 cmd, bool hs); |
|
50 | int dpi_send_cmd(struct intel_dsi *intel_dsi, u32 cmd); |
54 | void wait_for_dsi_fifo_empty(struct intel_dsi *intel_dsi); |
51 | 55 | ||
52 | /* XXX: questionable write helpers */ |
56 | /* XXX: questionable write helpers */ |