diff options
author | Jyri Sarha <jsarha@ti.com> | 2016-10-31 16:34:22 +0100 |
---|---|---|
committer | Jyri Sarha <jsarha@ti.com> | 2016-11-30 13:17:52 +0100 |
commit | ec9eab097a50040c743fe612c4635fd8ea5c5936 (patch) | |
tree | 081fbfcb8c9e5b7eca0335075174daf641e124d3 /drivers/gpu/drm/tilcdc/tilcdc_drv.h | |
parent | drm/bridge: Add ti-tfp410 DVI transmitter driver (diff) | |
download | linux-ec9eab097a50040c743fe612c4635fd8ea5c5936.tar.xz linux-ec9eab097a50040c743fe612c4635fd8ea5c5936.zip |
drm/tilcdc: Add drm bridge support for attaching drm bridge drivers
Adds drm bride support for attaching drm bridge drivers to tilcdc. The
decision whether a video port leads to an external encoder or bridge
is made simply based on remote device's compatible string. The code
has been tested with BeagleBone-Black with and without BeagleBone
DVI-D Cape Rev A3 using ti-tfp410 driver.
Signed-off-by: Jyri Sarha <jsarha@ti.com>
Tested-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'drivers/gpu/drm/tilcdc/tilcdc_drv.h')
-rw-r--r-- | drivers/gpu/drm/tilcdc/tilcdc_drv.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_drv.h b/drivers/gpu/drm/tilcdc/tilcdc_drv.h index d31fe5d8ab9d..411f8a8d8158 100644 --- a/drivers/gpu/drm/tilcdc/tilcdc_drv.h +++ b/drivers/gpu/drm/tilcdc/tilcdc_drv.h @@ -88,7 +88,10 @@ struct tilcdc_drm_private { unsigned int num_connectors; struct drm_connector *connectors[8]; - const struct drm_connector_helper_funcs *connector_funcs[8]; + + struct drm_encoder *external_encoder; + struct drm_connector *external_connector; + const struct drm_connector_helper_funcs *connector_funcs; bool is_registered; bool is_componentized; |