diff options
author | Thierry Reding <treding@nvidia.com> | 2015-07-21 16:38:11 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2019-10-28 11:18:52 +0100 |
commit | 01f09f242eb5cb194a88cef669a099fa10fcb3f0 (patch) | |
tree | dcde81cee2ec727c77eb0bd790b956a32d33e133 /drivers/gpu/drm/tegra/dp.h | |
parent | c4a27288520d35e7e6acc6e36fba4585e1bddde6 (diff) | |
download | lwn-01f09f242eb5cb194a88cef669a099fa10fcb3f0.tar.gz lwn-01f09f242eb5cb194a88cef669a099fa10fcb3f0.zip |
drm/tegra: dp: Add drm_dp_link_choose() helper
This helper chooses an appropriate configuration, according to the
bitrate requirements of the video mode and the capabilities of the
DisplayPort sink.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/dp.h')
-rw-r--r-- | drivers/gpu/drm/tegra/dp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tegra/dp.h b/drivers/gpu/drm/tegra/dp.h index 1fe2d4f45ba3..e07b9a1e43d8 100644 --- a/drivers/gpu/drm/tegra/dp.h +++ b/drivers/gpu/drm/tegra/dp.h @@ -9,6 +9,8 @@ #include <linux/types.h> +struct drm_display_info; +struct drm_display_mode; struct drm_dp_aux; /** @@ -91,5 +93,8 @@ int drm_dp_link_probe(struct drm_dp_aux *aux, struct drm_dp_link *link); int drm_dp_link_power_up(struct drm_dp_aux *aux, struct drm_dp_link *link); int drm_dp_link_power_down(struct drm_dp_aux *aux, struct drm_dp_link *link); int drm_dp_link_configure(struct drm_dp_aux *aux, struct drm_dp_link *link); +int drm_dp_link_choose(struct drm_dp_link *link, + const struct drm_display_mode *mode, + const struct drm_display_info *info); #endif |