drm/tegra: dc: Fix a potential race on page-flip completion
authorThierry Reding <treding@nvidia.com>
Tue, 16 Dec 2014 15:33:27 +0000 (16:33 +0100)
committerThierry Reding <treding@nvidia.com>
Wed, 17 Dec 2014 13:27:36 +0000 (14:27 +0100)
commit6b59cc1c86e90cccf8fb0b4dee5fbc226bb82d3e
tree4150f757c48d659fc7d1c6c15e64e8de2069fd66
parented7dae58de246790f394caea5ef7eecad0e83387
drm/tegra: dc: Fix a potential race on page-flip completion

Page-flip completion could race with page-flip submission, so extend the
critical section to include all accesses to page-flip related data.

Reported-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dc.c