diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2015-01-13 08:14:53 +0100 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2015-03-20 13:30:18 +0100 |
commit | 5dbe44336811a7e8ef4c958c6ac054772ee47637 (patch) | |
tree | 078bba27e553bece4fac23010bf4b3c6df5c51f4 /drivers/gpu/drm/tegra/gr2d.c | |
parent | drm: omapdrm: Reset the zorder property when disabling a plane (diff) | |
download | linux-5dbe44336811a7e8ef4c958c6ac054772ee47637.tar.xz linux-5dbe44336811a7e8ef4c958c6ac054772ee47637.zip |
drm: omapdrm: Fix race condition between GO and vblank IRQ
The vblank interrupt is used by the driver as a completion signal when
applying new settings.
A race condition exist between enabling the vblank interrupt and
applying new settings to the hardware by setting the GO bit. If a vblank
interrupt occurs in-between, the driver will incorrectly consider the
new settings to be applied. Fix this by enabling the interrupt after
setting the GO bit.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/gr2d.c')
0 files changed, 0 insertions, 0 deletions