drm/tegra: Atomic conversion, phase 3, step 2
authorThierry Reding <treding@nvidia.com>
Mon, 24 Nov 2014 16:08:20 +0000 (17:08 +0100)
committerThierry Reding <treding@nvidia.com>
Tue, 27 Jan 2015 09:14:55 +0000 (10:14 +0100)
Replace drm_crtc_helper_set_config() by drm_atomic_helper_set_config().
All drivers have now been converted to use ->atomic_check() to set the
atomic state, therefore the atomic mode setting helpers can be used.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dc.c

index 5d6c00a..aa66abb 100644 (file)
@@ -1057,7 +1057,7 @@ static void tegra_crtc_atomic_destroy_state(struct drm_crtc *crtc,
 
 static const struct drm_crtc_funcs tegra_crtc_funcs = {
        .page_flip = tegra_dc_page_flip,
-       .set_config = drm_crtc_helper_set_config,
+       .set_config = drm_atomic_helper_set_config,
        .destroy = tegra_dc_destroy,
        .reset = tegra_crtc_reset,
        .atomic_duplicate_state = tegra_crtc_atomic_duplicate_state,