]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amd/display: Add center mode for integer scaling in DC
authorReza Amini <Reza.Amini@amd.com>
Mon, 30 Sep 2019 14:11:24 +0000 (10:11 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Oct 2019 20:50:09 +0000 (16:50 -0400)
commit3b733278ca6b51e3271eeb9fb8f46f32e374ab6a
tree168c5e838e96485dc9dcb5d169596142971edf2d
parentd4c2a96fdbfffc4c6a892a63d8fb218eb5fbc5f2
drm/amd/display: Add center mode for integer scaling in DC

[why]
We want to use maximum space on display to show source

[how]
For Centered Mode: Replicate source as many times as possible to use
maximum of display active space add borders.

Signed-off-by: Reza Amini <Reza.Amini@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c