diff options
-rw-r--r-- | drivers/gpu/drm/tegra/output.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tegra/output.c b/drivers/gpu/drm/tegra/output.c index f1b5030f55e3..921e4001a090 100644 --- a/drivers/gpu/drm/tegra/output.c +++ b/drivers/gpu/drm/tegra/output.c | |||
@@ -18,6 +18,10 @@ static int tegra_connector_get_modes(struct drm_connector *connector) | |||
18 | struct edid *edid = NULL; | 18 | struct edid *edid = NULL; |
19 | int err = 0; | 19 | int err = 0; |
20 | 20 | ||
21 | /* | ||
22 | * If the panel provides one or more modes, use them exclusively and | ||
23 | * ignore any other means of obtaining a mode. | ||
24 | */ | ||
21 | if (output->panel) { | 25 | if (output->panel) { |
22 | err = output->panel->funcs->get_modes(output->panel); | 26 | err = output->panel->funcs->get_modes(output->panel); |
23 | if (err > 0) | 27 | if (err > 0) |