summaryrefslogtreecommitdiffstats
path: root/Kconfig
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2014-04-02 14:31:57 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2014-04-14 12:34:14 +0300
commite2f8fd74ec1bf15cb2abc1b11f7d9fa09581024e (patch)
tree020db67510226850520f26769da44549f46d050f /Kconfig
parentea7e3a662814447cd329390feddd04b9ec0a4b82 (diff)
downloadop-kernel-dev-e2f8fd74ec1bf15cb2abc1b11f7d9fa09581024e.zip
op-kernel-dev-e2f8fd74ec1bf15cb2abc1b11f7d9fa09581024e.tar.gz
drm/omap: fix race issue when unloading omapdrm
At module unload, omap_fbdev_free() gets called which releases the framebuffers. However, the framebuffers are still used by crtcs, and will be released only later at vsync. The driver doesn't wait for this, and goes on to release the rest of the resources, which often causes a crash. This patchs adds a omap_crtc_flush() function which waits until the crtc has finished with its apply queue and page flips. The function utilizes a simple polling while-loop, as the performance is not an issue here. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Reviewed-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud