diff options
author | Reza Amini <Reza.Amini@amd.com> | 2019-10-17 16:40:02 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-11-13 15:29:43 -0500 |
commit | 00ada9d14f386305abfad73665d235882768c78f (patch) | |
tree | 18ac9c2aeb1cb5b344f247b753c49e9d152a1f2d /drivers/gpu/drm/amd/display/dc/dc_stream.h | |
parent | d9a07577b8a3131c90c187fb2b89662bee535cfd (diff) | |
download | linux-stable-00ada9d14f386305abfad73665d235882768c78f.tar.gz linux-stable-00ada9d14f386305abfad73665d235882768c78f.tar.bz2 linux-stable-00ada9d14f386305abfad73665d235882768c78f.zip |
drm/amd/display: Unify all scaling when Integer Scaling enabled
[why]
We want to guarantee integer ratio scaling for all scaling modes.
[how]
Treat centered, fullscreen, preserve aspect ratio the same: scale
the view as many times as possible, and fill in the rest with a black
border.
Signed-off-by: Reza Amini <Reza.Amini@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dc_stream.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dc_stream.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc_stream.h b/drivers/gpu/drm/amd/display/dc/dc_stream.h index f8c07d5a4054..70274fc43a72 100644 --- a/drivers/gpu/drm/amd/display/dc/dc_stream.h +++ b/drivers/gpu/drm/amd/display/dc/dc_stream.h @@ -252,6 +252,7 @@ struct dc_stream_update { struct dc_info_packet *vsp_infopacket; bool *dpms_off; + bool integer_scaling_update; struct colorspace_transform *gamut_remap; enum dc_color_space *output_color_space; |