]> 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)
commit35b36195e748d632f89a5176b0020c3ff988bfe2
tree93713a05075580b3906a330af1a39c6f128bfaf4
parent3441b481c3d7ca4172f34d9820c6ecde62d2d6e8
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