Repository navigation
Commit 8ff64c1
committed
drm/tegra: dc: Add missing call to drm_vblank_on()
When the CRTC is enabled, make sure the VBLANK machinery is enabled.
Failure to do so will cause drm_vblank_get() to not enable the VBLANK on
the CRTC and VBLANK-synchronized page-flips won't work.
While at it, get rid of the legacy drm_vblank_pre_modeset() and
drm_vblank_post_modeset() calls that are replaced by drm_vblank_on()
and drm_vblank_off().
Reported-by: Alexandre Courbot <acourbot@nvidia.com>
Tested-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>1 parent f114040 commit 8ff64c1
1 file changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
736 | 736 | | |
737 | 737 | | |
738 | 738 | | |
739 | | - | |
740 | 739 | | |
741 | 740 | | |
742 | 741 | | |
| |||
752 | 751 | | |
753 | 752 | | |
754 | 753 | | |
755 | | - | |
| 754 | + | |
756 | 755 | | |
757 | 756 | | |
758 | 757 | | |
| |||
841 | 840 | | |
842 | 841 | | |
843 | 842 | | |
844 | | - | |
845 | | - | |
846 | 843 | | |
847 | 844 | | |
848 | 845 | | |
| |||
896 | 893 | | |
897 | 894 | | |
898 | 895 | | |
| 896 | + | |
| 897 | + | |
899 | 898 | | |
900 | 899 | | |
901 | 900 | | |
| |||
943 | 942 | | |
944 | 943 | | |
945 | 944 | | |
946 | | - | |
| 945 | + | |
947 | 946 | | |
948 | 947 | | |
949 | 948 | | |
| |||
0 commit comments