Re: [PATCH v2] drm/mediatek: fix uninitialized symbol

2023-07-16 Thread Fei Shao
Hi CK, On Fri, Jul 14, 2023 at 5:27 PM CK Hu (胡俊光) wrote: > > Hi, Nancy: > > On Fri, 2023-04-21 at 10:16 +0800, Nancy.Lin wrote: snip > > In line 566, the statement is > > if (nodo) { > comp_pdev = ... > } > > The comment says that only ovl_adaptoer has no device node, so the > checking

Re: [RFC PATCH 00/10] Device Memory TCP

2023-07-16 Thread Andy Lutomirski
On 7/10/23 15:32, Mina Almasry wrote: * TL;DR: Device memory TCP (devmem TCP) is a proposal for transferring data to and/or from device memory efficiently, without bouncing the data to a host memory buffer. (I'm writing this as someone who might plausibly use this mechanism, but I don't

Re: [RFC PATCH 06/10] net: add SO_DEVMEM_DONTNEED setsockopt to release RX pages

2023-07-16 Thread Mina Almasry
On Sun, Jul 16, 2023 at 4:57 PM Andy Lutomirski wrote: > > On 7/10/23 15:32, Mina Almasry wrote: > > Add an interface for the user to notify the kernel that it is done reading > > the NET_RX dmabuf pages returned as cmsg. The kernel will drop the > > reference on the NET_RX pages to make them

[PATCH v4 2/3] drm/msm: Fix IS_ERR_OR_NULL() vs NULL check in a5xx_submit_in_rb()

2023-07-16 Thread Gaosheng Cui
The msm_gem_get_vaddr() returns an ERR_PTR() on failure, and a null is catastrophic here, so we should use IS_ERR_OR_NULL() to check the return value. Fixes: 6a8bd08d0465 ("drm/msm: add sudo flag to submit ioctl") Signed-off-by: Gaosheng Cui Reviewed-by: Dmitry Baryshkov Reviewed-by: Abhinav

[PATCH v4 1/3] drm/panel: Fix IS_ERR() vs NULL check in nt35950_probe()

2023-07-16 Thread Gaosheng Cui
The mipi_dsi_device_register_full() returns an ERR_PTR() on failure, we should use IS_ERR() to check the return value. By the way, use dev_err_probe instead of dev_err to print the error code. Fixes: 623a3531e9cf ("drm/panel: Add driver for Novatek NT35950 DSI DriverIC panels") Signed-off-by:

[PATCH v4 3/3] drm/komeda: Fix IS_ERR() vs NULL check in komeda_component_get_avail_scaler()

2023-07-16 Thread Gaosheng Cui
The komeda_pipeline_get_state() returns an ERR_PTR() on failure, we should use IS_ERR() to check the return value. Fixes: 502932a03fce ("drm/komeda: Add the initial scaler support for CORE") Signed-off-by: Gaosheng Cui Reviewed-by: Liviu Dudau ---

[PATCH v4 0/3] Fix IS_ERR() vs NULL check for drm

2023-07-16 Thread Gaosheng Cui
v4: - 1. Update the second patch's commit messages. 2. Update the first patch, use dev_err_probe() instead of dev_err(). Thanks! v3: - Update the second patch: 1. change IS_ERR to IS_ERR_OR_NULL 2. add Dmitry's R-b in this revision: link:

Re: [RFC PATCH 06/10] net: add SO_DEVMEM_DONTNEED setsockopt to release RX pages

2023-07-16 Thread Andy Lutomirski
On 7/10/23 15:32, Mina Almasry wrote: Add an interface for the user to notify the kernel that it is done reading the NET_RX dmabuf pages returned as cmsg. The kernel will drop the reference on the NET_RX pages to make them available for re-use. Signed-off-by: Mina Almasry --- +

Re: [PATCH 3/4] dummycon: limit Arm console size hack to footbridge

2023-07-16 Thread Linus Walleij
On Fri, Jul 7, 2023 at 4:28 PM Arnd Bergmann wrote: > Since you have already spent the time to build and test a kernel with > this patch, can you do one more test here and check the text size > reported in the atags on this machine and the actual text sizes you > get from both vgacon and

Re: [PATCH] phy: Explicitly include correct DT includes

2023-07-16 Thread Marc Kleine-Budde
On 14.07.2023 11:48:35, Rob Herring wrote: > The DT of_device.h and of_platform.h date back to the separate > of_platform_bus_type before it as merged into the regular platform bus. > As part of that merge prepping Arm DT support 13 years ago, they > "temporarily" include each other. They also

Re: [PATCH 0/8] drm: fb-helper/ssd130x: Add support for DRM_FORMAT_R1

2023-07-16 Thread Javier Martinez Canillas
Geert Uytterhoeven writes: Hello Geert, > Hi all, > > The native display format of ssd1306 OLED displays is monochrome > light-on-dark (R1). This patch series adds support for the R1 buffer > format to both the ssd130x DRM driver and the FB helpers, so monochrome > applications

Fwd: Framebuffer-Display issue. (Intel® Iris® Xe)

2023-07-16 Thread Bagas Sanjaya
Hi, I notice a regression report on Bugzilla [1]. Quoting from it: > Hello I have been having problems for some time now with displaying any linux > distribution with the new kernal. The only thing that can fix it are older > kernals. > > I can't describe it very well, so I'm attaching some

Re: [PATCH 3/3] drm/scheduler: Clean up jobs when the scheduler is torn down.

2023-07-16 Thread Asahi Lina
On 15/07/2023 16.14, Luben Tuikov wrote: On 2023-07-14 04:21, Asahi Lina wrote: drm_sched_fini() currently leaves any pending jobs dangling, which causes segfaults and other badness when job completion fences are signaled after the scheduler is torn down. If there are pending jobs, ideally we