Re: vc4: HDMI Sink doesn't support RGB, something's wrong.

2024-10-13 Thread Stefan Wahren
Am 13.10.24 um 21:11 schrieb Dave Stevenson: Hi Stefan. On Sun, 13 Oct 2024, 18:19 Stefan Wahren, wrote: Hi, i recently switch for my suspend2idle tests from Raspberry Pi Bullseye to Bookworm. After that testing suspend2idle shows a new warning which i never saw before:

Re: [PATCH] drm/bridge: tc358767: fix missing of_node_put() in for_each_endpoint_of_node()

2024-10-13 Thread Marek Vasut
On 10/13/24 8:11 PM, Javier Carrasco wrote: for_each_endpoint_of_node() requires a call to of_node_put() for every early exit. A new error path was added to the loop without observing this requirement. Add the missing call to of_node_put() in the error path. Fixes: 1fb4dceeedc5 ("drm/bridge: tc

[PATCH 2/2] drm/panel: Add Samsung AMS581VF01 panel driver

2024-10-13 Thread Danila Tikhonov
Add the driver for Samsung AMS581VF01 SOFEF01-based 5.81" FHD Plus CMD mode OLED panel support found in Google Pixel 4a (sm7150-google-sunfish) Signed-off-by: Danila Tikhonov --- drivers/gpu/drm/panel/Kconfig | 9 + drivers/gpu/drm/panel/Makefile| 1 + .../gpu

[PATCH 0/2] Add Samsung AMS581VF01 panel support

2024-10-13 Thread Danila Tikhonov
This patch series adds support for the Samsung AMS581VF01 panel, used in the Google Pixel 4a (sm7150-google-sunfish). Unlike many other devices, which may use different panels in various revisions, the Pixel 4a has only one possible panel option. Also this panel is not used in other devices. Testin

[PATCH 1/2] dt-bindings: display: panel: Add Samsung AMS581VF01

2024-10-13 Thread Danila Tikhonov
The Samsung AMS581VF01 is a 5.81 inch 1080x2340 MIPI-DSI CMD mode OLED panel used in Google Pixel 4a (sm7150-google-sunfish) Add a dt-binding for it. Signed-off-by: Danila Tikhonov --- .../display/panel/samsung,ams581vf01.yaml | 79 +++ 1 file changed, 79 insertions(+) crea

[PATCH] fbdev: Constify struct sbus_mmap_map

2024-10-13 Thread Christophe JAILLET
'struct sbus_mmap_map' are not modified in these drivers. Constifying this structure moves some data to a read-only section, so increases overall security. Update sbusfb_mmap_helper() accordingly. On a x86_64, with allmodconfig, as an example: Before: == textdata bss dec h

[RFC PATCH] drm/prime: introduce DRM_PRIME_FD_TO_HANDLE_NO_MOVE

2024-10-13 Thread Simon Ser
This is a flag to opt-out of the automagic buffer migration to system memory when importing a DMA-BUF. In multi-GPU scenarii, a Wayland client might allocate on any device. The Wayland compositor receiving the DMA-BUF has no clue where the buffer has been allocated from. The compositor will typica

Re: vc4: HDMI Sink doesn't support RGB, something's wrong.

2024-10-13 Thread Dave Stevenson
Hi Stefan. On Sun, 13 Oct 2024, 18:19 Stefan Wahren, wrote: > Hi, > > i recently switch for my suspend2idle tests from Raspberry Pi Bullseye > to Bookworm. After that testing suspend2idle shows a new warning which i > never saw before: > > HDMI Sink doesn't support RGB, something's wrong. > Can

[syzbot] Monthly dri report (Oct 2024)

2024-10-13 Thread syzbot
Hello dri maintainers/developers, This is a 31-day syzbot report for the dri subsystem. All related reports/information can be found at: https://syzkaller.appspot.com/upstream/s/dri During the period, 0 new issues were detected and 0 were fixed. In total, 18 issues are still open and 31 have been

Re: [PATCH net-next 1/3] net: dsa: microchip: copy string using strscpy

2024-10-13 Thread Daniel Machon
> Prior to this patch ksz_ptp_msg_irq_setup() uses snprintf() to copy > strings. It does so by passing strings as the format argument of > snprintf(). This appears to be safe, due to the absence of format > specifiers in the strings, which are declared within the same function. > But nonetheless GC

RE: [PATCH v2 6/9] drm/bridge: Add ITE IT6263 LVDS to HDMI converter

2024-10-13 Thread Biju Das
Hi Dmitry Baryshkov, > -Original Message- > From: Dmitry Baryshkov > Sent: Saturday, October 12, 2024 9:45 AM > Subject: Re: [PATCH v2 6/9] drm/bridge: Add ITE IT6263 LVDS to HDMI converter > > On Sat, Oct 12, 2024 at 03:35:40PM +0800, Liu Ying wrote: > > Add basic HDMI video output supp

RE: [PATCH v2 6/9] drm/bridge: Add ITE IT6263 LVDS to HDMI converter

2024-10-13 Thread Biju Das
Hi Liu Ying, > -Original Message- > From: Liu Ying > Sent: Saturday, October 12, 2024 11:02 AM > To: Dmitry Baryshkov > Cc: dri-devel@lists.freedesktop.org; devicet...@vger.kernel.org; > linux-ker...@vger.kernel.org; > Subject: Re: [PATCH v2 6/9] drm/bridge: Add ITE IT6263 LVDS to HDMI

vc4: HDMI Sink doesn't support RGB, something's wrong.

2024-10-13 Thread Stefan Wahren
Hi, i recently switch for my suspend2idle tests from Raspberry Pi Bullseye to Bookworm. After that testing suspend2idle shows a new warning which i never saw before: HDMI Sink doesn't support RGB, something's wrong. Platform: Raspberry Pi 3 B+ Kernel: 6.12-rc1 Kernel config: arm/multi_v7_defcon

Re: [PATCH 2/2] drm/panel: Add Samsung AMS581VF01 panel driver

2024-10-13 Thread Dmitry Baryshkov
On Mon, Oct 14, 2024 at 12:24:02AM +0300, Danila Tikhonov wrote: > Add the driver for Samsung AMS581VF01 SOFEF01-based 5.81" FHD Plus CMD > mode OLED panel support found in Google Pixel 4a (sm7150-google-sunfish) > > Signed-off-by: Danila Tikhonov > --- > drivers/gpu/drm/panel/Kconfig

Re: [PATCH v2 5/9] dt-bindings: display: bridge: Add ITE IT6263 LVDS to HDMI converter

2024-10-13 Thread Dmitry Baryshkov
On Sat, Oct 12, 2024 at 05:14:13PM +0800, Liu Ying wrote: > On 10/12/2024, Dmitry Baryshkov wrote: > > On Sat, Oct 12, 2024 at 03:35:39PM +0800, Liu Ying wrote: > >> Document ITE IT6263 LVDS to HDMI converter. > >> > >> Product link: > >> https://www.ite.com.tw/en/product/cate1/IT6263 > >> > >> Sig

Re: [PATCH v2 6/9] drm/bridge: Add ITE IT6263 LVDS to HDMI converter

2024-10-13 Thread Dmitry Baryshkov
On Sat, Oct 12, 2024 at 06:01:30PM +0800, Liu Ying wrote: > On 10/12/2024, Dmitry Baryshkov wrote: > > On Sat, Oct 12, 2024 at 03:35:40PM +0800, Liu Ying wrote: > >> Add basic HDMI video output support. Currently, only RGB888 output > >> pixel format is supported. At the LVDS input side, the drive

Re: [PATCH v2 6/9] drm/bridge: Add ITE IT6263 LVDS to HDMI converter

2024-10-13 Thread Dmitry Baryshkov
On Sun, Oct 13, 2024 at 10:48:54AM +, Biju Das wrote: > Hi Liu Ying, > > > -Original Message- > > From: Liu Ying > > Sent: Saturday, October 12, 2024 11:02 AM > > To: Dmitry Baryshkov > > Cc: dri-devel@lists.freedesktop.org; devicet...@vger.kernel.org; > > linux-ker...@vger.kernel.o

Re: [PATCH v2 6/9] drm/bridge: Add ITE IT6263 LVDS to HDMI converter

2024-10-13 Thread Dmitry Baryshkov
On Sun, Oct 13, 2024 at 10:27:39AM +, Biju Das wrote: > Hi Dmitry Baryshkov, > > > -Original Message- > > From: Dmitry Baryshkov > > Sent: Saturday, October 12, 2024 9:45 AM > > Subject: Re: [PATCH v2 6/9] drm/bridge: Add ITE IT6263 LVDS to HDMI > > converter > > > > On Sat, Oct 12,

Re: [PATCH v6 13/44] drm/colorop: Add NEXT to colorop state print

2024-10-13 Thread Simon Ser
I think this can be folded into "drm/colorop: Add atomic state print for drm_colorop".

Re: [PATCH v6 42/44] drm/colorop: Add 3D LUT supports to color pipeline

2024-10-13 Thread Simon Ser
On Thursday, October 3rd, 2024 at 22:01, Harry Wentland wrote: > From: Alex Hung > > It is to be used to enable HDR by allowing userpace to create and pass > 3D LUTs to kernel and hardware. > > 1. new drm_colorop_type: DRM_COLOROP_3D_LUT. > 2. 3D LUT modes define hardware capabilities to user

Re: [PATCH v6 05/44] drm/colorop: Introduce new drm_colorop mode object

2024-10-13 Thread Simon Ser
Would be nice to have user-space uAPI docs for the colorop properties. Just like we have for other KMS object types: https://dri.freedesktop.org/docs/drm/gpu/drm-kms.html#standard-connector-properties Internal kernel docs aren't great for user-space developers, because user-space developers have n

Re: [PATCH v6 16/44] drm/colorop: Introduce DRM_CLIENT_CAP_PLANE_COLOR_PIPELINE

2024-10-13 Thread Simon Ser
Shouldn't this patch come before the others, otherwise we're exposing unconditionally color OP uAPI to user-space in-between the first patch and this one? Usually we try to not have a broken kernel in intermediate commits. It's important for bisecting.

Re: [PATCH v6 05/44] drm/colorop: Introduce new drm_colorop mode object

2024-10-13 Thread Simon Ser
On Sunday, October 13th, 2024 at 17:19, Simon Ser wrote: > Would be nice to have user-space uAPI docs for the colorop properties. > Just like we have for other KMS object types: > https://dri.freedesktop.org/docs/drm/gpu/drm-kms.html#standard-connector-properties Ah, I suppose subsequent patches

Re: [PATCH v6 4/5] tty: serial: handle HAS_IOPORT dependencies

2024-10-13 Thread Maciej W. Rozycki
On Tue, 8 Oct 2024, Niklas Schnelle wrote: > > > +static __always_inline bool is_upf_fourport(struct uart_port *port) > > > +{ > > > + if (!IS_ENABLED(CONFIG_HAS_IOPORT)) > > > + return false; > > > + > > > + return port->flags & UPF_FOURPORT; > > > +} > > > > Can we perhaps avoid adding

Re: [PATCH v8 4/5] tty: serial: handle HAS_IOPORT dependencies

2024-10-13 Thread Maciej W. Rozycki
On Tue, 8 Oct 2024, Niklas Schnelle wrote: > In a future patch HAS_IOPORT=n will disable inb()/outb() and friends at > compile time. We thus need to add HAS_IOPORT as dependency for those > drivers using them unconditionally. Some 8250 serial drivers support > MMIO only use, so fence only the part

[PATCH] drm/bridge: tc358767: fix missing of_node_put() in for_each_endpoint_of_node()

2024-10-13 Thread Javier Carrasco
dev_err(dev, "Incorrect Pre-Emphasis setting, use either 0=0dB 1=3.5dB 2=6dB\n"); + of_node_put(node); return -EINVAL; } } --- base-commit: d61a00525464bfc5

Re: [PATCH v2] drm/msm/dpu: don't always activate merge_3d block

2024-10-13 Thread Dmitry Baryshkov
On Fri, Oct 11, 2024 at 10:25:13AM -0700, Jessica Zhang wrote: > Only enable the merge_3d block for the video phys encoder when the 3d > blend mode is not *_NONE since there is no need to activate the merge_3d > block for cases where merge_3d is not needed. > > Fixes: 3e79527a33a8 ("drm/msm/dpu: e

Re: [PATCH 2/2] drm/msm: add another DRM_DISPLAY_DSC_HELPER selection

2024-10-13 Thread Abhinav Kumar
On 9/4/2024 8:08 PM, Dmitry Baryshkov wrote: In the drm/msm driver both DSI and DPU subdrivers use drm_dsc_* functions, but only DSI selects DRM_DISPLAY_DSC_HELPER symbol. Add missing select to the DPU subdriver too. Fixes: ca097d4d94d8 ("drm/display: split DSC helpers from DP helpers") Repor

Re: [PATCH v2] drm/msm/dpu: don't always activate merge_3d block

2024-10-13 Thread Abhinav Kumar
Hi Dmitry On 10/13/2024 5:20 PM, Dmitry Baryshkov wrote: On Fri, Oct 11, 2024 at 10:25:13AM -0700, Jessica Zhang wrote: Only enable the merge_3d block for the video phys encoder when the 3d blend mode is not *_NONE since there is no need to activate the merge_3d block for cases where merge_3d i

Re: [PATCH v2 5/9] dt-bindings: display: bridge: Add ITE IT6263 LVDS to HDMI converter

2024-10-13 Thread Liu Ying
On 10/14/2024, Liu Ying wrote: > On 10/14/2024, Dmitry Baryshkov wrote: >> On Sat, Oct 12, 2024 at 05:14:13PM +0800, Liu Ying wrote: >>> On 10/12/2024, Dmitry Baryshkov wrote: On Sat, Oct 12, 2024 at 03:35:39PM +0800, Liu Ying wrote: > Document ITE IT6263 LVDS to HDMI converter. >

Re: [PATCH v1 10/10] uapi: linux: add mediatek isp_7x camsys user api

2024-10-13 Thread 胡俊光

Re: [PATCH v1 06/10] media: platform: mediatek: add isp_7x utility

2024-10-13 Thread 胡俊光

Re: [PATCH v2 5/9] dt-bindings: display: bridge: Add ITE IT6263 LVDS to HDMI converter

2024-10-13 Thread Liu Ying
On 10/14/2024, Dmitry Baryshkov wrote: > On Sat, Oct 12, 2024 at 05:14:13PM +0800, Liu Ying wrote: >> On 10/12/2024, Dmitry Baryshkov wrote: >>> On Sat, Oct 12, 2024 at 03:35:39PM +0800, Liu Ying wrote: Document ITE IT6263 LVDS to HDMI converter. Product link: https://www.ite.co

Re: [PATCH 2/2] drm/msm: add another DRM_DISPLAY_DSC_HELPER selection

2024-10-13 Thread Abhinav Kumar
On 10/13/2024 8:11 PM, Abhinav Kumar wrote: On 9/4/2024 8:08 PM, Dmitry Baryshkov wrote: In the drm/msm driver both DSI and DPU subdrivers use drm_dsc_* functions, but only DSI selects DRM_DISPLAY_DSC_HELPER symbol. Add missing select to the DPU subdriver too. Fixes: ca097d4d94d8 ("drm/dis

Re: [PATCH v6 02/15] drm/msm/dpu: move CRTC resource assignment to dpu_encoder_virt_atomic_check

2024-10-13 Thread Abhinav Kumar
On 9/16/2024 11:13 PM, Dmitry Baryshkov wrote: On Mon, Sep 16, 2024 at 06:04:08PM GMT, Abhinav Kumar wrote: On 9/2/2024 8:22 PM, Dmitry Baryshkov wrote: Historically CRTC resources (LMs and CTLs) were assigned in dpu_crtc_atomic_begin(). The commit 9222cdd27e82 ("drm/msm/dpu: move hw resou

[PATCH] drm: atmel-hlcdc: update the LCDC_ATTRE register in plane atomic_disable

2024-10-13 Thread Manikandan Muralidharan
update the LCDC_ATTRE register in drm plane atomic_disable to handle the configuration changes of each layer when a plane is disabled. Signed-off-by: Manikandan Muralidharan --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.h| 3 ++- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c | 17 +++

Re: [PATCH] drm/panthor: Fix firmware initialization on systems with a page size > 4k

2024-10-13 Thread Boris Brezillon
On Fri, 11 Oct 2024 18:58:45 +0100 Adrián Larumbe wrote: > Hi Boris, > > On 09.10.2024 09:10, Steven Price wrote: > > On 08/10/2024 09:47, Boris Brezillon wrote: > > > The system and GPU MMU page size might differ, which becomes a > > > problem for FW sections that need to be mapped at explici

linux-next: manual merge of the drm-xe tree with the drm-intel tree

2024-10-13 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-xe tree got a conflict in: drivers/gpu/drm/xe/display/xe_display.c between commit: 5c30cfa295cc ("drm/i915/dmc: Convert DMC code to intel_display") from the drm-intel tree and commit: a4de6beb83fc ("drm/xe/display: Separate the d3cold and non-