drm/amd/display: Implement DAL3 GPU Integer Scaling
authorReza Amini <Reza.Amini@amd.com>
Mon, 10 Jun 2019 20:45:50 +0000 (16:45 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:27:25 +0000 (14:27 -0500)
commitf7938bc0f08b3d748d20dc2c88914f03331dce94
treebe7c91f42b3548b6494300397334b155020a8328
parentf1cdc98fd9d9bb0eb4b6599825b52ce25757eb9f
drm/amd/display: Implement DAL3 GPU Integer Scaling

[WHY]
Users want to not have filtering when scaling by integer
multiples to native timing.

[HOW]
If timing is a multiple integer of view, we set number of taps
to 1 (effectivly closest neighbour).

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