]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - drivers/gpu/drm/drm_atomic.c
drm: Add rotation value to plane state
[mirror_ubuntu-jammy-kernel.git] / drivers / gpu / drm / drm_atomic.c
index af3f3dfdb49f2b0fe0811fa88d4f5daf6bf0d3d9..4c5c9c3899e04a4d9ea93cf9f4095a4760dc8aea 100644 (file)
@@ -387,6 +387,8 @@ int drm_atomic_plane_set_property(struct drm_plane *plane,
                state->src_w = val;
        } else if (property == config->prop_src_h) {
                state->src_h = val;
+       } else if (property == config->rotation_property) {
+               state->rotation = val;
        } else if (plane->funcs->atomic_set_property) {
                return plane->funcs->atomic_set_property(plane, state,
                                property, val);