/linux-6.6.21/drivers/gpu/drm/i915/display/ |
D | intel_dsi_vbt.c | 97 struct intel_dsi *intel_dsi; member 131 static enum port intel_dsi_seq_port_to_port(struct intel_dsi *intel_dsi, in intel_dsi_seq_port_to_port() argument 139 if (hweight8(intel_dsi->ports) == 1) in intel_dsi_seq_port_to_port() 140 return ffs(intel_dsi->ports) - 1; in intel_dsi_seq_port_to_port() 143 if (intel_dsi->ports & BIT(PORT_B)) in intel_dsi_seq_port_to_port() 145 else if (intel_dsi->ports & BIT(PORT_C)) in intel_dsi_seq_port_to_port() 152 static const u8 *mipi_exec_send_packet(struct intel_dsi *intel_dsi, in mipi_exec_send_packet() argument 155 struct drm_i915_private *dev_priv = to_i915(intel_dsi->base.base.dev); in mipi_exec_send_packet() 171 port = intel_dsi_seq_port_to_port(intel_dsi, seq_port); in mipi_exec_send_packet() 173 if (drm_WARN_ON(&dev_priv->drm, !intel_dsi->dsi_hosts[port])) in mipi_exec_send_packet() [all …]
|
D | icl_dsi.c | 101 struct intel_dsi *intel_dsi = enc_to_intel_dsi(encoder); in wait_for_cmds_dispatched_to_panel() local 108 for_each_dsi_port(port, intel_dsi->ports) { in wait_for_cmds_dispatched_to_panel() 115 for_each_dsi_port(port, intel_dsi->ports) { in wait_for_cmds_dispatched_to_panel() 116 dsi = intel_dsi->dsi_hosts[port]->device; in wait_for_cmds_dispatched_to_panel() 126 for_each_dsi_port(port, intel_dsi->ports) { in wait_for_cmds_dispatched_to_panel() 132 for_each_dsi_port(port, intel_dsi->ports) { in wait_for_cmds_dispatched_to_panel() 143 struct intel_dsi *intel_dsi = host->intel_dsi; in dsi_send_pkt_payld() local 144 struct drm_i915_private *i915 = to_i915(intel_dsi->base.base.dev); in dsi_send_pkt_payld() 175 struct intel_dsi *intel_dsi = host->intel_dsi; in dsi_send_pkt_hdr() local 176 struct drm_i915_private *dev_priv = to_i915(intel_dsi->base.base.dev); in dsi_send_pkt_hdr() [all …]
|
D | vlv_dsi.c | 85 void vlv_dsi_wait_for_fifo_empty(struct intel_dsi *intel_dsi, enum port port) in vlv_dsi_wait_for_fifo_empty() argument 87 struct drm_encoder *encoder = &intel_dsi->base.base; in vlv_dsi_wait_for_fifo_empty() 134 struct drm_device *dev = intel_dsi_host->intel_dsi->base.base.dev; in intel_dsi_host_transfer() 224 static int dpi_send_cmd(struct intel_dsi *intel_dsi, u32 cmd, bool hs, in dpi_send_cmd() argument 227 struct drm_encoder *encoder = &intel_dsi->base.base; in dpi_send_cmd() 275 struct intel_dsi *intel_dsi = container_of(encoder, struct intel_dsi, in intel_dsi_compute_config() local 277 struct intel_connector *intel_connector = intel_dsi->attached_connector; in intel_dsi_compute_config() 299 if (intel_dsi->pixel_format == MIPI_DSI_FMT_RGB888) in intel_dsi_compute_config() 310 if (intel_dsi->ports == BIT(PORT_C)) in intel_dsi_compute_config() 332 struct intel_dsi *intel_dsi = enc_to_intel_dsi(encoder); in glk_dsi_enable_io() local [all …]
|
D | intel_dsi.c | 12 void intel_dsi_wait_panel_power_cycle(struct intel_dsi *intel_dsi) in intel_dsi_wait_panel_power_cycle() argument 19 intel_dsi->panel_power_off_time); in intel_dsi_wait_panel_power_cycle() 21 if (panel_power_off_duration < (s64)intel_dsi->panel_pwr_cycle_delay) in intel_dsi_wait_panel_power_cycle() 22 msleep(intel_dsi->panel_pwr_cycle_delay - panel_power_off_duration); in intel_dsi_wait_panel_power_cycle() 27 struct intel_dsi *intel_dsi = enc_to_intel_dsi(encoder); in intel_dsi_shutdown() local 29 intel_dsi_wait_panel_power_cycle(intel_dsi); in intel_dsi_shutdown() 32 int intel_dsi_bitrate(const struct intel_dsi *intel_dsi) in intel_dsi_bitrate() argument 34 int bpp = mipi_dsi_pixel_format_to_bpp(intel_dsi->pixel_format); in intel_dsi_bitrate() 39 return intel_dsi->pclk * bpp / intel_dsi->lane_count; in intel_dsi_bitrate() 42 int intel_dsi_tlpx_ns(const struct intel_dsi *intel_dsi) in intel_dsi_tlpx_ns() argument [all …]
|
D | intel_dsi.h | 42 struct intel_dsi { struct 129 struct intel_dsi *intel_dsi; argument 146 static inline struct intel_dsi *enc_to_intel_dsi(struct intel_encoder *encoder) in enc_to_intel_dsi() 148 return container_of(&encoder->base, struct intel_dsi, base.base); in enc_to_intel_dsi() 151 static inline bool is_vid_mode(struct intel_dsi *intel_dsi) in is_vid_mode() argument 153 return intel_dsi->operation_mode == INTEL_DSI_VIDEO_MODE; in is_vid_mode() 156 static inline bool is_cmd_mode(struct intel_dsi *intel_dsi) in is_cmd_mode() argument 158 return intel_dsi->operation_mode == INTEL_DSI_COMMAND_MODE; in is_cmd_mode() 166 int intel_dsi_bitrate(const struct intel_dsi *intel_dsi); 167 int intel_dsi_tlpx_ns(const struct intel_dsi *intel_dsi); [all …]
|
D | intel_dsi_vbt.h | 12 struct intel_dsi; 14 bool intel_dsi_vbt_init(struct intel_dsi *intel_dsi, u16 panel_id); 15 void intel_dsi_vbt_gpio_init(struct intel_dsi *intel_dsi, bool panel_is_on); 16 void intel_dsi_vbt_gpio_cleanup(struct intel_dsi *intel_dsi); 17 void intel_dsi_vbt_exec_sequence(struct intel_dsi *intel_dsi, 19 void intel_dsi_log_params(struct intel_dsi *intel_dsi);
|
D | intel_dsi_dcs_backlight.c | 49 struct intel_dsi *intel_dsi = enc_to_intel_dsi(encoder); in dcs_get_backlight() local 57 dsi_device = intel_dsi->dsi_hosts[port]->device; in dcs_get_backlight() 68 struct intel_dsi *intel_dsi = enc_to_intel_dsi(to_intel_encoder(conn_state->best_encoder)); in dcs_set_backlight() local 84 dsi_device = intel_dsi->dsi_hosts[port]->device; in dcs_set_backlight() 95 struct intel_dsi *intel_dsi = enc_to_intel_dsi(to_intel_encoder(conn_state->best_encoder)); in dcs_disable_backlight() local 105 dsi_device = intel_dsi->dsi_hosts[port]->device; in dcs_disable_backlight() 113 dsi_device = intel_dsi->dsi_hosts[port]->device; in dcs_disable_backlight() 130 struct intel_dsi *intel_dsi = enc_to_intel_dsi(to_intel_encoder(conn_state->best_encoder)); in dcs_enable_backlight() local 138 dsi_device = intel_dsi->dsi_hosts[port]->device; in dcs_enable_backlight() 154 dsi_device = intel_dsi->dsi_hosts[port]->device; in dcs_enable_backlight()
|
D | vlv_dsi_pll.c | 120 struct intel_dsi *intel_dsi = enc_to_intel_dsi(encoder); in vlv_dsi_pclk() local 121 int bpp = mipi_dsi_pixel_format_to_bpp(intel_dsi->pixel_format); in vlv_dsi_pclk() 168 return DIV_ROUND_CLOSEST(dsi_clock * intel_dsi->lane_count, bpp); in vlv_dsi_pclk() 179 struct intel_dsi *intel_dsi = enc_to_intel_dsi(encoder); in vlv_dsi_pll_compute() local 182 dsi_clk = dsi_clk_from_pclk(intel_dsi->pclk, intel_dsi->pixel_format, in vlv_dsi_pll_compute() 183 intel_dsi->lane_count); in vlv_dsi_pll_compute() 191 if (intel_dsi->ports & (1 << PORT_A)) in vlv_dsi_pll_compute() 194 if (intel_dsi->ports & (1 << PORT_C)) in vlv_dsi_pll_compute() 207 if (intel_dsi->dual_link) in vlv_dsi_pll_compute() 342 struct intel_dsi *intel_dsi = enc_to_intel_dsi(encoder); in bxt_dsi_pclk() local [all …]
|
D | vlv_dsi.h | 13 struct intel_dsi; 15 void vlv_dsi_wait_for_fifo_empty(struct intel_dsi *intel_dsi, enum port port);
|
D | intel_vdsc.c | 884 struct intel_dsi *intel_dsi = enc_to_intel_dsi(encoder); in intel_dsc_dsi_pps_write() local 894 for_each_dsi_port(port, intel_dsi->ports) { in intel_dsc_dsi_pps_write() 895 dsi = intel_dsi->dsi_hosts[port]->device; in intel_dsc_dsi_pps_write()
|
/linux-6.6.21/drivers/gpu/drm/i915/ |
D | Makefile | 324 display/intel_dsi.o \
|