Re: [PATCH 0/7] opp: Allow dev_pm_opp_put_*() APIs to accept NULL opp_table

2020-11-08 Thread Ilia Lin
Reviewed-by: Ilia Lin On Fri, Nov 6, 2020 at 9:05 AM Viresh Kumar wrote: > > Hello, > > This patchset updates the dev_pm_opp_put_*() helpers to accept a NULL > pointer for the OPP table, in order to allow the callers to drop the > unnecessary checks they had to carry. > > All these must get

Re: [PATCH] drm: bridge: dw-hdmi: Avoid resetting force in the detect function

2020-11-08 Thread Sam Ravnborg
Hi Russell, On Sun, Nov 08, 2020 at 09:57:25AM +, Russell King - ARM Linux admin wrote: > On Sun, Nov 08, 2020 at 10:53:22AM +0100, Sam Ravnborg wrote: > > Russell, > > > > On Sat, Oct 31, 2020 at 07:17:47PM +1100, Jonathan Liu wrote: > > > It has been observed that resetting force in the

Re: [PATCH] drm: xlnx: Use dma_request_chan for DMA channel request

2020-11-08 Thread Sam Ravnborg
Hi Peter. On Fri, Oct 23, 2020 at 12:46:02PM +0300, Peter Ujfalusi wrote: > There is no need to use the of_dma_request_slave_channel() directly as > dma_request_chan() is going to try to get the channel via OF as well. > > Signed-off-by: Peter Ujfalusi I took a look at this and agree on your

[PATCH] drm/mcde: Fix unbalanced regulator

2020-11-08 Thread Linus Walleij
Since we now turn off the EPOD regulator to reset the hardware, we need to balance the regulators after that point. If registering the master fails we only need to disable one regulator. Fix this by open-coding this leg of the error path. Cc: Stephan Gerhold Fixes: c4842d4d0f74 ("drm/mcde: Fix

Re: [PATCH v3 1/3] drm: panel: simple: Allow timing constraints, not fixed delays

2020-11-08 Thread Sam Ravnborg
Hi Douglas. On Thu, Nov 05, 2020 at 01:57:39PM -0800, Douglas Anderson wrote: > The simple panel code currently allows panels to define fixed delays > at certain stages of initialization. These work OK, but they don't > really map all that clearly to the requirements presented in many > panel

Re: [PATCH] drm: panel: simple: add missing platform_driver_unregister() in panel_simple_init

2020-11-08 Thread Sam Ravnborg
Hi Qinglang On Sat, Oct 31, 2020 at 09:18:56AM +0800, Qinglang Miao wrote: > Add the missing platform_driver_unregister() before return > from panel_simple_init in the error handling case when failed > to register panel_simple_dsi_driver with CONFIG_DRM_MIPI_DSI > enabled. > > Signed-off-by:

Re: [PATCH] drm: bridge: dw-hdmi: Avoid resetting force in the detect function

2020-11-08 Thread Russell King - ARM Linux admin
On Sun, Nov 08, 2020 at 10:53:22AM +0100, Sam Ravnborg wrote: > Russell, > > On Sat, Oct 31, 2020 at 07:17:47PM +1100, Jonathan Liu wrote: > > It has been observed that resetting force in the detect function can > > result in the PHY being powered down in response to hot-plug detect > > being

Re: [PATCH RESEND v2] drm/bridge/tc358775: Fixes bus formats read

2020-11-08 Thread Sam Ravnborg
Hi Laurent, On Thu, Oct 22, 2020 at 12:15:47PM +0530, Vinay Simha BN wrote: > - atomic_check removed > - video data input and output formats added > - bus formats read from drm_bridge_state.output_bus_cfg.format > and .atomic_get_input_bus_fmts() instead of connector > > Signed-off-by: Vinay

Re: [PATCH v3 2/3] drm/bridge: sii902x: Enable I/O and core VCC supplies if present

2020-11-08 Thread Sam Ravnborg
Hi Alexandru On Tue, Oct 20, 2020 at 05:14:58PM -0500, Alexandru Gagniuc wrote: > On the SII9022, the IOVCC and CVCC12 supplies must reach the correct > voltage before the reset sequence is initiated. On most boards, this > assumption is true at boot-up, so initialization succeeds. > > However,

Re: [PATCH] drm: bridge: dw-hdmi: Avoid resetting force in the detect function

2020-11-08 Thread Sam Ravnborg
Russell, On Sat, Oct 31, 2020 at 07:17:47PM +1100, Jonathan Liu wrote: > It has been observed that resetting force in the detect function can > result in the PHY being powered down in response to hot-plug detect > being asserted, even when the HDMI connector is forced on. > > Enabling debug

Re: [PATCH] drm: bridge: cdns: Kconfig: Switch over dependency to ARCH_K3

2020-11-08 Thread Sam Ravnborg
Hi Nishanth On Mon, Oct 26, 2020 at 11:54:41AM -0500, Nishanth Menon wrote: > With the integration of chip-id detection scheme in kernel[1], there > is no specific need to maintain multitudes of SoC specific config > options, discussed as per [2], we have deprecated the usage in other > places

Re: [PATCH] drm/mcde: Fix unbalanced regulator

2020-11-08 Thread Sam Ravnborg
On Sun, Nov 08, 2020 at 12:35:35PM +0100, Linus Walleij wrote: > Since we now turn off the EPOD regulator to reset the > hardware, we need to balance the regulators after that > point. If registering the master fails we only need > to disable one regulator. Fix this by open-coding > this leg of

Re: [PATCH] drm: remove unneeded break

2020-11-08 Thread Sam Ravnborg
Hi Tom On Mon, Oct 19, 2020 at 07:06:41PM +0200, Sam Ravnborg wrote: > Hi Tom > On Mon, Oct 19, 2020 at 09:31:15AM -0700, t...@redhat.com wrote: > > From: Tom Rix > > > > A break is not needed if it is preceded by a return or break > > > > Signed-off-by: Tom Rix > > Looks good and builds with

Re: [PATCH] drm/panel: panel-simple: Add connector_type for EDT ETM0700G0DH6 panel

2020-11-08 Thread Sam Ravnborg
Hi Biju On Tue, Oct 20, 2020 at 10:49:10AM +0100, Biju Das wrote: > Fix the warning message "missing connector type" by adding connector_type > for EDT ETM0700G0DH6 panel. > > Signed-off-by: Biju Das Thanks, applied to drm-misc-next. Sam ___

Re: [PATCH v3 00/56] Convert DSI code to use drm_mipi_dsi and drm_panel

2020-11-08 Thread Nikhil Devshatwar
On 14:02-20201105, Tomi Valkeinen wrote: > Hi, > > This is third version of the series sent by Sebastian in February: > > https://www.spinics.net/lists/linux-omap/msg153465.html > > I took the patches from his git tree, and rebased on 5.10-rc2. There > were some conflicts and compilation

Re: [PATCH] drm/bridge: lvds-codec: Use dev_err_probe for error handling

2020-11-08 Thread Sam Ravnborg
Hi Biju On Tue, Oct 20, 2020 at 10:36:55AM +0100, Biju Das wrote: > dev_err_probe function simplifies error handling. So use the same in probe > function wherever possible. > > Signed-off-by: Biju Das Thanks, applied to drm-misc-next Sam ___

[PATCH v2 RESEND] drm: mxsfb: Implement .format_mod_supported

2020-11-08 Thread Daniel Abrecht
This will make sure applications which use the IN_FORMATS blob to figure out which modifiers they can use will pick up the linear modifier which is needed by mxsfb. Such applications will not work otherwise if an incompatible implicit modifier ends up being selected. Before commit ae1ed0093281

[PATCH] vt: Disable KD_FONT_OP_COPY

2020-11-08 Thread Daniel Vetter
It's buggy: On Fri, Nov 06, 2020 at 10:30:08PM +0800, Minh Yuan wrote: > We recently discovered a slab-out-of-bounds read in fbcon in the latest > kernel ( v5.10-rc2 for now ). The root cause of this vulnerability is that > "fbcon_do_set_font" did not handle "vc->vc_font.data" and >

Re: [PATCH] video: fbdev: riva: remove some unused varibles

2020-11-08 Thread Sam Ravnborg
Hi Alex, On Sun, Nov 08, 2020 at 04:01:59PM +0800, Alex Shi wrote: > Couple of variables are actually useless, remove them to save some gcc > warning: > drivers/video/fbdev/riva/riva_hw.c:250:21: warning: variable ‘mlwm’ set > but not used [-Wunused-but-set-variable] >

Re: [PATCH] drm/panel: simple: Add flags to boe_nv133fhm_n61

2020-11-08 Thread Sam Ravnborg
Hi Stephen On Fri, Nov 06, 2020 at 10:23:33AM -0800, Stephen Boyd wrote: > Reading the EDID of this panel shows that these flags should be set. Set > them so that we match what is in the EDID. > > Cc: Douglas Anderson > Cc: Bjorn Andersson > Fixes: b0c664cc80e8 ("panel: simple: Add BOE

Re: [PATCH] drm/msm: dsi: Constify dsi_host_ops

2020-11-08 Thread Sam Ravnborg
On Sun, Nov 08, 2020 at 11:37:38PM +0100, Rikard Falkeborn wrote: > The only usage of dsi_host_ops is to assign its address to the ops field > in the mipi_dsi_host struct, which is a const pointer. Make it const to > allow the compiler to put it in read-only memory. > > Signed-off-by: Rikard

[Bug 209987] Memory leak in amdgpu_dm_update_connector_after_detect

2020-11-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=209987 --- Comment #3 from Lee Starnes (lstarnes1...@gmail.com) --- Created attachment 293577 --> https://bugzilla.kernel.org/attachment.cgi?id=293577=edit proposed patch -- You are receiving this mail because: You are watching the assignee of the

Re: [PATCH v1] video: hyperv_fb: include vmalloc.h

2020-11-08 Thread Sam Ravnborg
Hi Olaf. On Fri, Nov 06, 2020 at 07:39:41PM +0100, Olaf Hering wrote: > hvfb_getmem uses vzalloc, therefore vmalloc.h should be included. > > Fixes commit d21987d709e807ba7bbf47044deb56a3c02e8be4 ("video: hyperv: > hyperv_fb: Support deferred IO for Hyper-V frame buffer driver") > >

Re: [PATCH v2] drm/vc4: replace idr_init() by idr_init_base()

2020-11-08 Thread Maxime Ripard
On Thu, Nov 05, 2020 at 01:24:14PM -0800, Eric Anholt wrote: > On Thu, Nov 5, 2020 at 12:21 PM Deepak R Varma wrote: > > > > idr_init() uses base 0 which is an invalid identifier for this driver. > > The idr_alloc for this driver uses VC4_PERFMONID_MIN as start value for > > ID range and it is

Re: [PATCH] drm/stm: Enable RPM during fbdev registration

2020-11-08 Thread Marek Vasut
On 11/6/20 5:13 PM, Yannick FERTRE wrote: Hi Marek, Hi, On 11/5/20 10:45 AM, Marek Vasut wrote: On 11/5/20 10:39 AM, Daniel Vetter wrote: On Wed, Nov 04, 2020 at 01:52:00PM +0100, Marek Vasut wrote: Enable runtime PM before registering the fbdev emulation and disable it afterward,

Re: [PATCH v8 1/5] RDMA/umem: Support importing dma-buf as user memory region

2020-11-08 Thread Jason Gunthorpe
On Fri, Nov 06, 2020 at 04:34:07PM +, Xiong, Jianxin wrote: > > The user could specify a length that is beyond the dma buf, can > > the dma buf length be checked during get? > > In order to check the length, the buffer needs to be mapped. That can be done. Do DMA bufs even have definitate

Re: [PATCH v3 00/56] Convert DSI code to use drm_mipi_dsi and drm_panel

2020-11-08 Thread H. Nikolaus Schaller
Hi Tomi, > Am 06.11.2020 um 16:04 schrieb Tomi Valkeinen : > >> >> I took the driver and make my omap4-sdp dts to use it. It probes for me, but >> stop after that: >> >> [ 119.346374] omapdss_dss 5800.dss: supply vdda_video not found, using >> dummy regulator >> [ 119.358398] DSS: OMAP

[PATCH v2 5/5] drm/msm: bump up the uapi version

2020-11-08 Thread Jonathan Marek
Increase the minor version to indicate the presence of new features. Signed-off-by: Jonathan Marek --- drivers/gpu/drm/msm/msm_drv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c index

[PATCH 6/7] media: cedrus: Remove the MBUS quirks

2020-11-08 Thread Maxime Ripard
Now that the MBUS quirks are applied by our global notifier, we can remove them from Cedrus. Since the only quirk was whether or not we had to apply that DMA quirk, we can also remove the quirks infrastructure. Suggested-by: Christoph Hellwig Signed-off-by: Maxime Ripard ---

Re: [PATCH v5 05/15] mm/frame-vector: Use FOLL_LONGTERM

2020-11-08 Thread Jason Gunthorpe
On Fri, Nov 06, 2020 at 11:01:57AM +0100, Daniel Vetter wrote: > gpu drivers also tend to use vmf_insert_pfn* directly, so we can do > on-demand paging and move buffers around. From what I glanced for > lowest level we to the pte_mkspecial correctly (I think I convinced > myself that

[PATCH 7/7] media: sun8i-di: Remove the call to of_dma_configure

2020-11-08 Thread Maxime Ripard
of_dma_configure is called by the core before probe gets called so this is redundant. Signed-off-by: Maxime Ripard --- drivers/media/platform/sunxi/sun8i-di/sun8i-di.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/media/platform/sunxi/sun8i-di/sun8i-di.c

[PATCH] video: fbdev: riva: remove some unused varibles

2020-11-08 Thread Alex Shi
Couple of variables are actually useless, remove them to save some gcc warning: drivers/video/fbdev/riva/riva_hw.c:250:21: warning: variable ‘mlwm’ set but not used [-Wunused-but-set-variable] drivers/video/fbdev/riva/riva_hw.c:665:15: warning: variable ‘vraw’ set but not used

Re: [PATCH v8 4/5] RDMA/mlx5: Support dma-buf based userspace memory region

2020-11-08 Thread Jason Gunthorpe
On Fri, Nov 06, 2020 at 01:11:38AM +, Xiong, Jianxin wrote: > > On Thu, Nov 05, 2020 at 02:48:08PM -0800, Jianxin Xiong wrote: > > > @@ -966,7 +969,10 @@ static struct mlx5_ib_mr *alloc_mr_from_cache(struct > > > ib_pd *pd, > > > struct mlx5_ib_mr *mr; > > > unsigned int page_size; > > >

[PATCH 0/7] sunxi: Remove the calls to dma_direct_set_offset

2020-11-08 Thread Maxime Ripard
Hi, Here's an attempt to removing the dma_direct_set_offset calls we have in numerous drivers and move all those quirks into a global notifier as suggested by Robin. Let me know what you think, Maxime Maxime Ripard (7): drm/sun4i: backend: Fix probe failure with multiple backends soc:

[PATCH v2 1/5] drm/msm: add MSM_BO_CACHED_COHERENT

2020-11-08 Thread Jonathan Marek
Add a new cache mode for creating coherent host-cached BOs. Signed-off-by: Jonathan Marek Reviewed-by: Jordan Crouse --- drivers/gpu/drm/msm/adreno/adreno_device.c | 1 + drivers/gpu/drm/msm/msm_drv.h | 1 + drivers/gpu/drm/msm/msm_gem.c | 8

[PATCH v1] video: hyperv_fb: include vmalloc.h

2020-11-08 Thread Olaf Hering
hvfb_getmem uses vzalloc, therefore vmalloc.h should be included. Fixes commit d21987d709e807ba7bbf47044deb56a3c02e8be4 ("video: hyperv: hyperv_fb: Support deferred IO for Hyper-V frame buffer driver") Signed-off-by: Olaf Hering --- drivers/video/fbdev/hyperv_fb.c | 1 + 1 file changed, 1

Re: [PATCH v5 05/15] mm/frame-vector: Use FOLL_LONGTERM

2020-11-08 Thread Jason Gunthorpe
On Fri, Nov 06, 2020 at 11:27:59AM +0100, Daniel Vetter wrote: > On Fri, Nov 6, 2020 at 11:01 AM Daniel Vetter wrote: > > > > On Fri, Nov 6, 2020 at 5:08 AM John Hubbard wrote: > > > > > > On 11/5/20 4:49 AM, Jason Gunthorpe wrote: > > > > On Thu, Nov 05, 2020 at 10:25:24AM +0100, Daniel Vetter

[PATCH 1/2] drm: omapdrm: dsi: fix-reference-leak-in dsi_runtime_get.

2020-11-08 Thread Zhang Qilong
pm_runtime_get_sync() will increment pm usage at first and it will resume the device later. If runtime of the device has error or device is in inaccessible state(or other error state), resume operation will fail. If we do not call put operation to decrease the reference, it will result in

Re: [PATCH 3/3] drm/msm/dpu: add support for clk and bw scaling for display

2020-11-08 Thread Amit Pundir
On Tue, 4 Aug 2020 at 21:09, Rob Clark wrote: > > On Thu, Jul 16, 2020 at 4:36 AM Kalyan Thota wrote: > > > > This change adds support to scale src clk and bandwidth as > > per composition requirements. > > > > Interconnect registration for bw has been moved to mdp > > device node from mdss to

Re: [PATCH v1 00/30] Introduce core voltage scaling for NVIDIA Tegra20/30 SoCs

2020-11-08 Thread Dmitry Osipenko
05.11.2020 18:22, Dmitry Osipenko пишет: > 05.11.2020 12:45, Ulf Hansson пишет: > ... >> I need some more time to review this, but just a quick check found a >> few potential issues... > > Thank you for starting the review! I'm pretty sure it will take a couple > revisions until all the questions

[PATCH v2 0/5] drm/msm: support for host-cached BOs

2020-11-08 Thread Jonathan Marek
This is to support cached and cached-coherent memory types in vulkan. v2: - added patches 2/3 to enable using dma_ops_bypass - changed DRM_MSM_GEM_SYNC_CACHE patch to use dma_sync_sg_for_device() and dma_sync_sg_for_cpu(), and renamed sync flags. Not sure I did the right thing with for the

[PATCH v2 3/5] drm/msm: call dma_direct_bypass()

2020-11-08 Thread Jonathan Marek
Always use direct dma ops and no swiotlb. Note: arm-smmu-qcom already avoids creating iommu dma ops, but not everything uses arm-smmu-qcom and this also sets the dma mask. Signed-off-by: Jonathan Marek --- drivers/gpu/drm/msm/Kconfig | 1 + drivers/gpu/drm/msm/msm_drv.c | 8 +--- 2 files

Re: [PATCH v2 04/16] drm/exynos: extract helper functions for probe

2020-11-08 Thread Inki Dae
20. 11. 8. 오전 7:27에 Sam Ravnborg 이(가) 쓴 글: > On Fri, Sep 11, 2020 at 03:54:01PM +0200, Michael Tretter wrote: >> As the driver shall be usable with drivers that use the component >> framework and drivers that don't, split the common probing code into a >> separate function that can be called

ttm multihop split out v2

2020-11-08 Thread Dave Airlie
This is the multhop patch split out per driver, and with the changes Daniel requested. Sorry it took a while, got distracted with other things. Dave. ___ dri-devel mailing list dri-devel@lists.freedesktop.org

[PATCH 2/4] drm/amdgpu/ttm: use multihop

2020-11-08 Thread Dave Airlie
From: Dave Airlie This removes the code to move resources directly between SYSTEM and VRAM in favour of using the core ttm mulithop code. Signed-off-by: Dave Airlie --- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 136 +++- 1 file changed, 13 insertions(+), 123 deletions(-)

Re: [PATCH v2 03/16] drm/exynos: use exynos_dsi as drvdata

2020-11-08 Thread Inki Dae
20. 11. 8. 오전 7:24에 Sam Ravnborg 이(가) 쓴 글: > On Fri, Sep 11, 2020 at 03:54:00PM +0200, Michael Tretter wrote: >> Use the exynos_dsi as drvdata instead of the encoder to further decouple >> the driver from the encoder. >> >> Signed-off-by: Michael Tretter > Reviewed-by: Sam Ravnborg > >

Re: [PATCH v2 02/16] drm/exynos: remove in_bridge_node from exynos_dsi

2020-11-08 Thread Inki Dae
20. 11. 8. 오전 7:19에 Sam Ravnborg 이(가) 쓴 글: > On Fri, Sep 11, 2020 at 03:53:59PM +0200, Michael Tretter wrote: >> We do not need to keep a reference to the in_bridge_node, but we can >> simply drop it, once we found and attached the previous bridge. >> >> Signed-off-by: Michael Tretter >

Re: [PATCH 07/23] mtd: spi-nor: controllers: hisi-sfc: Demote non-conformant kernel-doc

2020-11-08 Thread Vignesh Raghavendra
On 11/2/20 5:23 PM, Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/mtd/spi-nor/controllers/hisi-sfc.c:328: warning: Function parameter > or member 'np' not described in 'hisi_spi_nor_register' > drivers/mtd/spi-nor/controllers/hisi-sfc.c:328: warning:

Re: linux-next: manual merge of the drm-misc tree with the amdgpu tree

2020-11-08 Thread Stephen Rothwell
Hi all, On Tue, 3 Nov 2020 14:21:08 +1100 Stephen Rothwell wrote: > > Today's linux-next merge of the drm-misc tree got a conflict in: > > drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c > > between commit: > > e8a982355f96 ("drm/amd/display: Add tracepoint for amdgpu_dm") > > from

[V2] drm: msm: adreno: use IS_ERR() instead of null pointer check

2020-11-08 Thread Wang Qing
a6xx_gmu_get_mmio() never return null in case of error, but ERR_PTR(), so we should use IS_ERR() instead of null pointer check and IS_ERR_OR_NULL(). Signed-off-by: Wang Qing --- drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCH v2] drm/vc4: replace idr_init() by idr_init_base()

2020-11-08 Thread Deepak R Varma
On Fri, Nov 06, 2020 at 11:52:49AM +0100, Maxime Ripard wrote: > On Thu, Nov 05, 2020 at 01:24:14PM -0800, Eric Anholt wrote: > > On Thu, Nov 5, 2020 at 12:21 PM Deepak R Varma wrote: > > > > > > idr_init() uses base 0 which is an invalid identifier for this driver. > > > The idr_alloc for this

[PATCH] drm/msm: dsi: Constify dsi_host_ops

2020-11-08 Thread Rikard Falkeborn
The only usage of dsi_host_ops is to assign its address to the ops field in the mipi_dsi_host struct, which is a const pointer. Make it const to allow the compiler to put it in read-only memory. Signed-off-by: Rikard Falkeborn --- drivers/gpu/drm/msm/dsi/dsi_host.c | 2 +- 1 file changed, 1

Re: [PATCH v3 0/3] Reduce context clear batch size to avoid gpu hang

2020-11-08 Thread rwright
On Mon, Nov 02, 2020 at 12:57:10PM -0700, rwri...@hpe.com wrote: > On Mon, Nov 02, 2020 at 10:48:54AM +0100, Hans de Goede wrote: > > Hi, > > > ... > That said, if the i915 maintainers respond in favor of the simpler > unconditional reduction of the batch size, I will be glad to > propose a much

[PATCH 1/7] drm/sun4i: backend: Fix probe failure with multiple backends

2020-11-08 Thread Maxime Ripard
Commit e0d072782c73 ("dma-mapping: introduce DMA range map, supplanting dma_pfn_offset") introduced a regression in our code since the second backed to probe will now get -EINVAL back from dma_direct_set_offset and will prevent the entire DRM device from probing. Ignore -EINVAL as a temporary

[PATCH 2/7] soc: sunxi: Deal with the MBUS DMA offsets in a central place

2020-11-08 Thread Maxime Ripard
So far most of the drivers with the MBUS quirks had to duplicate the code to deal with DT compatibility and enforcing the DMA offsets. Let's move for a more maintainable solution by putting everything in a notifier that would take care of setting up the DMA offsets for all the MBUS devices.

[PATCH v2 4/5] drm/msm: add DRM_MSM_GEM_SYNC_CACHE for non-coherent cache maintenance

2020-11-08 Thread Jonathan Marek
This makes it possible to use the non-coherent cached MSM_BO_CACHED mode, which otherwise doesn't provide any method for cleaning/invalidating the cache to sync with the device. Signed-off-by: Jonathan Marek --- drivers/gpu/drm/msm/msm_drv.c | 21 +

[PATCH 3/7] drm/sun4i: backend: Remove the MBUS quirks

2020-11-08 Thread Maxime Ripard
Now that the MBUS quirks are applied by our global notifier, we can remove them from our DRM driver. Suggested-by: Christoph Hellwig Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/sun4i_backend.c | 19 --- 1 file changed, 19 deletions(-) diff --git

[PATCH 2/2] drm: omapdrm: dss: fix reference leak in dss_runtime_get

2020-11-08 Thread Zhang Qilong
pm_runtime_get_sync() will increment pm usage at first and it will resume the device later. If runtime of the device has error or device is in inaccessible state(or other error state), resume operation will fail. If we do not call put operation to decrease the reference, it will result in

Re: [PATCH v8 3/5] RDMA/uverbs: Add uverbs command for dma-buf based MR registration

2020-11-08 Thread Jason Gunthorpe
On Fri, Nov 06, 2020 at 04:20:34PM +, Xiong, Jianxin wrote: > > From: Jason Gunthorpe > > Sent: Thursday, November 05, 2020 4:13 PM > > To: Xiong, Jianxin > > Cc: linux-r...@vger.kernel.org; dri-devel@lists.freedesktop.org; Doug > > Ledford ; Leon Romanovsky > > ; Sumit Semwal ; Christian

[PATCH] drm/panel: simple: Add flags to boe_nv133fhm_n61

2020-11-08 Thread Stephen Boyd
Reading the EDID of this panel shows that these flags should be set. Set them so that we match what is in the EDID. Cc: Douglas Anderson Cc: Bjorn Andersson Fixes: b0c664cc80e8 ("panel: simple: Add BOE NV133FHM-N61") Signed-off-by: Stephen Boyd --- drivers/gpu/drm/panel/panel-simple.c | 1 +

Re: [PATCH 03/19] gpu: drm: imx: ipuv3-plane: Mark 'crtc_state' as __always_unused

2020-11-08 Thread Ahmad Fatoum
On 11/6/20 8:41 AM, Lee Jones wrote: > On Thu, 05 Nov 2020, Ahmad Fatoum wrote: > >> Hello Lee, >> >> On 11/5/20 3:45 PM, Lee Jones wrote: >>> In the macro for_each_oldnew_crtc_in_state() 'crtc_state' is provided >>> as a container for state->crtcs[i].new_state, but is not utilised in >>> this

[PATCH 0/2] drm: omapdrm: fix reference leak in runtime get ops

2020-11-08 Thread Zhang Qilong
pm_runtime_get_sync() will increment pm usage at first and it will resume the device later. If runtime of the device has error or device is in inaccessible state(or other error state), resume operation will fail. If we do not call put operation to decrease the reference, it will result in

[PATCH 5/7] media: sun6i: Remove the MBUS quirks

2020-11-08 Thread Maxime Ripard
Now that the MBUS quirks are applied by our global notifier, we can remove them from our CSI driver for the A31. Suggested-by: Christoph Hellwig Signed-off-by: Maxime Ripard --- .../media/platform/sunxi/sun6i-csi/sun6i_csi.c | 17 - 1 file changed, 17 deletions(-) diff --git

[PATCH 4/7] media: sun4i: Remove the MBUS quirks

2020-11-08 Thread Maxime Ripard
Now that the MBUS quirks are applied by our global notifier, we can remove them from our CSI driver for the A10. Suggested-by: Christoph Hellwig Signed-off-by: Maxime Ripard --- .../platform/sunxi/sun4i-csi/sun4i_csi.c | 27 --- 1 file changed, 27 deletions(-) diff --git

[PATCH 4/4] drm/radeon/ttm: use multihop

2020-11-08 Thread Dave Airlie
From: Dave Airlie This removes the code to move resources directly between SYSTEM and VRAM in favour of using the core ttm mulithop code. Signed-off-by: Dave Airlie --- drivers/gpu/drm/radeon/radeon_ttm.c | 119 +++- 1 file changed, 13 insertions(+), 106 deletions(-)

[PATCH 1/4] drm/ttm: add multihop infrastrucutre (v2)

2020-11-08 Thread Dave Airlie
From: Dave Airlie Currently drivers get called to move a buffer, but if they have to move it temporarily through another space (SYSTEM->VRAM via TT) then they can end up with a lot of ttm->driver->ttm call stacks, if the temprorary space moves requires eviction. Instead of letting the driver do

[PATCH 3/4] drm/nouveau/ttm: use multihop

2020-11-08 Thread Dave Airlie
From: Dave Airlie This removes the code to move resources directly between SYSTEM and VRAM in favour of using the core ttm mulithop code. Signed-off-by: Dave Airlie --- drivers/gpu/drm/nouveau/nouveau_bo.c | 112 --- 1 file changed, 13 insertions(+), 99 deletions(-)

Re: [PATCH v2 00/16] drm/exynos: Convert driver to drm bridge

2020-11-08 Thread Inki Dae
Hi Michael, Thanks for your contribution. 20. 9. 11. 오후 10:53에 Michael Tretter 이(가) 쓴 글: > This is v2 of the series to convert the Exynos MIPI DSI driver into a drm > bridge and make it usable with other drivers. Although the driver is > converted, it still supports the component framework API

[Bug 209987] Memory leak in amdgpu_dm_update_connector_after_detect

2020-11-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=209987 --- Comment #2 from Lee Starnes (lstarnes1...@gmail.com) --- It looks like this can be fixed by setting aconnector->num_modes to the return value from drm_add_edid_modes. At least one other place in amdgpu_dm.c sets struct