PrawnOS-nonfree/resources/BuildResources/patches-untested/kernel/0007-drivers-drm-rockchip-Enable-IRQ-on-unbind.patch
SolidHal d0403b14e3 Cleaned up image creation, made functional installation scripts
Cleaned up build files, resources, scripts.
Made the image use a partition map to fix mmc issues

Signed-off-by: SolidHal <solidhal@users.noreply.github.com>
2018-09-05 18:35:33 -05:00

37 lines
1.1 KiB
Diff

From c1c8509bb90f2b3ed046d99cf0fedbddc24290ec Mon Sep 17 00:00:00 2001
From: Myy Miouyouyou <myy@miouyouyou.fr>
Date: Thu, 3 May 2018 21:47:40 +0200
Subject: [PATCH] drivers: drm: rockchip: Enable IRQ on unbind
Not doing this generate atrocious delays when plugging a screen,
making the whole 3D stack unusable.
This is an adaptation of Jeffy Chen patch, originally provided
here :
http://lists.infradead.org/pipermail/linux-rockchip/2018-April/020427.html
Thanks to @JeffyCN for this patch.
This resolves issue #4
Signed-off-by: Myy Miouyouyou <myy@miouyouyou.fr>
---
drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c
index 53d4afe1..f903171a 100644
--- a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c
+++ b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c
@@ -1601,6 +1601,7 @@ static void vop_unbind(struct device *dev, struct device *master, void *data)
{
struct vop *vop = dev_get_drvdata(dev);
+ enable_irq(vop->irq);
pm_runtime_disable(dev);
vop_destroy_crtc(vop);
--
2.17.0