diff options
author | David Francis <David.Francis@amd.com> | 2019-03-01 18:22:07 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-03-05 15:09:33 -0500 |
commit | 74aa7bd4c6f77431d1313bd9deb7647768ca0ef8 (patch) | |
tree | 598f7aa81eaae3da555d143383341653a2601e3a /drivers/gpu/drm/amd/include/displayobject.h | |
parent | 8628d02f60d4a568d02fc12a26273a55f7718ec0 (diff) |
drm/amd/display: Make stream commits call into DC only once
[Why]
dc_commit_updates_for_stream is called twice per stream: once
with the flip data and once will all other data. This causes
problems when these DC calls have different numbers of planes
For example, a commit with a pageflip on plane A and a
non-pageflip change on plane B will first call
into DC with just plane A, causing plane B to be
disabled. Then it will call into DC with both planes,
re-enabling plane B
[How]
Merge flip and full into a single bundle
Apart from the single DC call, the logic should not be
changed by this patch
Signed-off-by: David Francis <David.Francis@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/include/displayobject.h')
0 files changed, 0 insertions, 0 deletions