]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
drop drm-sun4i-mixer-call-of_dma_configure-if-there-s-an-.patch from everywhere.
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Jul 2020 09:24:36 +0000 (11:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Jul 2020 09:24:36 +0000 (11:24 +0200)
queue-4.19/drm-sun4i-mixer-call-of_dma_configure-if-there-s-an-.patch [deleted file]
queue-4.19/series
queue-5.4/drm-sun4i-mixer-call-of_dma_configure-if-there-s-an-.patch [deleted file]
queue-5.4/series
queue-5.7/drm-sun4i-mixer-call-of_dma_configure-if-there-s-an-.patch [deleted file]
queue-5.7/series

diff --git a/queue-4.19/drm-sun4i-mixer-call-of_dma_configure-if-there-s-an-.patch b/queue-4.19/drm-sun4i-mixer-call-of_dma_configure-if-there-s-an-.patch
deleted file mode 100644 (file)
index 8aca265..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-From f4b463d04e8b5c2992a5282e37e91d6cb137ba5b Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Wed, 13 May 2020 16:07:24 +0200
-Subject: drm/sun4i: mixer: Call of_dma_configure if there's an IOMMU
-
-From: Maxime Ripard <maxime@cerno.tech>
-
-[ Upstream commit 842ec61f4006a6477a9deaedd69131e9f46e4cb5 ]
-
-The main DRM device is actually a virtual device so it doesn't have the
-iommus property, which is instead on the DMA masters, in this case the
-mixers.
-
-Add a call to of_dma_configure with the mixers DT node but on the DRM
-virtual device to configure it in the same way than the mixers.
-
-Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
-Signed-off-by: Maxime Ripard <maxime@cerno.tech>
-Link: https://patchwork.freedesktop.org/patch/msgid/9a4daf438dd3f2fe07afb23688bfb793a0613d7d.1589378833.git-series.maxime@cerno.tech
-(cherry picked from commit b718102dbdfd0285ad559687a30e27cc9124e592)
-[Maxime: Applied to -fixes since it missed the merge window and display is
-         broken without it]
-Signed-off-by: Maxime Ripard <maxime@cerno.tech>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- drivers/gpu/drm/sun4i/sun8i_mixer.c | 13 +++++++++++++
- 1 file changed, 13 insertions(+)
-
-diff --git a/drivers/gpu/drm/sun4i/sun8i_mixer.c b/drivers/gpu/drm/sun4i/sun8i_mixer.c
-index 71a798e5d5591..ddab3fab36a1a 100644
---- a/drivers/gpu/drm/sun4i/sun8i_mixer.c
-+++ b/drivers/gpu/drm/sun4i/sun8i_mixer.c
-@@ -435,6 +435,19 @@ static int sun8i_mixer_bind(struct device *dev, struct device *master,
-       mixer->engine.ops = &sun8i_engine_ops;
-       mixer->engine.node = dev->of_node;
-+      if (of_find_property(dev->of_node, "iommus", NULL)) {
-+              /*
-+               * This assume we have the same DMA constraints for
-+               * all our the mixers in our pipeline. This sounds
-+               * bad, but it has always been the case for us, and
-+               * DRM doesn't do per-device allocation either, so we
-+               * would need to fix DRM first...
-+               */
-+              ret = of_dma_configure(drm->dev, dev->of_node, true);
-+              if (ret)
-+                      return ret;
-+      }
-+
-       /*
-        * While this function can fail, we shouldn't do anything
-        * if this happens. Some early DE2 DT entries don't provide
--- 
-2.25.1
-
index 1011d027980d23fa4af71241ef92367006a6e660..d63f2aa9b51b7f428e4ab27e267e26024834213e 100644 (file)
@@ -14,7 +14,6 @@ i40e-protect-ring-accesses-with-read-and-write_once.patch
 drm-panel-orientation-quirks-add-quirk-for-asus-t101.patch
 drm-panel-orientation-quirks-use-generic-orientation.patch
 s390-kasan-fix-early-pgm-check-handler-execution.patch
-drm-sun4i-mixer-call-of_dma_configure-if-there-s-an-.patch
 cifs-update-ctime-and-mtime-during-truncate.patch
 arm-imx6-add-missing-put_device-call-in-imx6q_suspen.patch
 scsi-mptscsih-fix-read-sense-data-size.patch
diff --git a/queue-5.4/drm-sun4i-mixer-call-of_dma_configure-if-there-s-an-.patch b/queue-5.4/drm-sun4i-mixer-call-of_dma_configure-if-there-s-an-.patch
deleted file mode 100644 (file)
index 99ee7a1..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-From 99e19a0f06e53027b4b9fb998cf557627c8c62af Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Wed, 13 May 2020 16:07:24 +0200
-Subject: drm/sun4i: mixer: Call of_dma_configure if there's an IOMMU
-
-From: Maxime Ripard <maxime@cerno.tech>
-
-[ Upstream commit 842ec61f4006a6477a9deaedd69131e9f46e4cb5 ]
-
-The main DRM device is actually a virtual device so it doesn't have the
-iommus property, which is instead on the DMA masters, in this case the
-mixers.
-
-Add a call to of_dma_configure with the mixers DT node but on the DRM
-virtual device to configure it in the same way than the mixers.
-
-Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
-Signed-off-by: Maxime Ripard <maxime@cerno.tech>
-Link: https://patchwork.freedesktop.org/patch/msgid/9a4daf438dd3f2fe07afb23688bfb793a0613d7d.1589378833.git-series.maxime@cerno.tech
-(cherry picked from commit b718102dbdfd0285ad559687a30e27cc9124e592)
-[Maxime: Applied to -fixes since it missed the merge window and display is
-         broken without it]
-Signed-off-by: Maxime Ripard <maxime@cerno.tech>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- drivers/gpu/drm/sun4i/sun8i_mixer.c | 13 +++++++++++++
- 1 file changed, 13 insertions(+)
-
-diff --git a/drivers/gpu/drm/sun4i/sun8i_mixer.c b/drivers/gpu/drm/sun4i/sun8i_mixer.c
-index 18b4881f44814..e24f225d80f1f 100644
---- a/drivers/gpu/drm/sun4i/sun8i_mixer.c
-+++ b/drivers/gpu/drm/sun4i/sun8i_mixer.c
-@@ -452,6 +452,19 @@ static int sun8i_mixer_bind(struct device *dev, struct device *master,
-       mixer->engine.ops = &sun8i_engine_ops;
-       mixer->engine.node = dev->of_node;
-+      if (of_find_property(dev->of_node, "iommus", NULL)) {
-+              /*
-+               * This assume we have the same DMA constraints for
-+               * all our the mixers in our pipeline. This sounds
-+               * bad, but it has always been the case for us, and
-+               * DRM doesn't do per-device allocation either, so we
-+               * would need to fix DRM first...
-+               */
-+              ret = of_dma_configure(drm->dev, dev->of_node, true);
-+              if (ret)
-+                      return ret;
-+      }
-+
-       /*
-        * While this function can fail, we shouldn't do anything
-        * if this happens. Some early DE2 DT entries don't provide
--- 
-2.25.1
-
index eaec7c692eda0adaec97b3690536adda63bae2f6..b3f011fc4803187d6ca0e2a8b28eae85bdf47bbb 100644 (file)
@@ -23,7 +23,6 @@ iommu-vt-d-don-t-apply-gfx-quirks-to-untrusted-devic.patch
 drm-panel-orientation-quirks-add-quirk-for-asus-t101.patch
 drm-panel-orientation-quirks-use-generic-orientation.patch
 s390-kasan-fix-early-pgm-check-handler-execution.patch
-drm-sun4i-mixer-call-of_dma_configure-if-there-s-an-.patch
 cifs-update-ctime-and-mtime-during-truncate.patch
 arm-imx6-add-missing-put_device-call-in-imx6q_suspen.patch
 scsi-mptscsih-fix-read-sense-data-size.patch
diff --git a/queue-5.7/drm-sun4i-mixer-call-of_dma_configure-if-there-s-an-.patch b/queue-5.7/drm-sun4i-mixer-call-of_dma_configure-if-there-s-an-.patch
deleted file mode 100644 (file)
index e3f8bc1..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-From 82a87aa81e6d34b1ad892f827cd937b04a2944ea Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Wed, 13 May 2020 16:07:24 +0200
-Subject: drm/sun4i: mixer: Call of_dma_configure if there's an IOMMU
-
-From: Maxime Ripard <maxime@cerno.tech>
-
-[ Upstream commit 842ec61f4006a6477a9deaedd69131e9f46e4cb5 ]
-
-The main DRM device is actually a virtual device so it doesn't have the
-iommus property, which is instead on the DMA masters, in this case the
-mixers.
-
-Add a call to of_dma_configure with the mixers DT node but on the DRM
-virtual device to configure it in the same way than the mixers.
-
-Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
-Signed-off-by: Maxime Ripard <maxime@cerno.tech>
-Link: https://patchwork.freedesktop.org/patch/msgid/9a4daf438dd3f2fe07afb23688bfb793a0613d7d.1589378833.git-series.maxime@cerno.tech
-(cherry picked from commit b718102dbdfd0285ad559687a30e27cc9124e592)
-[Maxime: Applied to -fixes since it missed the merge window and display is
-         broken without it]
-Signed-off-by: Maxime Ripard <maxime@cerno.tech>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- drivers/gpu/drm/sun4i/sun8i_mixer.c | 13 +++++++++++++
- 1 file changed, 13 insertions(+)
-
-diff --git a/drivers/gpu/drm/sun4i/sun8i_mixer.c b/drivers/gpu/drm/sun4i/sun8i_mixer.c
-index 4a64f7ae437a8..19b3b41847046 100644
---- a/drivers/gpu/drm/sun4i/sun8i_mixer.c
-+++ b/drivers/gpu/drm/sun4i/sun8i_mixer.c
-@@ -452,6 +452,19 @@ static int sun8i_mixer_bind(struct device *dev, struct device *master,
-       mixer->engine.ops = &sun8i_engine_ops;
-       mixer->engine.node = dev->of_node;
-+      if (of_find_property(dev->of_node, "iommus", NULL)) {
-+              /*
-+               * This assume we have the same DMA constraints for
-+               * all our the mixers in our pipeline. This sounds
-+               * bad, but it has always been the case for us, and
-+               * DRM doesn't do per-device allocation either, so we
-+               * would need to fix DRM first...
-+               */
-+              ret = of_dma_configure(drm->dev, dev->of_node, true);
-+              if (ret)
-+                      return ret;
-+      }
-+
-       /*
-        * While this function can fail, we shouldn't do anything
-        * if this happens. Some early DE2 DT entries don't provide
--- 
-2.25.1
-
index 4d46179e817eba15ba49bf346660c6e024d2aa75..4901042ea30623f5fa50f876c72c594c4abdc249 100644 (file)
@@ -29,7 +29,6 @@ iommu-vt-d-don-t-apply-gfx-quirks-to-untrusted-devic.patch
 drm-panel-orientation-quirks-add-quirk-for-asus-t101.patch
 drm-panel-orientation-quirks-use-generic-orientation.patch
 s390-kasan-fix-early-pgm-check-handler-execution.patch
-drm-sun4i-mixer-call-of_dma_configure-if-there-s-an-.patch
 cifs-update-ctime-and-mtime-during-truncate.patch
 arm-imx6-add-missing-put_device-call-in-imx6q_suspen.patch
 scsi-qla2xxx-fix-mpi-failure-aen-8200-handling.patch