[PATCH rdma-next v2 0/2] SG fix together with update to RDMA umem

2021-07-18 Thread Leon Romanovsky
From: Leon Romanovsky Changelog: v2: * Changed implementation of first patch, based on our discussion with Christoph. https://lore.kernel.org/lkml/ynwavtt0qmqdx...@infradead.org/ v1: https://lore.kernel.org/lkml/cover.1624955710.git.leo...@nvidia.com/ * Fixed sg_page with a _dma_ API in the

[PATCH rdma-next v2 2/2] RDMA: Use dma_map_sgtable for map umem pages

2021-07-18 Thread Leon Romanovsky
From: Maor Gottlieb In order to avoid incorrect usage of sg_table fields, change umem to use dma_map_sgtable for map the pages for DMA. Since dma_map_sgtable update the nents field (number of DMA entries), there is no need anymore for nmap variable, hence do some cleanups accordingly. Signed-off

[PATCH rdma-next v2 1/2] lib/scatterlist: Fix wrong update of orig_nents

2021-07-18 Thread Leon Romanovsky
From: Maor Gottlieb orig_nents should represent the number of entries with pages, but __sg_alloc_table_from_pages sets orig_nents as the number of total entries in the table. This is wrong when the API is used for dynamic allocation where not all the table entries are mapped with pages. It wasn't

Re: [PATCH 1/5] drm: Define DRM_FORMAT_MAX_PLANES

2021-07-18 Thread kernel test robot
: 4d00e2309398147acdbfefbe1deb4b0e78868466 config: x86_64-randconfig-m001-20210718 (attached as .config) compiler: gcc-10 (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot smatch warnings: drivers/gpu/drm/drm_gem_framebuffer_helper.c:192

[PATCH] staging/fbtft: Remove all strcpy() uses

2021-07-18 Thread Len Baker
strcpy() performs no bounds checking on the destination buffer. This could result in linear overflows beyond the end of the buffer, leading to all kinds of misbehaviors. The safe replacement is strscpy() but in this case it is simpler to add NULL to the first position since we want to empty the str

Re: [PATCH] staging/fbtft: Remove all strcpy() uses

2021-07-18 Thread Andy Shevchenko
On Sun, Jul 18, 2021 at 4:43 PM Len Baker wrote: > > strcpy() performs no bounds checking on the destination buffer. This > could result in linear overflows beyond the end of the buffer, leading > to all kinds of misbehaviors. The safe replacement is strscpy() but in > this case it is simpler to a

Re: [PATCH v2 4/4] ARM: dts: add SKOV imx6q and imx6dl based boards

2021-07-18 Thread Sam Ravnborg
Hi Oleksij, On Wed, Jul 14, 2021 at 06:53:49AM +0200, Oleksij Rempel wrote: > From: Sam Ravnborg The real author one these dts files are Juergen Borleis IIRC. I made some internal refactoring / renaming which is why I thing git says otherwise. So onless Juergen says otherwise we should give him t

Re: [PATCH v18 0/2] Add memory bandwidth management to NVIDIA Tegra DRM driver

2021-07-18 Thread Dmitry Osipenko
21.06.2021 14:43, Dmitry Osipenko пишет: > 21.06.2021 14:01, Thierry Reding пишет: >> On Mon, Jun 21, 2021 at 07:19:15AM +0300, Dmitry Osipenko wrote: >>> 07.06.2021 01:40, Dmitry Osipenko пишет: 01.06.2021 07:21, Dmitry Osipenko пишет: > This series adds memory bandwidth management to the

[PATCH] backlight: pwm_bl: Avoid backlight flicker if backlight control GPIO is input

2021-07-18 Thread Marek Vasut
If the backlight enable GPIO is configured as input, the driver currently unconditionally forces the GPIO to output-enable. This can cause backlight flicker on boot e.g. in case the GPIO should not be enabled before the PWM is configured and is correctly pulled low by external resistor. Fix this b

[Bug 213779] New: Screen stays blank on resume. from hibernate

2021-07-18 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=213779 Bug ID: 213779 Summary: Screen stays blank on resume. from hibernate Product: Drivers Version: 2.5 Kernel Version: 5.13 Hardware: x86-64 OS: Linux Tree: Main

[Bug 213779] Screen stays blank on resume. from hibernate

2021-07-18 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=213779 --- Comment #1 from alex14...@yahoo.com --- The graphics card is a RX580. -- You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.

Re: [PATCH v1 01/10] dt-bindings: mediatek: add pseudo-ovl definition for mt8195

2021-07-18 Thread Chun-Kuang Hu
Hi, Nancy: Nancy.Lin 於 2021年7月17日 週六 下午5:04寫道: > > 1. Add pseudo-ovl definition file for mt8195 display. > 2. Add mediatek,pseudo-ovl.yaml to decribe pseudo-ovl module in details. > > Signed-off-by: Nancy.Lin > --- > .../display/mediatek/mediatek,disp.yaml | 5 + > .../display/mediatek/

Re: [PATCH v1 06/10] drm/mediatek: add ETHDR support for MT8195

2021-07-18 Thread Chun-Kuang Hu
Hi, Nancy: Nancy.Lin 於 2021年7月17日 週六 下午5:04寫道: > > Add ETHDR module files: > ETHDR is designed for HDR video and graphics conversion in the external > display path. It handles multiple HDR input types and performs tone > mapping, color space/color format conversion, and then combines > different

[PATCH] fbdev: simplefb: limit its use to DRM_SIMPLEDRM=n

2021-07-18 Thread Randy Dunlap
When DRM_SIMPLEDRM=m, all of FB_CFB_{FILLRECT,COPYAREA,IMAGEBLIT} are =m, causing undefined references in fbdev/simplefb.o. By restricting FB_SIMPLEFB to be set only when DRM_SIMPLEDRM is not set, the FB_CFB_* symbols are =y and the build completes without these undefined references. IOW, really

Re: [PATCH v3 0/2] allow simple{fb, drm} drivers to be used on non-x86 EFI platforms

2021-07-18 Thread Dave Airlie
On Thu, 15 Jul 2021 at 18:11, Thomas Zimmermann wrote: > > Hi > > Am 13.07.21 um 18:59 schrieb Javier Martinez Canillas: > > On 6/25/21 3:09 PM, Javier Martinez Canillas wrote: > >> The simplefb and simpledrm drivers match against a "simple-framebuffer" > >> device, but for aarch64 this is only re

[PATCH] dma_buf: remove dmabuf sysfs teardown before release/detach

2021-07-18 Thread guangming.cao
From: Guangming Cao Dmabuf sysfs stat is used for dmabuf info track. but these file maybe still use after buffer release/detach, should clear it before buffer release/detach. Signed-off-by: Guangming Cao --- drivers/dma-buf/dma-buf.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)

Re: [git pull] drm fixes for 5.14-rc2

2021-07-18 Thread Christian König
Am 17.07.21 um 23:43 schrieb Kirill A. Shutemov: On Fri, Jul 16, 2021 at 01:41:18PM +1000, Dave Airlie wrote: Hi Linus, Regular rc2 fixes though a bit more than usual at rc2 stage, people must have been testing early or else some fixes from last week got a bit laggy. There is one larger chan