aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-11-30 11:56:24 +0100
committerSimon Ser <contact@emersion.fr>2020-11-30 11:57:08 +0100
commitde9ff46629fcf3b46252655c5d14ca068c51b46a (patch)
treeb23e2db5273aca1e159751cba0ed9f8b0d7a663e
parent2649600fa11c43c0401a2aaa93472345599de78a (diff)
backend/drm: "scaling mode" is a connector property
It's not a CRTC property. Remove it altogether since it's unused.
-rw-r--r--backend/drm/properties.c1
-rw-r--r--include/backend/drm/properties.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/backend/drm/properties.c b/backend/drm/properties.c
index 8fedac48..de51a3de 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) },
- { "scaling mode", INDEX(scaling_mode) },
#undef INDEX
};
diff --git a/include/backend/drm/properties.h b/include/backend/drm/properties.h
index 914bcefa..c2027c4f 100644
--- a/include/backend/drm/properties.h
+++ b/include/backend/drm/properties.h
@@ -28,7 +28,6 @@ union wlr_drm_connector_props {
union wlr_drm_crtc_props {
struct {
// Neither of these are guaranteed to exist
- uint32_t scaling_mode;
uint32_t vrr_enabled;
uint32_t gamma_lut;
uint32_t gamma_lut_size;