Re: [regression, bisected] rockchip rk3399 video output breakage

From: Jakob Unterwurzacher
Date: Tue Apr 24 2018 - 09:47:58 EST

On 24.04.18 15:33, JeffyChen wrote:
[ÂÂ 36.076577] WARNING: CPU: 1 PID: 83 at

this looks like an issue recently reported by heiko, we found that might due to an unbalanced irq disable in vop driver.

my test patch is:

+++ b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c
@@ -1601,6 +1601,8 @@ static void vop_unbind(struct device *dev, struct device *master, void *data)
ÂÂÂÂÂÂÂ struct vop *vop = dev_get_drvdata(dev);

+ÂÂÂÂÂÂ // Pair with the initial disable_irq()
+ÂÂÂÂÂÂ enable_irq(vop->irq);

and i think sandy would send the real patch soon(maybe already sent?)

Works fine with your patch! Thank you very much Jeffy.

Best regards,