drm: Drop crtc argument from __drm_atomic_helper_crtc_destroy_state
[deliverable/linux.git] / drivers / gpu / drm / tegra / dc.c
index fb2b4b0271a2a7a5f14587b9cd8a9a1d9b35ecb4..39902bbfb3ce87aedc650b27b59d9f8dc3228904 100644 (file)
@@ -998,7 +998,7 @@ static void tegra_crtc_reset(struct drm_crtc *crtc)
        struct tegra_dc_state *state;
 
        if (crtc->state)
-               __drm_atomic_helper_crtc_destroy_state(crtc, crtc->state);
+               __drm_atomic_helper_crtc_destroy_state(crtc->state);
 
        kfree(crtc->state);
        crtc->state = NULL;
@@ -1034,7 +1034,7 @@ tegra_crtc_atomic_duplicate_state(struct drm_crtc *crtc)
 static void tegra_crtc_atomic_destroy_state(struct drm_crtc *crtc,
                                            struct drm_crtc_state *state)
 {
-       __drm_atomic_helper_crtc_destroy_state(crtc, state);
+       __drm_atomic_helper_crtc_destroy_state(state);
        kfree(state);
 }
 
@@ -1722,7 +1722,6 @@ static int tegra_dc_init(struct host1x_client *client)
        if (err < 0)
                goto cleanup;
 
-       drm_mode_crtc_set_gamma_size(&dc->base, 256);
        drm_crtc_helper_add(&dc->base, &tegra_crtc_helper_funcs);
 
        /*
This page took 0.026121 seconds and 5 git commands to generate.