aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/properties.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-11-30 11:54:56 +0100
committerSimon Ser <contact@emersion.fr>2020-11-30 11:57:08 +0100
commit2649600fa11c43c0401a2aaa93472345599de78a (patch)
treea54c46f29bec353241f43518ed3c244260fe7ea9 /backend/drm/properties.c
parentd2329ac07a45c4c3b45c68e24f39456bfc2822fd (diff)
backend/drm: rotation is a plane property
"rotation" is a plane property, it's not a CRTC property. It was also missing from plane_info.
Diffstat (limited to 'backend/drm/properties.c')
-rw-r--r--backend/drm/properties.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/drm/properties.c b/backend/drm/properties.c
index 0fafca7b..8fedac48 100644
--- a/backend/drm/properties.c
+++ b/backend/drm/properties.c
@@ -35,7 +35,6 @@ static const struct prop_info crtc_info[] = {
{ "GAMMA_LUT_SIZE", INDEX(gamma_lut_size) },
{ "MODE_ID", INDEX(mode_id) },
{ "VRR_ENABLED", INDEX(vrr_enabled) },
- { "rotation", INDEX(rotation) },
{ "scaling mode", INDEX(scaling_mode) },
#undef INDEX
};
@@ -53,6 +52,7 @@ static const struct prop_info plane_info[] = {
{ "SRC_W", INDEX(src_w) },
{ "SRC_X", INDEX(src_x) },
{ "SRC_Y", INDEX(src_y) },
+ { "rotation", INDEX(rotation) },
{ "type", INDEX(type) },
#undef INDEX
};