[PATCH 1/1] Revert "fbdev: Disable sysfb device registration when removing conflicting FBs"

2025-09-10 Thread Brett A C Sheffield
This reverts commit 13d28e0c79cbf69fc6f145767af66905586c1249. Commit ee7a69aa38d8 ("fbdev: Disable sysfb device registration when removing conflicting FBs") was backported to 5.15.y LTS. This causes a regression where all virtual consoles stop responding during boot at: "Popul

Re: [PATCH RFC 1/5] drm: Support post-blend color pipeline API

2025-09-09 Thread F. R. A. Prado
On Fri, 2025-09-05 at 19:55 +0200, Louis Chauvet wrote: > > > Le 22/08/2025 à 20:36, Nícolas F. R. A. Prado a écrit : > > Introduce support for a post-blend color pipeline API analogous to > > the > > pre-blend color pipeline API. While the pre-blend color pipeline >

Re: [PATCH RFC 05/35] wireguard: selftests: remove CONFIG_SPARSEMEM_VMEMMAP=y from qemu kernel config

2025-09-08 Thread Jason A. Donenfeld
Applied, thanks.

Re: [PATCH v2 05/37] wireguard: selftests: remove CONFIG_SPARSEMEM_VMEMMAP=y from qemu kernel config

2025-09-08 Thread Jason A. Donenfeld
Applied this one, actually. Thank you.

Re: [PATCH RFC 1/5] drm: Support post-blend color pipeline API

2025-09-03 Thread F. R. A. Prado
   if (prop == crtc- > > > > >color_pipeline_property) > > > > +   continue; > > > > +   } > > > > > > Hmmm. One issue with this is that it makes things like drm_info > > > harder

Re: [PATCH][next] drm/amdgpu/amdkfd: Avoid a couple hundred -Wflex-array-member-not-at-end warnings

2025-09-03 Thread Gustavo A. R. Silva
On 9/2/25 17:11, Kuehling, Felix wrote: On 2025-08-29 5:58 a.m., Gustavo A. R. Silva wrote: -Wflex-array-member-not-at-end was introduced in GCC-14, and we are getting ready to enable it, globally. Move the conflicting declarations to the end of the corresponding structures. Notice that

[PATCH][next] drm/xe: Avoid dozens of -Wflex-array-member-not-at-end warnings

2025-08-29 Thread Gustavo A. R. Silva
-Wflex-array-member-not-at-end was introduced in GCC-14, and we are getting ready to enable it, globally. Move the conflicting declaration to the end of the corresponding structure. Notice that `struct dev_pagemap` is a flexible structure, this is a structure that contains a flexible-array member

[PATCH][next] drm/amdgpu/amdkfd: Avoid a couple hundred -Wflex-array-member-not-at-end warnings

2025-08-29 Thread Gustavo A. R. Silva
-Wflex-array-member-not-at-end was introduced in GCC-14, and we are getting ready to enable it, globally. Move the conflicting declarations to the end of the corresponding structures. Notice that `struct dev_pagemap` is a flexible structure, this is a structure that contains a flexible-array

[PATCH RFC 0/5] Introduce support for post-blend color pipeline

2025-08-22 Thread Nícolas F . R . A . Prado
This series is based on "Color Pipeline API w/ VKMS" [1]. It reuses the same concept of a color pipeline API but for the post-blend stage instead of pre-blend, by attaching the COLOR_PIPELINE property to the CRTC rather than a plane. Patch 1 implements the necessary changes in the D

[PATCH RFC 4/5] drm/mediatek: ccorr: Support post-blend color pipeline API

2025-08-22 Thread Nícolas F . R . A . Prado
Implement the ctm_set_color_pipeline DDP component function to allow configuring the CTM through the color pipeline API. The color pipeline API only defines a 3x4 matrix, while the driver currently only supports setting the coefficients for a 3x3 matrix. However the underlying hardware does

[PATCH RFC 5/5] drm/mediatek: gamma: Support post-blend color pipeline API

2025-08-22 Thread Nícolas F . R . A . Prado
Implement the gamma_set_color_pipeline DDP component function to allow configuring the gamma LUT through the post-blend color pipeline API. The color pipeline API uses a 32-bit long, rather than 16-bit long, LUT, so also update the functions to handle both cases. Also make sure to enable or

[PATCH RFC 3/5] drm/mediatek: Support post-blend colorops for gamma and ctm

2025-08-22 Thread Nícolas F . R . A . Prado
Allow configuring the gamma and ccorr blocks through the post-blend color pipeline API instead of the GAMMA_LUT and CTM properties. In order to achieve this, initialize the color pipeline property and colorops on the CRTC based on the DDP components available in the CRTC path. Then introduce a

[PATCH RFC 2/5] drm/colorop: Export drm_colorop_cleanup() so drivers can extend it

2025-08-22 Thread Nícolas F . R . A . Prado
Export drm_colorop_cleanup() so drivers subclassing drm_colorop can reuse this function in subclass cleanup routines. Signed-off-by: Nícolas F. R. A. Prado --- drivers/gpu/drm/drm_colorop.c | 3 ++- include/drm/drm_colorop.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH RFC 1/5] drm: Support post-blend color pipeline API

2025-08-22 Thread Nícolas F . R . A . Prado
Introduce support for a post-blend color pipeline API analogous to the pre-blend color pipeline API. While the pre-blend color pipeline was configured through a COLOR_PIPELINE property attached to a drm_plane, the post-blend color pipeline is configured through a COLOR_PIPELINE property on the

[PATCH v3][next] drm/nouveau: fifo: Avoid -Wflex-array-member-not-at-end warning

2025-08-13 Thread Gustavo A. R. Silva
-Wflex-array-member-not-at-end was introduced in GCC-14, and we are getting ready to enable it, globally. Use the new TRAILING_OVERLAP() helper to fix the following warning: drivers/gpu/drm/nouveau/nvif/fifo.c:29:42: warning: structure containing a flexible array member is not at the end of

Re: [PATCH][next] drm/amd/pm: Avoid multiple -Wflex-array-member-not-at-end warnings

2025-08-12 Thread Gustavo A. R. Silva
Hi! On 22/04/25 23:58, Gustavo A. R. Silva wrote: On 16/04/25 09:04, Alex Deucher wrote: Can you resend, I can't seem to find the original emails. Additionally, all of the NISLANDS structures are unused in amdgpu, so those could be removed. I'm taking a look at this, and it

Re: [PATCH V10 43/46] drm/amd/display: add 3D LUT colorop

2025-08-04 Thread F. R. A. Prado
On Mon, 2025-06-16 at 22:17 -0600, Alex Hung wrote: > This adds support for a 3D LUT. > > The color pipeline now consists of the following colorops: > 1. 1D curve colorop > 2. Multiplier > 3. 3x4 CTM > 4. 1D curve colorop > 5. 1D LUT > 6. 3D LUT > 7. 1D curve color

Re: [PATCH V10 13/46] drm/colorop: Add destroy functions for color pipeline

2025-07-31 Thread F. R. A. Prado
On Mon, 2025-06-16 at 22:16 -0600, Alex Hung wrote: > The functions are to clean up color pipeline when a device driver > fails to create its color pipeline. > > Signed-off-by: Alex Hung > Reviewed-by: Daniel Stone > Reviewed-by: Simon Ser > Reviewed-by: Melissa Wen >

Re: [PATCH V10 18/46] drm/vkms: add 3x4 matrix in color pipeline

2025-07-30 Thread F. R. A. Prado
On Mon, 2025-06-16 at 22:17 -0600, Alex Hung wrote: > From: Harry Wentland > > We add two 3x4 matrices into the VKMS color pipeline. The reason > we're adding matrices is so that we can test that application > of a matrix and its inverse yields an output equal to the inp

Re: [PATCH V10 41/46] drm/colorop: allow non-bypass colorops

2025-07-23 Thread F. R. A. Prado
M_MODE_PROP_IMMUTABLE | DRM_MODE_PROP_ATOMIC, > @@ -195,10 +197,11 @@ EXPORT_SYMBOL(drm_colorop_pipeline_destroy); >   * @supported_tfs: A bitfield of supported > drm_plane_colorop_curve_1d_init enum values, >   * created using BIT(curve_type) and combined with &

Re: [PATCH] drm/v3d: Disable interrupts before resetting the GPU

2025-07-01 Thread Juan A.
Reviewed-by: Juan A. Suarez On Sat, 2025-06-28 at 19:42 -0300, Maíra Canal wrote: > Currently, an interrupt can be triggered during a GPU reset, which > can > lead to GPU hangs and NULL pointer dereference in an interrupt > context > as shown in the following trace: > >  

Re: [PATCH v4 1/1] drm/mediatek: Adjust bandwidth limit for DP

2025-06-27 Thread F. R. A. Prado
On Fri, 2025-06-27 at 01:32 +, CK Hu (胡俊光) wrote: > On Wed, 2025-06-25 at 14:49 -0400, Nícolas F. R. A. Prado wrote: > > External email : Please do not click links or open attachments > > until you have verified the sender or the content. > > > > > >

Re: [PATCH v4 1/1] drm/mediatek: Adjust bandwidth limit for DP

2025-06-25 Thread F. R. A. Prado
vironmental issues, enabling the acquisition of a stable bandwidth > for the current link. Subsequently, DP work can proceed based on > the actual maximum bandwidth. > > It should training in the hpd event thread. > Check the mode with lane count and link rate of training. > > If

Re: [PATCH] drm/vmwgfx: Fix guests running with TDX/SEV

2025-06-18 Thread Kirill A. Shutemov
ap. > > Fixes: 81256a50aa0f ("x86/mm: Make memremap(MEMREMAP_WB) map memory as > encrypted by default") > Signed-off-by: Marko Kiiskila > Signed-off-by: Zack Rusin > Cc: Kirill A. Shutemov > Cc: Ingo Molnar > Cc: Andrew Morton > Cc: Dave Hansen >

[PATCH][next] drm/nouveau: outp: Use __member_size() helper

2025-04-22 Thread Gustavo A. R. Silva
Use __member_size() to get the size of the flex-array member at compile time, instead of the convoluted expression `__struct_size(p) - sizeof(*p)` Signed-off-by: Gustavo A. R. Silva --- drivers/gpu/drm/nouveau/nvif/outp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[PATCH][next] drm/nouveau: disp: Use __member_size() helper

2025-04-22 Thread Gustavo A. R. Silva
Use __member_size() to get the size of the flex-array member at compile time, instead of the convoluted expression `__struct_size(p) - sizeof(*p)` Signed-off-by: Gustavo A. R. Silva --- drivers/gpu/drm/nouveau/dispnv50/disp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

Re: [PATCH][next] drm/amd/pm: Avoid multiple -Wflex-array-member-not-at-end warnings

2025-04-22 Thread Gustavo A. R. Silva
On 16/04/25 09:04, Alex Deucher wrote: Can you resend, I can't seem to find the original emails. Additionally, all of the NISLANDS structures are unused in amdgpu, so those could be removed. Okay, I'll take a look. Thanks -Gustavo

[PATCH v2][next] drm/nouveau: chan: Avoid -Wflex-array-member-not-at-end warnings

2025-04-16 Thread Gustavo A. R. Silva
-Wflex-array-member-not-at-end was introduced in GCC-14, and we are getting ready to enable it, globally. Use the `DEFINE_RAW_FLEX()` helper for a few on-stack definitions of a flexible structure where the size of the flexible-array member is known at compile-time, and refactor the rest of the

Re: [PATCH][next] drm/amd/pm: Avoid multiple -Wflex-array-member-not-at-end warnings

2025-04-15 Thread Gustavo A. R. Silva
Hi all, Friendly ping (second one): who can take this patch, please? 🙂 Thanks! -Gustavo On 11/03/25 02:10, Gustavo A. R. Silva wrote: Hi all, Friendly ping: who can take this, please? :) Thanks! -- Gustavo On 14/02/25 18:48, Gustavo A. R. Silva wrote: -Wflex-array-member-not-at-end was

Re: [PATCH][next] drm/nouveau: chan: Avoid -Wflex-array-member-not-at-end warnings

2025-04-11 Thread Gustavo A. R. Silva
On 08/04/25 17:40, Kees Cook wrote: On Mon, Apr 07, 2025 at 05:35:47PM -0600, Gustavo A. R. Silva wrote: [..] - struct { - struct nvif_chan_v0 chan; - char name[TASK_COMM_LEN+16]; - } args; + DEFINE_RAW_FLEX(struct nvif_chan_v0, args, name

Re: [PATCH][next] drm/nouveau: chan: Avoid -Wflex-array-member-not-at-end warnings

2025-04-10 Thread Gustavo A. R. Silva
On 07/04/25 13:50, Kees Cook wrote: On Thu, Apr 03, 2025 at 10:45:18AM -0600, Gustavo A. R. Silva wrote: -Wflex-array-member-not-at-end was introduced in GCC-14, and we are getting ready to enable it, globally. Use the `DEFINE_RAW_FLEX()` helper for a few on-stack definitions of a flexible

Re: [PATCH][next] drm/nouveau: chan: Avoid -Wflex-array-member-not-at-end warnings

2025-04-07 Thread Gustavo A. R. Silva
2"? i.e. isn't struct nv_device_info_v1::count the counted_by for struct nv_device_info_v1::data? Yes, it's just `2`. However, I didn't want to explicitly use the magic number, in case people don't like it, as in other similar patches (in other subsystems). But, yeah, it&#

[PATCH v2][next] drm/nouveau: disp: Avoid -Wflex-array-member-not-at-end warning

2025-04-05 Thread Gustavo A. R. Silva
-Wflex-array-member-not-at-end was introduced in GCC-14, and we are getting ready to enable it, globally. Use the `DEFINE_RAW_FLEX()` helper for an on-stack definition of a flexible structure where the size of the flexible-array member is known at compile-time, and refactor the rest of the code

[PATCH v2][next] drm/nouveau: fifo: Avoid -Wflex-array-member-not-at-end warning

2025-04-04 Thread Gustavo A. R. Silva
/nouveau/nvif/fifo.c:29:42: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end] Signed-off-by: Gustavo A. R. Silva --- Changes in v2: - Adjust heap allocation instead of using the DEFINE_RAW_FLEX() helper. - Link: https

Re: [PATCH][next] drm/nouveau: fifo: Avoid -Wflex-array-member-not-at-end warning

2025-04-04 Thread Gustavo A. R. Silva
On 03/04/25 11:41, Gustavo A. R. Silva wrote: -Wflex-array-member-not-at-end was introduced in GCC-14, and we are getting ready to enable it, globally. Use the `DEFINE_RAW_FLEX()` helper for an on-stack definition of a flexible structure where the size of the flexible-array member is known

[PATCH][next] drm/nouveau: fifo: Avoid -Wflex-array-member-not-at-end warning

2025-04-03 Thread Gustavo A. R. Silva
-Wflex-array-member-not-at-end was introduced in GCC-14, and we are getting ready to enable it, globally. Use the `DEFINE_RAW_FLEX()` helper for an on-stack definition of a flexible structure where the size of the flexible-array member is known at compile-time, and refactor the rest of the code

Re: [PATCH v2][next] drm/nouveau: disp: Avoid -Wflex-array-member-not-at-end warning

2025-04-03 Thread Gustavo A. R. Silva
Applied this one (as well as the svm and fence one) to drm-misc-next, thanks! Awesome. :) Thanks! -- Gustavo

[PATCH][next] drm/nouveau: chan: Avoid -Wflex-array-member-not-at-end warnings

2025-04-03 Thread Gustavo A. R. Silva
-Wflex-array-member-not-at-end was introduced in GCC-14, and we are getting ready to enable it, globally. Use the `DEFINE_RAW_FLEX()` helper for a few on-stack definitions of a flexible structure where the size of the flexible-array member is known at compile-time, and refactor the rest of the

[PATCH][next] drm/nouveau: svm: Avoid -Wflex-array-member-not-at-end warning

2025-04-02 Thread Gustavo A. R. Silva
-Wflex-array-member-not-at-end was introduced in GCC-14, and we are getting ready to enable it, globally. Use the `DEFINE_RAW_FLEX()` helper for an on-stack definition of a flexible structure where the size of the flexible-array member is known at compile-time, and refactor the rest of the code

[PATCH][next] drm/nouveau: fence: Avoid -Wflex-array-member-not-at-end warning

2025-04-02 Thread Gustavo A. R. Silva
-Wflex-array-member-not-at-end was introduced in GCC-14, and we are getting ready to enable it, globally. Use the `DEFINE_RAW_FLEX()` helper for an on-stack definition of a flexible structure where the size of the flexible-array member is known at compile-time, and refactor the rest of the code

[PATCH v2][next] drm/nouveau/outp: Avoid -Wflex-array-member-not-at-end warning

2025-03-28 Thread Gustavo A. R. Silva
-Wflex-array-member-not-at-end was introduced in GCC-14, and we are getting ready to enable it, globally. Use the `DEFINE_RAW_FLEX()` helper for an on-stack definition of a flexible structure where the size of the flexible-array member is known at compile-time, and refactor the rest of the code

Re: [PATCH][next] drm/nouveau/outp: Avoid -Wflex-array-member-not-at-end warning

2025-03-28 Thread Gustavo A. R. Silva
On 28/03/25 09:05, Danilo Krummrich wrote: On Fri, Mar 28, 2025 at 08:45:32AM -0600, Gustavo A. R. Silva wrote: -Wflex-array-member-not-at-end was introduced in GCC-14, and we are getting ready to enable it, globally. Use the `DEFINE_RAW_FLEX()` helper for an on-stack definition of a

[PATCH][next] drm/nouveau/conn: Avoid -Wflex-array-member-not-at-end warning

2025-03-28 Thread Gustavo A. R. Silva
-Wflex-array-member-not-at-end was introduced in GCC-14, and we are getting ready to enable it, globally. Use the `DEFINE_RAW_FLEX()` helper for an on-stack definition of a flexible structure where the size of the flexible-array member is known at compile-time, and refactor the rest of the code

[PATCH][next] drm/nouveau/outp: Avoid -Wflex-array-member-not-at-end warning

2025-03-28 Thread Gustavo A. R. Silva
-Wflex-array-member-not-at-end was introduced in GCC-14, and we are getting ready to enable it, globally. Use the `DEFINE_RAW_FLEX()` helper for an on-stack definition of a flexible structure where the size of the flexible-array member is known at compile-time, and refactor the rest of the code

Re: [PATCH v3] arm64: defconfig: mediatek: enable PHY drivers

2025-03-15 Thread Nícolas F . R . A . Prado
ut that's just so you know in the future, you don't need to send a new version just for that. > > Fixes: 924d66011f24 ("drm/mediatek: stop selecting foreign drivers") > Signed-off-by: Vignesh Raman Reviewed-by: Nícolas F. R. A. Prado Thanks, Nícolas

Re: [PATCH v2] arm64: defconfig: mediatek: enable PHY drivers

2025-03-12 Thread Nícolas F . R . A . Prado
fig. > > --- > arch/arm64/configs/defconfig | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig > index 1f25423de383..87e8cbd3fd26 100644 > --- a/arch/arm64/configs/defconfig > +++ b/arch/

Re: [PATCH v1] arm64: defconfig: mediatek: enable PHY drivers

2025-03-11 Thread Nícolas F . R . A . Prado
14-rc4, with the following errors: > > > > Which boards? > > These are the boards, > https://lava.pages.collabora.com/docs/boards/chromebooks/boards/hana/ > https://lava.pages.collabora.com/docs/boards/chromebooks/boards/jacuzzi/ You can use the Devicetree name to identify th

Re: [PATCH][next] drm/amd/pm: Avoid multiple -Wflex-array-member-not-at-end warnings

2025-03-11 Thread Gustavo A. R. Silva
Hi all, Friendly ping: who can take this, please? :) Thanks! -- Gustavo On 14/02/25 18:48, Gustavo A. R. Silva wrote: -Wflex-array-member-not-at-end was introduced in GCC-14, and we are getting ready to enable it, globally. So, in order to avoid ending up with a flexible-array member in the

[PATCH 2/2] drm/bridge: ti-sn65dsi83: add h/vsync-disable support

2025-03-06 Thread A. Zini
level or ground. Signed-off-by: Alessandro Zini --- drivers/gpu/drm/bridge/ti-sn65dsi83.c | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/bridge/ti-sn65dsi83.c b/drivers/gpu/drm/bridge/ti-sn65dsi83.c index 95563aa1b450d..c94ea92159402 100644

[PATCH 1/2] dt-bindings: drm/bridge: ti-sn65dsi83: add h/vsync-disable bindings

2025-03-06 Thread A. Zini
From: Alessandro Zini Add hsync- and vsync-disable bindings, used to disable the generation of h/vsync signals. Signed-off-by: Alessandro Zini --- .../bindings/display/bridge/ti,sn65dsi83.yaml| 12 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree

[PATCH 0/2] Introduce h/vsync-disable properties for ti-sn65dsi83

2025-03-06 Thread A. Zini
From: Alessandro Zini This patch series adds support for disabling the generation of h/vsync signals on the ti-sn65dsi83 bridge. This is required on some panels which are driven in DE-only mode but do not ignore sync packets, and instead require them to be low-voltage level or ground. A

Re: [PATCH v2 0/2] Add driver for Himax HX8279 DriverIC panels

2025-03-04 Thread Nícolas F . R . A . Prado
t by CJ > > This series adds a driver for DSI panels using the Himax HX8279 and > HX8279-D DriverICs, and introduces one panel using such a configuration, > the Startek KX070FHFID078. > > This panel is found on the latest hardware revisions of some MediaTek > Genio Evalu

Re: [PATCH][next] drm/nouveau: Avoid multiple -Wflex-array-member-not-at-end warnings

2025-02-27 Thread Gustavo A. R. Silva
> Applied to drm-misc-next, thanks! Awesome. :) Thank you, guys. -- Gustavo

Re: [PATCH v2 1/2] drm/msm/dp: Disable wide bus support for SDM845

2025-02-27 Thread James A. MacInnes
On Thu, 13 Feb 2025 01:58:06 +0200 Dmitry Baryshkov wrote: > On Thu, Feb 13, 2025 at 12:41:02AM +0100, Marijn Suijten wrote: > > On 2025-02-12 15:03:46, James A. MacInnes wrote: > > > SDM845 DPU hardware is rev 4.0.0 per hardware documents. > > > Original patch to en

[PATCH][next] drm/amd/pm: Avoid multiple -Wflex-array-member-not-at-end warnings

2025-02-14 Thread Gustavo A. R. Silva
-Wflex-array-member-not-at-end was introduced in GCC-14, and we are getting ready to enable it, globally. So, in order to avoid ending up with a flexible-array member in the middle of other structs, we use the `struct_group_tagged()` helper to create a new tagged `struct NISLANDS_SMC_SWSTATE_HDR

[PATCH v2 0/2] drm/msm/dp: Fix Type-C Timing

2025-02-12 Thread James A. MacInnes
: Added comments to explain use of wide_bus_en. Increased verbosity of commit message. Verified functionality on SDM845 using Lantronix SOM. Tested with Type-C to DisplayPort and Dell Monitor. Tested with Type-C hub with HDMI to Samsung 4k TV. James A. MacInnes (2): drm/msm/dp

[PATCH v2 2/2] drm/msm/disp: Correct porch timing for SDM845

2025-02-12 Thread James A. MacInnes
Type-C DisplayPort inoperable due to incorrect porch settings. - Re-used wide_bus_en as flag to prevent porch shifting Fixes: c943b4948b58 ("drm/msm/dp: add displayPort driver support") Signed-off-by: James A. MacInnes --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_

[PATCH v2 1/2] drm/msm/dp: Disable wide bus support for SDM845

2025-02-12 Thread James A. MacInnes
: c7c412202623 ("drm/msm/dp: enable widebus on all relevant chipsets") Signed-off-by: James A. MacInnes --- drivers/gpu/drm/msm/dp/dp_display.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/dp/dp_display.c b/drivers/gpu/drm/msm/dp/dp_displ

[PATCH][next] drm/nouveau: Avoid multiple -Wflex-array-member-not-at-end warnings

2025-02-12 Thread Gustavo A. R. Silva
/nouveau/nvif/object.c:60:38: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end] drivers/gpu/drm/nouveau/nvif/object.c:233:38: warning: structure containing a flexible array member is not at the end of another structure [-Wflex

Re: [PATCHv3 06/11] mm/vmscan: Use PG_dropbehind instead of PG_reclaim

2025-02-03 Thread Kirill A. Shutemov
On Sat, Feb 01, 2025 at 04:01:43PM +0800, Kairui Song wrote: > On Thu, Jan 30, 2025 at 6:02 PM Kirill A. Shutemov > wrote: > > > > The recently introduced PG_dropbehind allows for freeing folios > > immediately after writeback. Unlike PG_reclaim, it does not need vmscan &

Re: [PATCHv2 11/11] mm: Rename PG_dropbehind to PG_reclaim

2025-01-17 Thread Kirill A. Shutemov
On Wed, Jan 15, 2025 at 10:18:16PM -0800, Christoph Hellwig wrote: > On Wed, Jan 15, 2025 at 11:31:35AM +0200, Kirill A. Shutemov wrote: > > Now as PG_reclaim is gone, its name can be reclaimed for better > > use :) > > > > Rename PG_dropbehind to PG_reclaim and r

Re: [PATCHv2 05/11] mm/truncate: Use folio_set_dropbehind() instead of deactivate_file_folio()k

2025-01-17 Thread Kirill A. Shutemov
On Wed, Jan 15, 2025 at 02:46:44PM -0700, Yu Zhao wrote: > On Wed, Jan 15, 2025 at 2:35 PM Matthew Wilcox wrote: > > > > On Wed, Jan 15, 2025 at 11:31:29AM +0200, Kirill A. Shutemov wrote: > > > -static void lru_deactivate_file(struct lruvec *lruvec, st

Re: [PATCH 8/8] mm: Remove PG_reclaim

2025-01-14 Thread Kirill A. Shutemov
On Mon, Jan 13, 2025 at 03:28:43PM +, Matthew Wilcox wrote: > On Mon, Jan 13, 2025 at 11:34:53AM +0200, Kirill A. Shutemov wrote: > > diff --git a/mm/migrate.c b/mm/migrate.c > > index caadbe393aa2..beba72da5e33 100644 > > --- a/mm/migrate.c > > +++ b/mm/migrate.c &

Re: [PATCH 4/8] mm/swap: Use PG_dropbehind instead of PG_reclaim

2025-01-14 Thread Kirill A. Shutemov
On Mon, Jan 13, 2025 at 08:17:20AM -0800, Yosry Ahmed wrote: > On Mon, Jan 13, 2025 at 1:35 AM Kirill A. Shutemov > wrote: > > > > The recently introduced PG_dropbehind allows for freeing folios > > immediately after writeback. Unlike PG_reclaim, it does not need vmscan &

Re: [PATCH 0/8] mm: Remove PG_reclaim

2025-01-13 Thread Kirill A. Shutemov
On Mon, Jan 13, 2025 at 01:45:48PM +, Matthew Wilcox wrote: > On Mon, Jan 13, 2025 at 11:34:45AM +0200, Kirill A. Shutemov wrote: > > Use PG_dropbehind instead of PG_reclaim and remove PG_reclaim. > > I was hoping we'd end up with the name PG_reclaim instead of the

[PATCH v5 2/2] leds: lp8864: New driver

2024-12-18 Thread A. Sverdlin
ed, 316 insertions(+) create mode 100644 drivers/leds/leds-lp8864.c diff --git a/MAINTAINERS b/MAINTAINERS index b332995b3350..d4268a3bbc5a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -23322,6 +23322,13 @@ S: Supported F: Documentation/devicetree/bindings/iio/dac/ti,dac7612.yaml F:

[PATCH v5 1/2] dt-bindings: backlight: add TI LP8864/LP8866 LED-backlight drivers

2024-12-18 Thread A. Sverdlin
From: Alexander Sverdlin Add bindings for Texas Instruments' LP8864/LP8866 LED-backlight drivers. Note that multiple channels in these models are used for load-balancing and brightness is controlled gobally, so from a user perspective it's only one LED. Reviewed-by: Rob Herring (Ar

[PATCH v5 0/2] leds: TI LP8864/LP8866 support

2024-12-18 Thread A. Sverdlin
From: Alexander Sverdlin The series adds support for a family of Texas Instruments' automotive high-efficiency LED drivers with boost controller. The four or six high-precision current sinks support phase shifting that is automatically adjusted based on the number of channels in use

[PATCH v4 2/2] leds: lp8864: New driver

2024-12-17 Thread A. Sverdlin
vers/leds/leds-lp8864.c diff --git a/MAINTAINERS b/MAINTAINERS index b332995b3350..d4268a3bbc5a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -23322,6 +23322,13 @@ S: Supported F: Documentation/devicetree/bindings/iio/dac/ti,dac7612.yaml F: drivers/iio/dac/ti-dac7612.c +TEXAS INST

[PATCH v4 1/2] dt-bindings: backlight: add TI LP8864/LP8866 LED-backlight drivers

2024-12-17 Thread A. Sverdlin
From: Alexander Sverdlin Add bindings for Texas Instruments' LP8864/LP8866 LED-backlight drivers. Note that multiple channels in these models are used for load-balancing and brightness is controlled gobally, so from a user perspective it's only one LED. Reviewed-by: Rob Herring (Ar

[PATCH v4 0/2] leds: TI LP8864/LP8866 support

2024-12-17 Thread A. Sverdlin
From: Alexander Sverdlin The series adds support for a family of Texas Instruments' automotive high-efficiency LED drivers with boost controller. The four or six high-precision current sinks support phase shifting that is automatically adjusted based on the number of channels in use

[PATCH v3 1/2] dt-bindings: backlight: add TI LP8864/LP8866 LED-backlight drivers

2024-12-09 Thread A. Sverdlin
From: Alexander Sverdlin Add bindings for Texas Instruments' LP8864/LP8866 LED-backlight drivers. Note that multiple channels in these models are used for load-balancing and brightness is controlled gobally, so from a user perspective it's only one LED. Signed-off-by: Alexande

[PATCH v3 0/2] leds: TI LP8864/LP8866 support

2024-12-09 Thread A. Sverdlin
From: Alexander Sverdlin The series adds support for a family of Texas Instruments' automotive high-efficiency LED drivers with boost controller. The four or six high-precision current sinks support phase shifting that is automatically adjusted based on the number of channels in use

[PATCH v3 2/2] leds: lp8864: New driver

2024-12-09 Thread A. Sverdlin
+ drivers/leds/Kconfig | 12 ++ drivers/leds/Makefile | 1 + drivers/leds/leds-lp8864.c | 308 + 4 files changed, 328 insertions(+) create mode 100644 drivers/leds/leds-lp8864.c diff --git a/MAINTAINERS b/MAINTAINERS index 21f855fe468bc..a89f0b9d991fb

[PATCH v2 1/2] dt-bindings: backlight: add TI LP8864/LP8866 LED-backlight drivers

2024-12-06 Thread A. Sverdlin
From: Alexander Sverdlin Add bindings for Texas Instruments' LP8864/LP8866 LED-backlight drivers. Note that multiple channels in these models are used for load-balancing and brightness is controlled gobally, so from a user perspective it's only one LED. Signed-off-by: Alexande

[PATCH v2 2/2] leds: lp8864: New driver

2024-12-06 Thread A. Sverdlin
.c diff --git a/MAINTAINERS b/MAINTAINERS index 21f855fe468bc..a89f0b9d991fb 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -23262,6 +23262,13 @@ S: Supported F: Documentation/devicetree/bindings/iio/dac/ti,dac7612.yaml F: drivers/iio/dac/ti-dac7612.c +TEXAS INSTRUMENTS' LB886

[PATCH v2 0/2] leds: TI LP8864/LP8866 support

2024-12-06 Thread A. Sverdlin
From: Alexander Sverdlin The series adds support for a family of Texas Instruments' automotive high-efficiency LED drivers with boost controller. The four or six high-precision current sinks support phase shifting that is automatically adjusted based on the number of channels in use

[PATCH 2/2] leds: lp8864: New driver

2024-12-06 Thread A. Sverdlin
--- MAINTAINERS| 7 + drivers/leds/Kconfig | 12 ++ drivers/leds/Makefile | 1 + drivers/leds/leds-lp8864.c | 320 + 4 files changed, 340 insertions(+) create mode 100644 drivers/leds/leds-lp8864.c diff --git a/MAINTAINERS b/MAINTAINERS

[PATCH 0/2] leds: TI LP8864/LP8866 support

2024-12-06 Thread A. Sverdlin
From: Alexander Sverdlin Add new DT compatible ti,lp8864 to support all four software-compatible devices: - LP8864 - LP8864S - LP8866 - LP8866S This is a new family with a functionality similar to LP8860 -- hence the same (re-used) DT bindings. They had to be converted to YAML along the way

[PATCH 1/2] dt-bindings: backlight: Convert LP8860 into YAML format adding LP886x

2024-12-06 Thread A. Sverdlin
les changed, 86 insertions(+), 50 deletions(-) create mode 100644 Documentation/devicetree/bindings/leds/backlight/ti,lp8860.yaml delete mode 100644 Documentation/devicetree/bindings/leds/leds-lp8860.txt diff --git a/Documentation/devicetree/bindings/leds/backlight/ti,lp8860.yaml b/Documenta

Re: [PATCH] drm: display: Set fwnode for aux bus devices

2024-10-23 Thread Nícolas F . R . A . Prado
On Wed, Oct 23, 2024 at 12:13:36PM -0700, Saravana Kannan wrote: > fwnode needs to be set for a device for fw_devlink to be able to > track/enforce its dependencies correctly. Without this, you'll see error > messages like this when the supplier has probed and tries to make sure &g

Re: [PATCH 2/2] drm/vc4: Stop the active perfmon before being destroyed

2024-10-04 Thread Juan A.
Worth to mention we got this issue happened also for v3d (a fix was already submitted). Reviewed-by: Juan A. Suarez On Fri, 2024-10-04 at 09:36 -0300, Maíra Canal wrote: > Upon closing the file descriptor, the active performance monitor is > not > stopped. Although all perfmons are

Re: [PATCH 1/2] drm/vc4: Use `vc4_perfmon_find()`

2024-10-04 Thread Juan A.
Reviewed-by: Juan A. Suarez On Fri, 2024-10-04 at 09:35 -0300, Maíra Canal wrote: > Similar to commit f2a4bcb25328 ("drm/v3d: Use v3d_perfmon_find()"), > replace the open-coded `vc4_perfmon_find()` with the real thing. > > Cc: Christian Gmeiner > Signed-off-by: Maír

Re: [PATCH] drm/v3d: Stop the active perfmon before being destroyed

2024-10-04 Thread Juan A.
Good catch! Reviewed-by: Juan A. Suarez

Re: [PATCH][next] drm/nouveau: Avoid -Wflex-array-member-not-at-end warning

2024-10-03 Thread Gustavo A. R. Silva
Yes, it's not great, but I think it's better than having the length in two places. Agreed. I'll respin. :) Thanks -- Gustavo

Re: [PATCH][next] drm/nouveau: Avoid -Wflex-array-member-not-at-end warning

2024-10-03 Thread Gustavo A. R. Silva
On 03/10/24 12:36, Danilo Krummrich wrote: On 9/13/24 12:23 PM, Danilo Krummrich wrote: Hi, On 9/13/24 10:09 AM, Gustavo A. R. Silva wrote: Hi all, Friendly ping: who can take this, please? 🙂 Usually, that's me. But I thought you might want to send a v2 based on Kees' comm

Re: [PATCH v3 00/19] random: Resolve circular include dependency and include

2024-09-30 Thread Jason A. Donenfeld
Hi Uros, Per your plan, I took this into random.git, and we'll now see if being in next unearths some problems over the next week or two. Jason

Re: [PATCH][next] drm/nouveau: Avoid -Wflex-array-member-not-at-end warning

2024-09-13 Thread Gustavo A. R. Silva
Hi all, Friendly ping: who can take this, please? 🙂 Thanks -Gustavo On 21/08/24 22:16, Gustavo A. R. Silva wrote: Use the `DEFINE_RAW_FLEX()` helper for an on-stack definition of a flexible structure where the size of the flexible-array member is known at compile-time, and refactor the rest

Re: [PATCH RESEND v2 00/19] random: Resolve circular include dependency and include

2024-09-09 Thread Jason A. Donenfeld
x; } // error > > void *bar(void __as(1) *x) { return (void *)x; } // fine > --cut here-- > > When compiling this, the compiler returns: > > clang-as.c:3:37: error: returning '__as(1) void *' from a function > with result type 'void *' changes addre

Re: [PATCH RESEND v2 00/19] random: Resolve circular include dependency and include

2024-09-09 Thread Jason A. Donenfeld
Hi Uros, On Mon, Sep 09, 2024 at 09:53:43AM +0200, Uros Bizjak wrote: > a) Substitutes the inclusion of with the > inclusion of where needed (patches 1 - 17). > > b) Removes legacy inclusion of from > (patch 18). > > c) Includes in (patch 19). Thanks for doing th

Re: [PATCH v3 5/5] soc: mediatek: cmdq: Remove cmdq_pkt_finalize() helper function

2024-08-30 Thread Nícolas F . R . A . Prado
mdq_pkt_finalize() have been switched to cmdq_pkt_eoc() and cmdq_pkt_jump_rel() for more fine-grained control, remove cmdq_pkt_finalize(). > > Signed-off-by: Chun-Kuang Hu Reviewed-by: Nícolas F. R. A. Prado Thanks, Nícolas

Re: [PATCH v3 4/5] media: platform: mtk-mdp3: Use cmdq_pkt_create() and cmdq_pkt_destroy()

2024-08-30 Thread Nícolas F . R . A . Prado
> 1 file changed, 4 insertions(+), 41 deletions(-) > > diff --git a/drivers/media/platform/mediatek/mdp3/mtk-mdp3-cmdq.c > b/drivers/media/platform/mediatek/mdp3/mtk-mdp3-cmdq.c > index 0cddafedbecc..48432d60b49a 100644 > --- a/drivers/media/platform/mediatek/mdp3/mtk-mdp3-c

Re: [PATCH v4 3/3] arm64: dts: mediatek: mt8186: Add svs node

2024-08-30 Thread Nícolas F . R . A . Prado
On Fri, Aug 30, 2024 at 08:45:44AM +, Rohit Agarwal wrote: > Add clock/irq/efuse setting in svs nodes for mt8186 SoC. > > Signed-off-by: Rohit Agarwal Reviewed-by: Nícolas F. R. A. Prado Although FWIW the SVS driver fails to probe as is, as for MT8186 it expects "cpu-big

Re: [PATCH][next] drm/nouveau: Avoid -Wflex-array-member-not-at-end warning

2024-08-27 Thread Gustavo A. R. Silva
On 22/08/24 11:27, Kees Cook wrote: On Wed, Aug 21, 2024 at 02:16:21PM -0600, Gustavo A. R. Silva wrote: Use the `DEFINE_RAW_FLEX()` helper for an on-stack definition of a flexible structure where the size of the flexible-array member is known at compile-time, and refactor the rest of the

Re: [PATCH v3 3/3] arm64: dts: mediatek: mt8186: Add svs node

2024-08-22 Thread Nícolas F . R . A . Prado
On Thu, Aug 22, 2024 at 06:46:50AM +, Rohit Agarwal wrote: > Add clock/irq/efuse setting in svs nodes for mt8186 SoC. > > Signed-off-by: Rohit Agarwal > --- > arch/arm64/boot/dts/mediatek/mt8186.dtsi | 20 > 1 file changed, 20 insertions(+) > >

[PATCH][next] drm/nouveau: Avoid -Wflex-array-member-not-at-end warning

2024-08-21 Thread Gustavo A. R. Silva
Use the `DEFINE_RAW_FLEX()` helper for an on-stack definition of a flexible structure where the size of the flexible-array member is known at compile-time, and refactor the rest of the code, accordingly. So, with this, fix the following warning: drivers/gpu/drm/nouveau/dispnv50/disp.c:779:47

[PATCH v2] drm/mediatek: Log errors in probe with dev_err_probe()

2024-06-06 Thread Nícolas F . R . A . Prado
Use dev_err_probe() to log errors in the probe function of all drm mediatek drivers. This avoids -EPROBE_DEFER return values from being logged as errors, like the following: mediatek-disp-rdma 1c002000.rdma: Failed to add component: -517 As a side benefit it also standardizes the format of the

Re: [PATCH v4 0/3] drm/mediatek: Add support for OF graphs

2024-06-06 Thread Nícolas F . R . A . Prado
On Thu, May 16, 2024 at 10:11:01AM +0200, AngeloGioacchino Del Regno wrote: > Changes in v4: > - Fixed a typo that caused pure OF graphs pipelines multiple >concurrent outputs to not get correctly parsed (port->id); > - Added OVL_ADAPTOR support for OF graph specified pipe

[PATCH] drm/mediatek: Don't print error if EDEFER_PROBE returned on component_add

2024-06-05 Thread Nícolas F . R . A . Prado
update them all. Signed-off-by: Nícolas F. R. A. Prado --- drivers/gpu/drm/mediatek/mtk_disp_aal.c | 2 +- drivers/gpu/drm/mediatek/mtk_disp_ccorr.c | 2 +- drivers/gpu/drm/mediatek/mtk_disp_color.c | 2 +- drivers/gpu/drm/mediatek/mtk_disp_gamma.c | 2 +- drivers/gpu/drm

[PATCH] staging:fbtft:fb_ili9320 Removed redundant Parentheses

2024-04-19 Thread A
ses around 'devcode != 0x' + if ((devcode != 0x) && (devcode != 0x9320)) Signed-off-by: Ashok Kumar --- drivers/staging/fbtft/fb_ili9320.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/fbtft/fb_ili9320.c b/drivers/staging/fbt

  1   2   3   4   5   6   7   8   9   10   >