Takashi Iwai
0bdf5a0564
drm/i915: Add reverse mapping between port and intel_encoder
...
This patch adds a reverse mapping from a digital port number to
intel_encoder object containing the corresponding intel_digital_port.
It simplifies the query of the encoder a lot.
Note that, even if it's a valid digital port, the dig_port_map[] might
point still to NULL -- usually it implies a DP MST port. Due to this
fact, the NULL check in each place has no WARN_ON() and just skips the
port. Once when the situation changes in future, we might introduce
WARN_ON() for a more strict check.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2015-12-10 13:39:30 +01:00
..
2015-12-08 11:04:26 +10:00
2015-11-24 11:47:38 +01:00
2015-11-24 11:47:38 +01:00
2015-11-24 11:47:38 +01:00
2015-11-24 11:47:38 +01:00
2015-11-05 11:07:13 +10:00
2015-11-24 11:47:38 +01:00
2015-11-24 11:47:38 +01:00
2015-10-07 16:13:52 +02:00
2015-12-01 10:05:11 +01:00
2015-10-15 14:17:13 +10:00
2015-12-10 13:39:30 +01:00
2015-12-08 11:04:26 +10:00
2015-10-06 12:57:47 +02:00
2015-11-24 11:47:38 +01:00
2015-11-24 11:47:38 +01:00
2015-12-08 11:04:26 +10:00
2015-11-24 11:47:38 +01:00
2015-10-28 10:30:17 +09:00
2015-11-24 11:47:38 +01:00
2015-10-06 12:57:47 +02:00
2015-12-08 11:04:26 +10:00
2015-11-24 11:47:38 +01:00
2015-12-08 11:04:26 +10:00
2015-11-24 11:47:38 +01:00
2015-10-16 11:27:46 +10:00
2015-11-03 13:04:56 +01:00
2015-11-24 11:47:38 +01:00
2015-11-24 11:47:38 +01:00
2015-11-24 11:47:38 +01:00
2015-11-17 12:27:03 -08:00
2015-10-19 11:00:44 +02:00
2015-10-16 11:27:49 +10:00
2015-12-08 11:04:26 +10:00
2015-11-24 11:47:38 +01:00
2015-12-03 10:50:27 +01:00
2015-12-02 23:10:59 +01:00
2015-12-02 23:11:17 +01:00
2015-11-24 11:47:38 +01:00
2015-10-22 08:29:08 +10:00
2015-12-04 12:28:14 +10:00
2015-12-01 07:57:14 +01:00
2015-11-24 11:47:38 +01:00
2015-11-17 13:02:14 +02:00
2015-12-08 11:04:26 +10:00
2015-11-10 09:33:06 -08:00
2015-11-24 11:41:49 +01:00
2015-10-16 15:50:54 +02:00
2015-12-04 13:49:38 +10:00
2015-11-06 17:50:42 -08:00
2015-12-01 07:57:14 +01:00
2015-12-02 23:10:59 +01:00
2015-10-20 12:01:29 +02:00
2015-11-24 11:47:47 +01:00
2015-12-04 08:59:41 +01:00
2015-11-24 11:47:46 +01:00
2015-11-24 11:49:34 +01:00
2015-10-19 11:00:44 +02:00
2015-10-21 10:33:12 +01:00
2015-10-22 10:31:17 +10:00