Rev 5270 | Rev 6336 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5270 | Rev 6082 | ||
---|---|---|---|
Line 251... | Line 251... | ||
251 | u32 dpcd_address; |
251 | u32 dpcd_address; |
252 | u8 num_bytes; |
252 | u8 num_bytes; |
253 | u8 *bytes; |
253 | u8 *bytes; |
254 | }; |
254 | }; |
Line -... | Line 255... | ||
- | 255 | ||
255 | 256 | #define DP_REMOTE_I2C_READ_MAX_TRANSACTIONS 4 |
|
256 | struct drm_dp_remote_i2c_read { |
257 | struct drm_dp_remote_i2c_read { |
257 | u8 num_transactions; |
258 | u8 num_transactions; |
258 | u8 port_number; |
259 | u8 port_number; |
259 | struct { |
260 | struct { |
260 | u8 i2c_dev_id; |
261 | u8 i2c_dev_id; |
261 | u8 num_bytes; |
262 | u8 num_bytes; |
262 | u8 *bytes; |
263 | u8 *bytes; |
263 | u8 no_stop_bit; |
264 | u8 no_stop_bit; |
264 | u8 i2c_transaction_delay; |
265 | u8 i2c_transaction_delay; |
265 | } transactions[4]; |
266 | } transactions[DP_REMOTE_I2C_READ_MAX_TRANSACTIONS]; |
266 | u8 read_i2c_device_id; |
267 | u8 read_i2c_device_id; |
267 | u8 num_bytes_read; |
268 | u8 num_bytes_read; |
Line 268... | Line 269... | ||
268 | }; |
269 | }; |
Line 372... | Line 373... | ||
372 | /* sideband msg handler */ |
373 | /* sideband msg handler */ |
373 | struct drm_dp_mst_topology_mgr; |
374 | struct drm_dp_mst_topology_mgr; |
374 | struct drm_dp_mst_topology_cbs { |
375 | struct drm_dp_mst_topology_cbs { |
375 | /* create a connector for a port */ |
376 | /* create a connector for a port */ |
376 | struct drm_connector *(*add_connector)(struct drm_dp_mst_topology_mgr *mgr, struct drm_dp_mst_port *port, const char *path); |
377 | struct drm_connector *(*add_connector)(struct drm_dp_mst_topology_mgr *mgr, struct drm_dp_mst_port *port, const char *path); |
- | 378 | void (*register_connector)(struct drm_connector *connector); |
|
377 | void (*destroy_connector)(struct drm_dp_mst_topology_mgr *mgr, |
379 | void (*destroy_connector)(struct drm_dp_mst_topology_mgr *mgr, |
378 | struct drm_connector *connector); |
380 | struct drm_connector *connector); |
379 | void (*hotplug)(struct drm_dp_mst_topology_mgr *mgr); |
381 | void (*hotplug)(struct drm_dp_mst_topology_mgr *mgr); |
Line 380... | Line 382... | ||
380 | 382 | ||
Line 461... | Line 463... | ||
461 | 463 | ||
462 | wait_queue_head_t tx_waitq; |
464 | wait_queue_head_t tx_waitq; |
Line 463... | Line 465... | ||
463 | struct work_struct work; |
465 | struct work_struct work; |
- | 466 | ||
- | 467 | struct work_struct tx_work; |
|
- | 468 | ||
- | 469 | struct list_head destroy_connector_list; |
|
464 | 470 | struct mutex destroy_connector_lock; |
|
Line 465... | Line 471... | ||
465 | struct work_struct tx_work; |
471 | struct work_struct destroy_connector_work; |
Line 466... | Line 472... | ||
466 | }; |
472 | }; |
Line 484... | Line 490... | ||
484 | int drm_dp_calc_pbn_mode(int clock, int bpp); |
490 | int drm_dp_calc_pbn_mode(int clock, int bpp); |
Line 485... | Line 491... | ||
485 | 491 | ||
Line -... | Line 492... | ||
- | 492 | ||
- | 493 | bool drm_dp_mst_allocate_vcpi(struct drm_dp_mst_topology_mgr *mgr, struct drm_dp_mst_port *port, int pbn, int *slots); |
|
Line 486... | Line 494... | ||
486 | 494 | ||
Line 487... | Line 495... | ||
487 | bool drm_dp_mst_allocate_vcpi(struct drm_dp_mst_topology_mgr *mgr, struct drm_dp_mst_port *port, int pbn, int *slots); |
495 | int drm_dp_mst_get_vcpi_slots(struct drm_dp_mst_topology_mgr *mgr, struct drm_dp_mst_port *port); |