]> git.baikalelectronics.ru Git - kernel.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)
commitf31c401827e3f8fcdb40666685d8ef0b1d246f51
tree168c5e838e96485dc9dcb5d169596142971edf2d
parentc058ad3915f5839a5d1522bf6850968026272a3d
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