diff options
| author | Leo (Sunpeng) Li <sunpeng.li@amd.com> | 2017-07-26 01:00:44 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-27 01:08:19 +0300 |
| commit | e29088b2932a11db6155212ca19c75029bc137aa (patch) | |
| tree | 86c371cae4437657aec2f3a05769ba7f45f7575b /include | |
| parent | 061d34994597284b4228b7468762772fbdbcfa4c (diff) | |
| download | linux-e29088b2932a11db6155212ca19c75029bc137aa.tar.xz | |
drm/amd/display: Move drm_get_vblank from legacy code
Previously, we assumed that allow_modeset=false => page flip. This
assumption breaks when an atomic commit is submitted with allow_modeset
set to false, since the legacy flip code is never called (the legacy
code grabs the vblank reference).
Fix: Move drm_vblank_get() from amdgpu_atomic_helper_page_flip() to
amdgpu_dm_commit_surfaces().
Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@amd.com>
Reviewed-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
