diff options
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_connector.c')
-rw-r--r-- | drivers/gpu/drm/omapdrm/omap_connector.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_connector.c b/drivers/gpu/drm/omapdrm/omap_connector.c index 17739737dcf6..83f2a9177c14 100644 --- a/drivers/gpu/drm/omapdrm/omap_connector.c +++ b/drivers/gpu/drm/omapdrm/omap_connector.c | |||
@@ -17,10 +17,11 @@ | |||
17 | * this program. If not, see <http://www.gnu.org/licenses/>. | 17 | * this program. If not, see <http://www.gnu.org/licenses/>. |
18 | */ | 18 | */ |
19 | 19 | ||
20 | #include "omap_drv.h" | 20 | #include <drm/drm_atomic_helper.h> |
21 | #include <drm/drm_crtc.h> | ||
22 | #include <drm/drm_crtc_helper.h> | ||
21 | 23 | ||
22 | #include "drm_crtc.h" | 24 | #include "omap_drv.h" |
23 | #include "drm_crtc_helper.h" | ||
24 | 25 | ||
25 | /* | 26 | /* |
26 | * connector funcs | 27 | * connector funcs |
@@ -259,10 +260,13 @@ struct drm_encoder *omap_connector_attached_encoder( | |||
259 | } | 260 | } |
260 | 261 | ||
261 | static const struct drm_connector_funcs omap_connector_funcs = { | 262 | static const struct drm_connector_funcs omap_connector_funcs = { |
262 | .dpms = drm_helper_connector_dpms, | 263 | .dpms = drm_atomic_helper_connector_dpms, |
264 | .reset = drm_atomic_helper_connector_reset, | ||
263 | .detect = omap_connector_detect, | 265 | .detect = omap_connector_detect, |
264 | .fill_modes = drm_helper_probe_single_connector_modes, | 266 | .fill_modes = drm_helper_probe_single_connector_modes, |
265 | .destroy = omap_connector_destroy, | 267 | .destroy = omap_connector_destroy, |
268 | .atomic_duplicate_state = drm_atomic_helper_connector_duplicate_state, | ||
269 | .atomic_destroy_state = drm_atomic_helper_connector_destroy_state, | ||
266 | }; | 270 | }; |
267 | 271 | ||
268 | static const struct drm_connector_helper_funcs omap_connector_helper_funcs = { | 272 | static const struct drm_connector_helper_funcs omap_connector_helper_funcs = { |