mirror of
https://github.com/torvalds/linux.git
synced 2026-05-02 13:32:40 -04:00
Revert "drm/amd/display: Set RMX_ASPECT as default"
This reverts commit 91b66c47ba.
Forcing RMX_ASPECT as default uses the preferred/native mode's timings
for any mode the user selects and scales the image. This provides a
a consistently nicer result in the case where the selected mode's
refresh rate matches the native mode's refresh but this isn't always
the case.
For example, if the monitor is 1080p@144Hz and the preferred mode is
60Hz then even if the user selects 1080p@144Hz as their selected mode
they'll get 1080p@60Hz.
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
4f01b73e5a
commit
28c5946930
@@ -3100,10 +3100,8 @@ int amdgpu_dm_connector_atomic_set_property(struct drm_connector *connector,
|
||||
rmx_type = RMX_FULL;
|
||||
break;
|
||||
case DRM_MODE_SCALE_NONE:
|
||||
rmx_type = RMX_OFF;
|
||||
break;
|
||||
default:
|
||||
rmx_type = RMX_ASPECT;
|
||||
rmx_type = RMX_OFF;
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -3216,7 +3214,7 @@ void amdgpu_dm_connector_funcs_reset(struct drm_connector *connector)
|
||||
state = kzalloc(sizeof(*state), GFP_KERNEL);
|
||||
|
||||
if (state) {
|
||||
state->scaling = RMX_ASPECT;
|
||||
state->scaling = RMX_OFF;
|
||||
state->underscan_enable = false;
|
||||
state->underscan_hborder = 0;
|
||||
state->underscan_vborder = 0;
|
||||
|
||||
Reference in New Issue
Block a user