From: Joel Stanley <j...@jms.id.au>

The 2600 uses this register differently. THis is a TODO to come up with
a method of handling that.

Signed-off-by: Joel Stanley <j...@jms.id.au>
Signed-off-by: tommy-huang <tommy_hu...@aspeedtech.com>
---
 drivers/gpu/drm/aspeed/aspeed_gfx_drv.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/aspeed/aspeed_gfx_drv.c 
b/drivers/gpu/drm/aspeed/aspeed_gfx_drv.c
index ea9cb0a4f16c..33095477cc03 100644
--- a/drivers/gpu/drm/aspeed/aspeed_gfx_drv.c
+++ b/drivers/gpu/drm/aspeed/aspeed_gfx_drv.c
@@ -126,7 +126,8 @@ static irqreturn_t aspeed_gfx_irq_handler(int irq, void 
*data)
 
        if (reg & CRT_CTRL_VERTICAL_INTR_STS) {
                drm_crtc_handle_vblank(&priv->pipe.crtc);
-               writel(reg, priv->base + CRT_CTRL1);
+               /* TODO */
+               writel(CRT_CTRL_VERTICAL_INTR_STS, priv->base + CRT_STATUS);
                return IRQ_HANDLED;
        }
 
-- 
2.17.1

Reply via email to