Re: [PATCH 00/49] DRM driver for Hikey 970

2020-08-21 Thread Joe Perches
On Wed, 2020-08-19 at 22:48 +0200, Sam Ravnborg wrote: > And sometimes checkpatch is just wrong. I'm interested in examples for when checkpatch is "just wrong". ___ dri-devel mailing list dri-devel@lists.freedesktop.org

Re: [PATCH] drm/omap: Fix runtime PM imbalance in dsi_runtime_get

2020-08-21 Thread Tomi Valkeinen
Hi, On 21/08/2020 10:45, Dinghao Liu wrote: > pm_runtime_get_sync() increments the runtime PM usage counter > even when it returns an error code. However, users of > dsi_runtime_get(), a direct wrapper of pm_runtime_get_sync(), > assume that PM usage counter will not change on error. Thus a >

[PATCH 1/3] drm/ttm: make sure that we always zero init mem.bus

2020-08-21 Thread Christian König
We are trying to remove the io_lru handling and depend on zero init base and offset here. Signed-off-by: Christian König --- drivers/gpu/drm/ttm/ttm_bo.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.c index

[PATCH 2/3] drm/nouveau: move io_reserve_lru handling into the driver v4

2020-08-21 Thread Christian König
While working on TTM cleanups I've found that the io_reserve_lru used by Nouveau is actually not working at all. In general we should remove driver specific handling from the memory management, so this patch moves the io_reserve_lru handling into Nouveau instead. v2: don't call

Moving LRU handling into Nouveau v3

2020-08-21 Thread Christian König
Hi guys, so I got some hardware and tested this and after hammering out tons of typos it now seems to work fine. Could you give it more testing? Thanks in advance, Christian ___ dri-devel mailing list dri-devel@lists.freedesktop.org

[PATCH 3/3] drm/ttm: remove io_reserve_lru handling

2020-08-21 Thread Christian König
From: Christian König That is not used any more. Signed-off-by: Christian König Acked-by: Daniel Vetter --- drivers/gpu/drm/ttm/ttm_bo.c | 34 ++--- drivers/gpu/drm/ttm/ttm_bo_util.c | 108 + drivers/gpu/drm/ttm/ttm_bo_vm.c| 39 +++

Re: [PATCH 00/49] DRM driver for Hikey 970

2020-08-21 Thread Sam Ravnborg
Hi Mauro. On Fri, Aug 21, 2020 at 04:41:58PM +0200, Mauro Carvalho Chehab wrote: > Another quick question: > > Em Wed, 19 Aug 2020 19:35:58 +0200 > Sam Ravnborg escreveu: > > > > +#define DSS_REDUCE(x)((x) > 0 ? ((x) - 1) : (x)) > > Use generic macros for this? > > Do you know a generic

Re: [PATCH 00/49] DRM driver for Hikey 970

2020-08-21 Thread Sam Ravnborg
Hi Mauro. Thanks for the detailed feedabck. Two comments in the following. Sam > > > > + ctx->dss_pri_clk = devm_clk_get(dev, "clk_edc0"); > > > + if (!ctx->dss_pri_clk) { > > > + DRM_ERROR("failed to parse dss_pri_clk\n"); > > > + return -ENODEV; > > > + } > ... > > > I had

[PATCH 1/2] dt-bindings: display: simple: Add KD116N21-30NV-A010 compatible

2020-08-21 Thread Douglas Anderson
The KD116N21-30NV-A010 is a pretty standard eDP panel. Add it to the list of compatible strings. Signed-off-by: Douglas Anderson --- .../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 2/2] drm: panel: simple: Add KD116N21-30NV-A010

2020-08-21 Thread Douglas Anderson
Values come from the vendor and have been tested on hardware. Signed-off-by: Douglas Anderson --- drivers/gpu/drm/panel/panel-simple.c | 31 1 file changed, 31 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c

Re: [PATCH 4/8] dt-bindings: display: mxsfb: Rename to fsl, lcdif.yaml

2020-08-21 Thread Stefan Agner
On 2020-08-13 03:29, Laurent Pinchart wrote: > Rename the mxsfb.yaml binding schema to fsl,lcdif.yaml to match the > usual bindings naming scheme. I tend to prefer to just name it fsl,lcdif.yaml from the get-go. If you prefer keeping it separate, then it should be patch 2 of the series. --

Re: [PATCH 2/8] dt-bindings: display: mxsfb: Add and fix compatible strings

2020-08-21 Thread Stefan Agner
On 2020-08-13 03:29, Laurent Pinchart wrote: > Additional compatible strings have been added in DT source for the > i.MX6SL, i.MX6SLL, i.MX6UL and i.MX7D without updating the bindings. > Most of the upstream DT sources use the fsl,imx28-lcdif compatible > string, which mostly predates the

Re: [PATCH 00/49] DRM driver for Hikey 970

2020-08-21 Thread Mauro Carvalho Chehab
Another quick question: Em Wed, 19 Aug 2020 19:35:58 +0200 Sam Ravnborg escreveu: > > +#define DSS_REDUCE(x) ((x) > 0 ? ((x) - 1) : (x)) > Use generic macros for this? Do you know a generic macro similar to this? Or do you mean adding it to include/kernel.h? There are the atomic sub

Re: [PATCH 10/20] dt-bindings: arm-smmu: Add compatible string for Adreno GPU SMMU

2020-08-21 Thread Jordan Crouse
On Wed, Aug 19, 2020 at 10:36:38AM -0700, Rob Clark wrote: > On Wed, Aug 19, 2020 at 10:03 AM Doug Anderson wrote: > > > > Hi, > > > > On Mon, Aug 17, 2020 at 3:03 PM Rob Clark wrote: > > > > > > From: Jordan Crouse > > > > > > Every Qcom Adreno GPU has an embedded SMMU for its own use. These >

[PATCH] drm/rockchip: cdn-dp-core: Pass __maybe_unused for the suspend()/resume() hooks

2020-08-21 Thread Fabio Estevam
When building using a riscv allmodconfig the following build warning is seen: drivers/gpu/drm/rockchip/cdn-dp-core.c:1124:12: warning: 'cdn_dp_resume' defined but not used [-Wunused-function] Pass __maybe_unused for the suspend()/resume() hooks to fix the build warning when a defconfig does not

[Bug 208893] Navi (RX 5700 XT) system appears to hang with more than one display connected

2020-08-21 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=208893 --- Comment #14 from Gordon (gor...@gordonite.tech) --- more info: echo 'auto' has the flickering problem echo 'low' seems to work fine echo 'high' seems to work fine transitioning between 'high' and 'low' makes the problem appear / light

Re: [PATCH 00/49] DRM driver for Hikey 970

2020-08-21 Thread Mauro Carvalho Chehab
Em Wed, 19 Aug 2020 19:35:58 +0200 Sam Ravnborg escreveu: > Also a few high level comments: Hi Sam, Finally finished addressing the things you pointed, except by a few ones: - bridge bindings; - use drm_foo() instead of DRM_foo() when possible. A few answers to some of your

Re: [PATCH v2 00/41] spi / fbdev / cpufreq / usb / mmc / hwmon / ARM: Prepare for multiplatform S3C

2020-08-21 Thread Bartlomiej Zolnierkiewicz
[ trimmed Cc: list ] On 8/20/20 5:59 PM, Krzysztof Kozlowski wrote: > On Thu, Aug 06, 2020 at 08:19:32PM +0200, Krzysztof Kozlowski wrote: >> Hi All, >> >> Shortly >> === >> This is a continuation of Arnd's work from 2019 [1]. The goal is to >> cleanup, merge and finally make the Samsung

Re: [PATCH] drm: fsl-dcu: enable PIXCLK on LS1021A

2020-08-21 Thread Stefan Agner
Hi Matthias, On 2020-08-20 12:58, Matthias Schiffer wrote: > The PIXCLK needs to be enabled in SCFG before accessing the DCU on LS1021A, > or the access will hang. Hm, this seems a rather ad-hoc access to SCFG from the DCU. We do support a pixel clock in the device tree bindings of fsl-dcu, so

Re: [PATCH] video: fbdev: controlfb: Fix build for COMPILE_TEST=y && PPC_PMAC=n

2020-08-21 Thread Bartlomiej Zolnierkiewicz
On 8/21/20 12:49 PM, Michael Ellerman wrote: > The build is currently broken, if COMPILE_TEST=y and PPC_PMAC=n: > > linux/drivers/video/fbdev/controlfb.c: In function ‘control_set_hardware’: > linux/drivers/video/fbdev/controlfb.c:276:2: error: implicit declaration of > function

Re: [PATCH 00/49] DRM driver for Hikey 970

2020-08-21 Thread Mauro Carvalho Chehab
Hi Sam, Em Wed, 19 Aug 2020 19:35:58 +0200 Sam Ravnborg escreveu: > > + ret = drm_bridge_attach(encoder, bridge, NULL, 0); > The bridge should be attached with the falg that tell the bridge NOT to > create a connector. > > The display driver shall created the connector. > > Please see how

Re: drm/bridge: Synopsys DW-HDMI bridge driver for the Ingenic JZ4780 (was Re: Specialising the Synopsys DW-HDMI bridge driver for the Ingenic JZ4780)

2020-08-21 Thread Ezequiel Garcia
On Thu, 20 Aug 2020 at 19:49, Paul Boddie wrote: > > On Thursday, 20 August 2020 10:19:45 CEST H. Nikolaus Schaller wrote: > > > > Yes, it works!!! > > It still doesn't work for me. I still get "Input not supported" from my > monitor. It is a DVI monitor connected via a HDMI adapter, but EDID

Re: [PATCH v3 2/2] staging: android: Remove BUG from ion_system_heap.c

2020-08-21 Thread Dan Carpenter
On Wed, Aug 19, 2020 at 10:39:34PM +0300, Tomer Samara wrote: > Remove BUG() at ion_sytem_heap.c and error handling to: > - free_buffer_page > - alloc_buffer_page > this fix the following checkpatch issue: > Avoid crashing the kernel - try using WARN_ON & > recovery code ratherthan BUG() or

Re: [PATCH v3 1/2] staging: android: Remove BUG_ON from ion_page_pool.c

2020-08-21 Thread Dan Carpenter
On Wed, Aug 19, 2020 at 10:38:47PM +0300, Tomer Samara wrote: > BUG_ON() is removed at ion_page_pool.c and add error handleing to > ion_page_pool_shrink > > Fixes the following issue: > Avoid crashing the kernel - try using WARN_ON & recovery code ratherthan > BUG() or BUG_ON(). > >

Re: [PATCH 3/3] drm/bridge: ps8640: Rework power state handling

2020-08-21 Thread Sam Ravnborg
Hi Enric. > > Let me reformulate the question for if it was not clear. > > What I did is be able to read the EDID every time userspace asks for it (so > kernel enables all the required) and Sam is proposing to just fail if all is > not > setup. I can obviously do this but my question is, at

Re: [PATCH RESEND v10 07/11] device-mapping: Introduce DMA range map, supplanting dma_pfn_offset

2020-08-21 Thread Jim Quinlan
Hi Anday, On Tue, Aug 18, 2020 at 4:14 AM Andy Shevchenko wrote: > > On Mon, Aug 17, 2020 at 05:53:09PM -0400, Jim Quinlan wrote: > > The new field 'dma_range_map' in struct device is used to facilitate the > > use of single or multiple offsets between mapping regions of cpu addrs and > > dma

Re: [PATCH v2 2/5] drm/xen-front: Fix misused IS_ERR_OR_NULL checks

2020-08-21 Thread Oleksandr Andrushchenko
Hi, On 8/20/20 2:56 AM, Sasha Levin wrote: > Hi > > [This is an automated email] > > This commit has been processed because it contains a "Fixes:" tag > fixing commit: c575b7eeb89f ("drm/xen-front: Add support for Xen PV display > frontend"). > > The bot has tested the following trees: v5.8.1,

Re: [PATCH v4 00/23] device-dax: Support sub-dividing soft-reserved ranges

2020-08-21 Thread David Hildenbrand
>> >> 1. On x86-64, e820 indicates "soft-reserved" memory. This memory is not >> automatically used in the buddy during boot, but remains untouched >> (similar to pmem). But as it involves ACPI as well, it could also be >> used on arm64 (-e820), correct? > > Correct, arm64 also gets the EFI

Re: [PATCH v4 11/23] device-dax: Kill dax_kmem_res

2020-08-21 Thread David Hildenbrand
On 03.08.20 07:03, Dan Williams wrote: > Several related issues around this unneeded attribute: > > - The dax_kmem_res property allows the kmem driver to stash the adjusted > resource range that was used for the hotplug operation, but that can be > recalculated from the original base range. >

Re: [PATCH 07/18] iommu/arm-smmu: Remove arch/arm workaround

2020-08-21 Thread Will Deacon
On Thu, Aug 20, 2020 at 04:08:26PM +0100, Robin Murphy wrote: > Now that arch/arm is wired up for default domains and iommu-dma, remove > the add_device workaround. > > Signed-off-by: Robin Murphy > --- > drivers/iommu/arm/arm-smmu/arm-smmu.c | 10 -- > 1 file changed, 10 deletions(-) >

Re: [PATCH v4 00/78] drm/vc4: Support BCM2711 Display Pipeline

2020-08-21 Thread Hoegeun Kwon
Hi Maxime, Thank you for your version 4 patch. I tested all 78 patches based on the next-20200708. Dual HDMI opearation does not work normally. flip_done timed out occurs and doesn't work. Could you check please it. [  105.694541] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR*

[PATCH 2/3] ARM: dts: bcm2711: Add bvb clock for hdmi-pixel

2020-08-21 Thread Hoegeun Kwon
It is necessary to control the hdmi pixel bvb clock. Add bvb clock. Signed-off-by: Hoegeun Kwon --- arch/arm/boot/dts/bcm2711-rpi-4-b.dts | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts

[PATCH 1/3] clk: bcm: rpi: Add register to control pixel bvb clk

2020-08-21 Thread Hoegeun Kwon
To use QHD or higher, we need to modify the pixel_bvb_clk value. So add register to control this clock. Signed-off-by: Hoegeun Kwon --- drivers/clk/bcm/clk-raspberrypi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/bcm/clk-raspberrypi.c b/drivers/clk/bcm/clk-raspberrypi.c

[PATCH 3/3] drm/vc4: hdmi: Add pixel bvb clock control

2020-08-21 Thread Hoegeun Kwon
There is a problem that the output does not work at a resolution exceeding FHD. To solve this, we need to adjust the bvb clock at a resolution exceeding FHD. Signed-off-by: Hoegeun Kwon --- drivers/gpu/drm/vc4/vc4_hdmi.c | 25 + drivers/gpu/drm/vc4/vc4_hdmi.h | 1 + 2

[PATCH 0/3] drm/vc4: Support HDMI QHD or higher output

2020-08-21 Thread Hoegeun Kwon
Hi everyone, There is a problem that the output does not work at a resolution exceeding FHD. To solve this, we need to adjust the bvb clock at a resolution exceeding FHD. Rebased on top of next-20200708 and [1]. [1] : [PATCH v4 00/78] drm/vc4: Support BCM2711 Display Pipeline (Maxime's

[PATCH 3/8] drm/msm: Unconditionally call dev_pm_opp_of_remove_table()

2020-08-21 Thread Viresh Kumar
dev_pm_opp_of_remove_table() doesn't report any errors when it fails to find the OPP table with error -ENODEV (i.e. OPP table not present for the device). And we can call dev_pm_opp_of_remove_table() unconditionally here. Signed-off-by: Viresh Kumar --- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c |

[PATCH] drm/amd/pm: Remove unnecessary cast

2020-08-21 Thread Alex Dewar
In init_powerplay_table_information() the value returned from kmalloc() is cast unnecessarily. Remove cast. Issue identified with Coccinelle. Signed-off-by: Alex Dewar --- drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_processpptables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH v2 1/2] drm/panel: novatek, nt39016: Reorder calls in probe

2020-08-21 Thread Paul Cercueil
Hi Sam, Le jeu. 20 août 2020 à 17:53, Sam Ravnborg a écrit : On Thu, Aug 20, 2020 at 02:12:55PM +0200, Paul Cercueil wrote: The drm_panel_of_backlight() function must be called after drm_panel_init(), according to the function's documentation; otherwise the backlight won't be properly

Re: [RFC] Experimental DMA-BUF Device Heaps

2020-08-21 Thread Ezequiel Garcia
On Mon, 2020-08-17 at 20:49 -0700, James Jones wrote: > On 8/17/20 8:18 AM, Brian Starkey wrote: > > Hi Ezequiel, > > > > On Sun, Aug 16, 2020 at 02:22:46PM -0300, Ezequiel Garcia wrote: > > > This heap is basically a wrapper around DMA-API dma_alloc_attrs, > > > which will allocate memory

[PATCH v2 0/2] NT39016 cleanup

2020-08-21 Thread Paul Cercueil
A few cleanups to the Novatek NT39016 panel driver: - Reorder function calls in probe, so that drm_panel_of_backlight() is called after drm_panel_init(), as requested by the function's documentation; - Use the 'dev' field inside the drm_panel structure, instead of using a separate field in

[PATCH 2/8] drm/lima: Unconditionally call dev_pm_opp_of_remove_table()

2020-08-21 Thread Viresh Kumar
dev_pm_opp_of_remove_table() doesn't report any errors when it fails to find the OPP table with error -ENODEV (i.e. OPP table not present for the device). And we can call dev_pm_opp_of_remove_table() unconditionally here. Signed-off-by: Viresh Kumar --- drivers/gpu/drm/lima/lima_devfreq.c | 6

[PATCH v2 2/2] drm/panel: novatek, nt39016: Remove 'dev' field in priv struct

2020-08-21 Thread Paul Cercueil
There is already a 'struct device' pointer in the drm_panel structure, that we can access easily from our priv structure, so there's no need for a separate 'dev' field there. v2: Don't initialize drm_panel->dev manually, it is done by drm_panel_init(). Signed-off-by: Paul Cercueil ---

Re: [PATCH 1/2] i2c: i2c-qcom-geni: Add tx_dma, rx_dma and xfer_len to geni_i2c_dev struct

2020-08-21 Thread rojay
Hi Stephen, Thanks for reviewing the patches. On 2020-08-19 09:09, Stephen Boyd wrote: Quoting Roja Rani Yarubandi (2020-08-14 02:55:39) Adding tx_dma, rx_dma and xfer length in geni_i2c_dev struct to store DMA mapping data to enhance its scope. For example during shutdown callback to unmap

dt-bindings: display: xlnx: mixer: Inconsistent pixel format terminology in dt docs

2020-08-21 Thread Kenneth Sloat
Hello, The Xilinx Video mixer IP uses the DRM fourcc string as a device tree binding in order to describe the format for a specific DRM layer/plane. Currently, in the device tree doc in "Documentation/devicetree/bindings/dma/xilinx/xilinx_frmbuf.txt" there is a list called "VIDEO FORMATS"

Re: drm/bridge: Synopsys DW-HDMI bridge driver for the Ingenic JZ4780 (was Re: Specialising the Synopsys DW-HDMI bridge driver for the Ingenic JZ4780)

2020-08-21 Thread Paul Boddie
On Thursday, 20 August 2020 10:19:45 CEST H. Nikolaus Schaller wrote: > > Yes, it works!!! It still doesn't work for me. I still get "Input not supported" from my monitor. It is a DVI monitor connected via a HDMI adapter, but EDID probing works and, as I noted previously, the HDMI/LCDC can be

[PATCH V2 2/2] i2c: i2c-qcom-geni: Add shutdown callback for i2c

2020-08-21 Thread Roja Rani Yarubandi
If the hardware is still accessing memory after SMMU translation is disabled (as part of smmu shutdown callback), then the IOVAs (I/O virtual address) which it was using will go on the bus as the physical addresses which will result in unknown crashes like NoC/interconnect errors. So, implement

[PATCH v2 1/2] drm/panel: novatek,nt39016: Reorder calls in probe

2020-08-21 Thread Paul Cercueil
The drm_panel_of_backlight() function must be called after drm_panel_init(), according to the function's documentation; otherwise the backlight won't be properly initialized. v2: New patch Signed-off-by: Paul Cercueil --- drivers/gpu/drm/panel/panel-novatek-nt39016.c | 6 +++--- 1 file

[PATCH v3] gpu/drm: ingenic: Add option to mmap GEM buffers cached

2020-08-21 Thread Paul Cercueil
Ingenic SoCs are most notably used in cheap chinese handheld gaming consoles. There, the games and applications generally render in software directly into GEM buffers. Traditionally, GEM buffers are mapped write-combine. Writes to the buffer are accelerated, and reads are slow. Application doing

Re: [PATCH 16/18] staging/media/tegra-vde: Clean up IOMMU workaround

2020-08-21 Thread Dmitry Osipenko
20.08.2020 18:08, Robin Murphy пишет: > Now that arch/arm is wired up for default domains and iommu-dma, we no > longer need to work around the arch-private mapping. > > Signed-off-by: Robin Murphy > --- > drivers/staging/media/tegra-vde/iommu.c | 12 > 1 file changed, 12

[PATCH V2 0/2] Implement Shutdown callback for i2c

2020-08-21 Thread Roja Rani Yarubandi
Store DMA mapping data in geni_i2c_dev struct. Implement Shutdown callback for geni i2c driver. Changes in V2: - Changed commit text. - As per Stephen's comments added separate function for stop transfer. Roja Rani Yarubandi (2): i2c: i2c-qcom-geni: Store DMA mapping data in geni_i2c_dev

[PATCH] drm/msm/a6xx: fix gmu start on newer firmware

2020-08-21 Thread Dmitry Baryshkov
New Qualcomm firmware has changed a way it reports back the 'started' event. Support new register values. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git

Re: [PATCH 2/2] i2c: i2c-qcom-geni: Add shutdown callback for i2c

2020-08-21 Thread rojay
On 2020-08-19 09:13, Stephen Boyd wrote: Quoting Roja Rani Yarubandi (2020-08-14 02:55:40) If the hardware is still accessing memory after SMMU translation is disabled(as part of smmu shutdown callback), then the Put a space before ( Ok. IOVAs(I/O virtual address) which it was using will

Re: drm/bridge: Synopsys DW-HDMI bridge driver for the Ingenic JZ4780 (was Re: Specialising the Synopsys DW-HDMI bridge driver for the Ingenic JZ4780)

2020-08-21 Thread H. Nikolaus Schaller
Hi Ezequiel, > Am 20.08.2020 um 00:26 schrieb Ezequiel Garcia > : > > On Wed, 19 Aug 2020 at 15:50, H. Nikolaus Schaller wrote: >> >> Maybe, can you share your rebased tree to clearly identify the >> subtle differences? Maybe I have broken something by the rebase. >> > > Sure. > > Please

Re: [PATCH 12/18] iommu/tegra-gart: Add IOMMU_DOMAIN_DMA support

2020-08-21 Thread Dmitry Osipenko
20.08.2020 18:08, Robin Murphy пишет: > Now that arch/arm is wired up for default domains and iommu-dma, > implement the corresponding driver-side support for DMA domains. > > Signed-off-by: Robin Murphy > --- > drivers/iommu/tegra-gart.c | 17 - > 1 file changed, 12

Re: [RFC] Experimental DMA-BUF Device Heaps

2020-08-21 Thread Ezequiel Garcia
Hi Brian, Thanks a lot for reviewing this patch. I'm happy my humble proof-of-concept is able to spark some interest and raise some questions. On Mon, 2020-08-17 at 16:18 +0100, Brian Starkey wrote: > Hi Ezequiel, > > On Sun, Aug 16, 2020 at 02:22:46PM -0300, Ezequiel Garcia wrote: > > This

Re: [PATCH V2 2/2] i2c: i2c-qcom-geni: Add shutdown callback for i2c

2020-08-21 Thread Stephen Boyd
Quoting Roja Rani Yarubandi (2020-08-20 03:35:22) > If the hardware is still accessing memory after SMMU translation > is disabled (as part of smmu shutdown callback), then the > IOVAs (I/O virtual address) which it was using will go on the bus > as the physical addresses which will result in

[PATCH] drm: fsl-dcu: enable PIXCLK on LS1021A

2020-08-21 Thread Matthias Schiffer
The PIXCLK needs to be enabled in SCFG before accessing the DCU on LS1021A, or the access will hang. Signed-off-by: Matthias Schiffer --- drivers/gpu/drm/fsl-dcu/Kconfig | 1 + drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c | 25 +++

Re: [RFC] Experimental DMA-BUF Device Heaps

2020-08-21 Thread Ezequiel Garcia
Hi John, Thanks a ton for taking the time to go thru this. On Mon, 2020-08-17 at 21:13 -0700, John Stultz wrote: > On Sun, Aug 16, 2020 at 10:23 AM Ezequiel Garcia > wrote: > > This heap is basically a wrapper around DMA-API dma_alloc_attrs, > > which will allocate memory suitable for the

[PATCH 0/8] opp: Unconditionally call dev_pm_opp_of_remove_table()

2020-08-21 Thread Viresh Kumar
Hello, This cleans up some of the user code around calls to dev_pm_opp_of_remove_table(). All the patches can be picked by respective maintainers directly except for the last patch, which needs the previous two to get merged first. These are based for 5.9-rc1. Rajendra, Since most of these

Re: [PATCH 16/18] staging/media/tegra-vde: Clean up IOMMU workaround

2020-08-21 Thread Dmitry Osipenko
20.08.2020 22:51, Dmitry Osipenko пишет: > Alternatively, the Tegra SMMU could be changed such that the devices > will be attached to a domain at the time of a first IOMMU mapping > invocation instead of attaching at the time of attach_dev() callback > invocation. > > Or maybe even IOMMU core

[PATCH V2 1/2] i2c: i2c-qcom-geni: Store DMA mapping data in geni_i2c_dev struct

2020-08-21 Thread Roja Rani Yarubandi
Store DMA mapping data in geni_i2c_dev struct to enhance DMA mapping data scope. For example during shutdown callback to unmap DMA mapping, this stored DMA mapping data can be used to call geni_se_tx_dma_unprep and geni_se_rx_dma_unprep functions. Signed-off-by: Roja Rani Yarubandi --- Changes

Re: [PATCH V2 1/2] i2c: i2c-qcom-geni: Store DMA mapping data in geni_i2c_dev struct

2020-08-21 Thread Stephen Boyd
Quoting Roja Rani Yarubandi (2020-08-20 03:35:21) > Store DMA mapping data in geni_i2c_dev struct to enhance DMA mapping > data scope. For example during shutdown callback to unmap DMA mapping, > this stored DMA mapping data can be used to call geni_se_tx_dma_unprep > and geni_se_rx_dma_unprep

Re: [PATCH 2/2] drm/virtio: Remove open-coded commit-tail function

2020-08-21 Thread Gerd Hoffmann
On Thu, Aug 20, 2020 at 08:32:51AM +0200, Jiri Slaby wrote: > On 19. 08. 20, 15:24, Gerd Hoffmann wrote: > > On Wed, Aug 19, 2020 at 02:43:28PM +0200, Jiri Slaby wrote: > >> On 09. 07. 20, 14:33, Daniel Vetter wrote: > >>> Exactly matches the one in the helpers. > >> > >> It's not that exact. The

<    1   2