backend/drm: "scaling mode" is a connector property

It's not a CRTC property. Remove it altogether since it's unused.
This commit is contained in:
Simon Ser 2020-11-30 11:56:24 +01:00
parent 2649600fa1
commit de9ff46629
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 0 additions and 2 deletions

View file

@ -35,7 +35,6 @@ static const struct prop_info crtc_info[] = {
{ "GAMMA_LUT_SIZE", INDEX(gamma_lut_size) }, { "GAMMA_LUT_SIZE", INDEX(gamma_lut_size) },
{ "MODE_ID", INDEX(mode_id) }, { "MODE_ID", INDEX(mode_id) },
{ "VRR_ENABLED", INDEX(vrr_enabled) }, { "VRR_ENABLED", INDEX(vrr_enabled) },
{ "scaling mode", INDEX(scaling_mode) },
#undef INDEX #undef INDEX
}; };

View file

@ -28,7 +28,6 @@ union wlr_drm_connector_props {
union wlr_drm_crtc_props { union wlr_drm_crtc_props {
struct { struct {
// Neither of these are guaranteed to exist // Neither of these are guaranteed to exist
uint32_t scaling_mode;
uint32_t vrr_enabled; uint32_t vrr_enabled;
uint32_t gamma_lut; uint32_t gamma_lut;
uint32_t gamma_lut_size; uint32_t gamma_lut_size;