diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-03-03 19:40:30 -0500 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-03-03 19:40:30 -0500 |
commit | 71117970df36cbe689ef15e9a6cca24439b4cd62 (patch) | |
tree | 974d9bda586ad1a3a2c2fcb67dec37136e1a8687 /src/radeon_output.c | |
parent | d586a2c6f821c821a4a7708a3382acb63187534f (diff) |
AVIVO: add aspect scaling mode
No luck yet for aspect on pre-avivo chips
Diffstat (limited to 'src/radeon_output.c')
-rw-r--r-- | src/radeon_output.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/radeon_output.c b/src/radeon_output.c index 897c6a21..6bbe9abc 100644 --- a/src/radeon_output.c +++ b/src/radeon_output.c @@ -1465,6 +1465,11 @@ radeon_set_property(xf86OutputPtr output, Atom property, radeon_output->rmx_type = RMX_FULL; } else if (value->size == strlen("center") && !strncmp("center", s, strlen("center"))) { radeon_output->rmx_type = RMX_CENTER; + } else if (value->size == strlen("aspect") && !strncmp("aspect", s, strlen("aspect"))) { + if (IS_AVIVO_VARIANT) + radeon_output->rmx_type = RMX_ASPECT; + else + return FALSE; } else if (value->size == strlen("off") && !strncmp("off", s, strlen("off"))) { radeon_output->rmx_type = RMX_OFF; } else |