drm/panel: Change dlen from u16 to u8
[firefly-linux-kernel-4.4.55.git] / drivers / gpu / drm / tegra / dc.c
index e9f24a85a1038701cc819f38e9b0318260e6679d..1f5cb68357c76aea886894180c1e9044dcc8565b 100644 (file)
@@ -660,7 +660,8 @@ static struct drm_plane *tegra_dc_primary_plane_create(struct drm_device *drm,
 
        err = drm_universal_plane_init(drm, &plane->base, possible_crtcs,
                                       &tegra_primary_plane_funcs, formats,
-                                      num_formats, DRM_PLANE_TYPE_PRIMARY);
+                                      num_formats, DRM_PLANE_TYPE_PRIMARY,
+                                      NULL);
        if (err < 0) {
                kfree(plane);
                return ERR_PTR(err);
@@ -827,7 +828,8 @@ static struct drm_plane *tegra_dc_cursor_plane_create(struct drm_device *drm,
 
        err = drm_universal_plane_init(drm, &plane->base, 1 << dc->pipe,
                                       &tegra_cursor_plane_funcs, formats,
-                                      num_formats, DRM_PLANE_TYPE_CURSOR);
+                                      num_formats, DRM_PLANE_TYPE_CURSOR,
+                                      NULL);
        if (err < 0) {
                kfree(plane);
                return ERR_PTR(err);
@@ -890,7 +892,8 @@ static struct drm_plane *tegra_dc_overlay_plane_create(struct drm_device *drm,
 
        err = drm_universal_plane_init(drm, &plane->base, 1 << dc->pipe,
                                       &tegra_overlay_plane_funcs, formats,
-                                      num_formats, DRM_PLANE_TYPE_OVERLAY);
+                                      num_formats, DRM_PLANE_TYPE_OVERLAY,
+                                      NULL);
        if (err < 0) {
                kfree(plane);
                return ERR_PTR(err);
@@ -1732,7 +1735,7 @@ static int tegra_dc_init(struct host1x_client *client)
        }
 
        err = drm_crtc_init_with_planes(drm, &dc->base, primary, cursor,
-                                       &tegra_crtc_funcs);
+                                       &tegra_crtc_funcs, NULL);
        if (err < 0)
                goto cleanup;