diff options
Diffstat (limited to 'drivers/gpu/drm/drm_atomic.c')
-rw-r--r-- | drivers/gpu/drm/drm_atomic.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_atomic.c b/drivers/gpu/drm/drm_atomic.c index 8d2f111fa113..fa3930757972 100644 --- a/drivers/gpu/drm/drm_atomic.c +++ b/drivers/gpu/drm/drm_atomic.c | |||
@@ -711,6 +711,8 @@ int drm_atomic_plane_set_property(struct drm_plane *plane, | |||
711 | state->src_h = val; | 711 | state->src_h = val; |
712 | } else if (property == config->rotation_property) { | 712 | } else if (property == config->rotation_property) { |
713 | state->rotation = val; | 713 | state->rotation = val; |
714 | } else if (property == plane->zpos_property) { | ||
715 | state->zpos = val; | ||
714 | } else if (plane->funcs->atomic_set_property) { | 716 | } else if (plane->funcs->atomic_set_property) { |
715 | return plane->funcs->atomic_set_property(plane, state, | 717 | return plane->funcs->atomic_set_property(plane, state, |
716 | property, val); | 718 | property, val); |
@@ -767,6 +769,8 @@ drm_atomic_plane_get_property(struct drm_plane *plane, | |||
767 | *val = state->src_h; | 769 | *val = state->src_h; |
768 | } else if (property == config->rotation_property) { | 770 | } else if (property == config->rotation_property) { |
769 | *val = state->rotation; | 771 | *val = state->rotation; |
772 | } else if (property == plane->zpos_property) { | ||
773 | *val = state->zpos; | ||
770 | } else if (plane->funcs->atomic_get_property) { | 774 | } else if (plane->funcs->atomic_get_property) { |
771 | return plane->funcs->atomic_get_property(plane, state, property, val); | 775 | return plane->funcs->atomic_get_property(plane, state, property, val); |
772 | } else { | 776 | } else { |