diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-09-13 03:10:25 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2019-03-18 12:42:12 +0300 |
commit | 6b97cc9560474f8dd1d4ef14caa1d33249dd8176 (patch) | |
tree | a863b53461663c8bd5da7f15345c3809a7897e30 /certs | |
parent | de9225a9bda1b07e11e02a0228a55c5df9fdc9dd (diff) | |
download | linux-6b97cc9560474f8dd1d4ef14caa1d33249dd8176.tar.xz |
drm/omap: Don't store display pointer in omap_connector structure
Display pipelines based on drm_bridge are handled from the bridge
closest to the CRTC. To move to that model we thus need to transition
away from walking pipelines in the other direction, and from accessing
the device at the end of the pipeline when possible.
Remove most accesses to the display device from the omap_connector
implementation, and don't store it in the omap_connector structure.
- For debug messages we can simply use the connector name instead.
- For type checks we can use the drm_connector type.
- For operation lookup we can start at the other end of the pipeline and
locate the last matching device.
The display device is still passed to the connector init function in
order to find its type, which requires access to the end of the
pipeline.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Tested-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions