diff options
author | Thierry Reding <treding@nvidia.com> | 2014-11-24 11:02:53 -0500 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2015-01-27 04:14:51 -0500 |
commit | 9d44189f55c77face595982bad3310bd4078b9fe (patch) | |
tree | edee275dea1610f1aa8c1b768e13f3c5b94bf4ec /drivers/gpu/drm/tegra/dsi.c | |
parent | 4aa3df7149a00cb061d2ba74e2136cd14a6d885a (diff) |
drm/tegra: Atomic conversion, phase 2
Hook up the default ->reset() and ->atomic_duplicate_state() helpers.
This ensures that state objects are properly created and framebuffer
reference counts correctly maintained.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/dsi.c')
-rw-r--r-- | drivers/gpu/drm/tegra/dsi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tegra/dsi.c b/drivers/gpu/drm/tegra/dsi.c index 234cd1c3079f..d98058dc4580 100644 --- a/drivers/gpu/drm/tegra/dsi.c +++ b/drivers/gpu/drm/tegra/dsi.c | |||
@@ -734,9 +734,11 @@ static void tegra_dsi_connector_dpms(struct drm_connector *connector, int mode) | |||
734 | 734 | ||
735 | static const struct drm_connector_funcs tegra_dsi_connector_funcs = { | 735 | static const struct drm_connector_funcs tegra_dsi_connector_funcs = { |
736 | .dpms = tegra_dsi_connector_dpms, | 736 | .dpms = tegra_dsi_connector_dpms, |
737 | .reset = drm_atomic_helper_connector_reset, | ||
737 | .detect = tegra_output_connector_detect, | 738 | .detect = tegra_output_connector_detect, |
738 | .fill_modes = drm_helper_probe_single_connector_modes, | 739 | .fill_modes = drm_helper_probe_single_connector_modes, |
739 | .destroy = tegra_output_connector_destroy, | 740 | .destroy = tegra_output_connector_destroy, |
741 | .atomic_duplicate_state = drm_atomic_helper_connector_duplicate_state, | ||
740 | .atomic_destroy_state = drm_atomic_helper_connector_destroy_state, | 742 | .atomic_destroy_state = drm_atomic_helper_connector_destroy_state, |
741 | }; | 743 | }; |
742 | 744 | ||