]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Let updates with no scaling changes be fast
authorDavid Francis <David.Francis@amd.com>
Thu, 3 Jan 2019 19:38:06 +0000 (14:38 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Jan 2019 21:15:36 +0000 (16:15 -0500)
commite9c9bea3c08b5a9e2d9eb328a7846364bf18d3da
treec10b8b87268b551b8027a7a9c779c175a3503ec6
parentc9a750da2f52ad86f8bf8b2a6fc28ecc8f7d6f83
drm/amd/display: Let updates with no scaling changes be fast

[Why]
DC was assuming that any surface_update->scaling_info
meant the update was at least medium.  However, if nothing
has changed there is no scaling to program, so there is
no problem with the update being fast

[How]
If every update flag is not set, the update is fast

Signed-off-by: David Francis <David.Francis@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Acked-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c