]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/gpu/drm/imx/ipuv3-plane.c
Merge tag 'for-linus-20170812' of git://git.infradead.org/linux-mtd
[karo-tx-linux.git] / drivers / gpu / drm / imx / ipuv3-plane.c
index d63e853a030064e3719787b5ba04a1241bedaa28..6276bb834b4fe15529652e73c07e901617abc194 100644 (file)
@@ -54,7 +54,7 @@ static const uint32_t ipu_plane_formats[] = {
        DRM_FORMAT_RGBA8888,
        DRM_FORMAT_RGBX8888,
        DRM_FORMAT_BGRA8888,
-       DRM_FORMAT_BGRA8888,
+       DRM_FORMAT_BGRX8888,
        DRM_FORMAT_UYVY,
        DRM_FORMAT_VYUY,
        DRM_FORMAT_YUYV,
@@ -273,7 +273,7 @@ void ipu_plane_state_reset(struct drm_plane *plane)
 
        if (ipu_state) {
                ipu_state->base.plane = plane;
-               ipu_state->base.rotation = DRM_ROTATE_0;
+               ipu_state->base.rotation = DRM_MODE_ROTATE_0;
        }
 
        plane->state = &ipu_state->base;