]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/gpu/drm/drm_fb_helper.c
drm/fb-helper: Set plane rotation directly
[karo-tx-linux.git] / drivers / gpu / drm / drm_fb_helper.c
index abe9793d548d0cac5c674abcd4d1c037ca1855a1..80e06316b52020d320fb7cbeb25d7be0df77b2cb 100644 (file)
@@ -360,11 +360,7 @@ retry:
                        goto fail;
                }
 
-               ret = drm_atomic_plane_set_property(plane, plane_state,
-                               dev->mode_config.rotation_property,
-                               BIT(DRM_ROTATE_0));
-               if (ret != 0)
-                       goto fail;
+               plane_state->rotation = BIT(DRM_ROTATE_0);
 
                /* disable non-primary: */
                if (plane->type == DRM_PLANE_TYPE_PRIMARY)