drm/tegra: dsi: Demidlayer
Implement encoder and connector within the DSI driver itself using the Tegra output helpers rather than using the Tegra output as midlayer. By doing so one level of indirection is removed and output drivers become more flexible while keeping the majority of the advantages provided by the common output helpers. Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
@@ -274,11 +274,6 @@ int tegra_output_init(struct drm_device *drm, struct tegra_output *output)
|
||||
int connector, encoder;
|
||||
|
||||
switch (output->type) {
|
||||
case TEGRA_OUTPUT_DSI:
|
||||
connector = DRM_MODE_CONNECTOR_DSI;
|
||||
encoder = DRM_MODE_ENCODER_DSI;
|
||||
break;
|
||||
|
||||
case TEGRA_OUTPUT_EDP:
|
||||
connector = DRM_MODE_CONNECTOR_eDP;
|
||||
encoder = DRM_MODE_ENCODER_TMDS;
|
||||
|
Reference in New Issue
Block a user