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)
commit19ec320e82c63a44d8d61752e139351be18928ba
tree93713a05075580b3906a330af1a39c6f128bfaf4
parent9f89df7d9bdff3b12ba50183420e1177b259f0e6
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