|
@@ -1378,10 +1378,10 @@ intel_plane_init(struct drm_device *dev, enum pipe pipe, int plane)
|
|
|
intel_plane->plane = plane;
|
|
|
intel_plane->rotation = BIT(DRM_ROTATE_0);
|
|
|
possible_crtcs = (1 << pipe);
|
|
|
- ret = drm_plane_init(dev, &intel_plane->base, possible_crtcs,
|
|
|
- &intel_plane_funcs,
|
|
|
- plane_formats, num_plane_formats,
|
|
|
- false);
|
|
|
+ ret = drm_universal_plane_init(dev, &intel_plane->base, possible_crtcs,
|
|
|
+ &intel_plane_funcs,
|
|
|
+ plane_formats, num_plane_formats,
|
|
|
+ DRM_PLANE_TYPE_OVERLAY);
|
|
|
if (ret) {
|
|
|
kfree(intel_plane);
|
|
|
goto out;
|