]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Add update flags in to determine surface update type
authorAndrew Jiang <Andrew.Jiang@amd.com>
Mon, 6 Nov 2017 22:00:07 +0000 (17:00 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:47:41 +0000 (12:47 -0500)
commitb4b8efac45a94b83c4088c9e7ffd4ff9b3b550ad
tree93713a05075580b3906a330af1a39c6f128bfaf4
parent845c8415c4fcc75554e1e9ccbe8f81ebc319f182
drm/amd/display: Add update flags in to determine surface update type

This way, we can know exactly what triggered the update type we're
looking at, and we can simplify the logic for determining what exactly
needs to be updated in the future.

Also allow a dst rect size increase to go through a medium update,
since that does not require us to increase clock or bandwidth.

Signed-off-by: Andrew Jiang <Andrew.Jiang@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/dc.h