drm/exynos: Fix G2D core malfunctioning issue
authorYoungJun Cho <yj44.cho@samsung.com>
Wed, 13 Mar 2013 07:44:37 +0000 (16:44 +0900)
committerInki Dae <inki.dae@samsung.com>
Wed, 20 Mar 2013 10:09:10 +0000 (19:09 +0900)
commit7ad018140cc9c0e3388243e524f8410e5f174658
tree31060a50f00cc52cb0115beff1797a7a4d8f3cae
parent5efc1d1b53ba60a89ce8269880ed02eddecd1add
drm/exynos: Fix G2D core malfunctioning issue

This patch fixes G2D core malfunctioning issue once g2d dma is started.
Without 'DMA_HOLD_CMD_REG' register setting, there is only one interrupt
after the execution to all command lists have been completed. And that
induces watchdog. So this patch sets 'LIST_HOLD' command to the register
so that command execution interrupt can be occured whenever each command
list execution is finished.

Changelog v2:
- Consider for interrupt setup to each command list and all command lists
  And correct typo.

Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_g2d.c