[PATCH v3 09/11] drm/tilcdc: Use complete_all() to indicate completed palette loading
Jyri Sarha
jsarha at ti.com
Tue Nov 22 16:54:08 UTC 2016
We need to use complete_all() to indicate completed palette loading in
stead of plain complete() if we want to test if the palette has
already been loaded with completion_done().
indicated with.
Signed-off-by: Jyri Sarha <jsarha at ti.com>
---
drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_crtc.c b/drivers/gpu/drm/tilcdc/tilcdc_crtc.c
index 963e0a0..fd3654d 100644
--- a/drivers/gpu/drm/tilcdc/tilcdc_crtc.c
+++ b/drivers/gpu/drm/tilcdc/tilcdc_crtc.c
@@ -928,7 +928,7 @@ irqreturn_t tilcdc_crtc_irq(struct drm_crtc *crtc)
__func__, stat);
if (stat & LCDC_PL_LOAD_DONE)
- complete(&tilcdc_crtc->palette_loaded);
+ complete_all(&tilcdc_crtc->palette_loaded);
if (stat & LCDC_SYNC_LOST) {
dev_err_ratelimited(dev->dev, "%s(0x%08x): Sync lost",
--
1.9.1
More information about the dri-devel
mailing list