Re: [PATCH v2] drm/amd/display:fix a Null pointer dereference vulnerability

2025-07-15 Thread Mario Limonciello
On 7/15/2025 5:44 AM, Krzysztof Kozlowski wrote: On 04/07/2025 05:16, jackysliu wrote: From: jackysliu A null pointer dereference vulnerability exists in the AMD display driver's (DC module) cleanup function dc_destruct(). When display control context (dc->ctx) construction fails (due to

Re: [PATCH V10 33/46] drm: Add Enhanced LUT precision structure

2025-07-15 Thread Alex Hung
On 7/15/25 01:44, Shankar, Uma wrote: -Original Message- From: Borah, Chaitanya Kumar Sent: Tuesday, July 15, 2025 10:08 AM To: Alex Hung ; Simon Ser ; Shankar, Uma Cc: dri-devel@lists.freedesktop.org; amd-...@lists.freedesktop.org; wayland- de...@lists.freedesktop.org; harry.went

Re: [PATCH] drm/msm/dpu: Initialize crtc_state to NULL in dpu_plane_virtual_atomic_check()

2025-07-15 Thread Jessica Zhang
(plane_state); - struct drm_crtc_state *crtc_state; + struct drm_crtc_state *crtc_state = NULL; int ret; if (IS_ERR(plane_state)) --- base-commit: d3deabe4c619875714b9a844b1a3d9752dbae1dd change-id: 20250715-drm-msm-fix-const-uninit-warning-2b93cef9f1c6 Best regards, -- Nathan Chancellor

Re: [PATCH] drm/msm/dpu: correct dpu_plane_virtual_atomic_check()

2025-07-15 Thread Jessica Zhang
_plane_state->crtc_w != plane_state->crtc_w || old_plane_state->crtc_h != plane_state->crtc_h || msm_framebuffer_format(old_plane_state->fb) != msm_framebuffer_format(plane_state->fb)) --- base-commit: 8290d37ad2b087bbcfe65fa5bcaf260e1

Re: [PATCH v2 02/15] drm/panel: panel-samsung-s6e63m0: Include

2025-07-15 Thread Sebastian Reichel
Hi, On Tue, Jul 15, 2025 at 02:24:39PM +0200, Thomas Zimmermann wrote: > Include to declare device_property_read_u32(). Avoids > dependency on backlight header to include it. device_property_*() is from , which is already included in the following line... Greetings, -- Sebastian > > Signed-o

[bug report] drm/msm: bail out late_init_minor() if it is not a GPU device

2025-07-15 Thread Dan Carpenter
Hello Dmitry Baryshkov, This is a semi-automatic email about new static checker warnings. Commit 4f89cf40d01e ("drm/msm: bail out late_init_minor() if it is not a GPU device") from Jul 5, 2025, leads to the following Smatch complaint: drivers/gpu/drm/msm/msm_debugfs.c:332 late_init_minor()

[PATCH next] drm/amdgpu: unlock on error in amdgpu_userq_create()

2025-07-15 Thread Dan Carpenter
We need to drop a couple locks before returning if the kasprintf() fails. Fixes: c03ea34cbf88 ("drm/amdgpu: add support of debugfs for mqd information") Signed-off-by: Dan Carpenter --- drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --

[PATCH next] drm/bridge: analogix_dp: Fix a NULL vs IS_ERR() bug

2025-07-15 Thread Dan Carpenter
The devm_drm_bridge_alloc() function returns error pointers on error. It never returns NULL. Fixes: 48f05c3b4b70 ("drm/bridge: analogix_dp: Use devm_drm_bridge_alloc() API") Signed-off-by: Dan Carpenter --- drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 4 ++-- 1 file changed, 2 insertion

[PATCH next] drm/xe: Fix a NULL vs IS_ERR() bug in xe_i2c_register_adapter()

2025-07-15 Thread Dan Carpenter
The fwnode_create_software_node() function returns error pointers. It never returns NULL. Update the checks to match. Fixes: f0e53aadd702 ("drm/xe: Support for I2C attached MCUs") Signed-off-by: Dan Carpenter --- drivers/gpu/drm/xe/xe_i2c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletion

[bug report] drm/xe/uc: Disable GuC communication on hardware initialization error

2025-07-15 Thread Dan Carpenter
Hello Zhanjun Dong, Commit b2c4ac219fa4 ("drm/xe/uc: Disable GuC communication on hardware initialization error") from Jul 7, 2025 (linux-next), leads to the following Smatch static checker warning: drivers/gpu/drm/xe/xe_uc.c:167 vf_uc_load_hw() warn: missing unwind goto? drivers

Re: [bug report] drm/xe/uc: Disable GuC communication on hardware initialization error

2025-07-15 Thread Dong, Zhanjun
On 2025-07-15 6:59 p.m., Dan Carpenter wrote: Hello Zhanjun Dong, Commit b2c4ac219fa4 ("drm/xe/uc: Disable GuC communication on hardware initialization error") from Jul 7, 2025 (linux-next), leads to the following Smatch static checker warning: drivers/gpu/drm/xe/xe_uc.c:167 vf_uc_lo

Re: [PATCH RESEND] drm: Fix potential null pointer dereference issues in drm_managed.c

2025-07-15 Thread kernel test robot
Hello, kernel test robot noticed "kunit.drm_test_framebuffer_create.ABGR_pitch_less_than_min_required.fail" on: commit: e33530ce8ac50d5155aa7a83f6dcd8b8372279d0 ("[PATCH RESEND] drm: Fix potential null pointer dereference issues in drm_managed.c") url: https://github.com/intel-lab-lkp/

Re: [PATCH 3/5] phy: rockchip: phy-rockchip-typec: Add support for Type-C TCPM

2025-07-15 Thread Chaoyi Chen
Hi Dmitry, On 2025/7/15 20:05, Dmitry Baryshkov wrote: On Tue, Jul 15, 2025 at 07:24:54PM +0800, Chaoyi Chen wrote: From: Chaoyi Chen This patch add support for Type-C Port Controller Manager. The extcon device should still be supported. Signed-off-by: Chaoyi Chen --- drivers/phy/rockchip

Re: [PATCH v5 0/5] fs: refactor write_begin/write_end and add ext4 IOCB_DONTCACHE support

2025-07-15 Thread Taotao Chen
在 2025/7/14 17:11, Christian Brauner 写道: On Thu, 10 Jul 2025 10:14:06 +, 陈涛涛 Taotao Chen wrote: From: Taotao Chen This patch series refactors the address_space_operations write_begin() and write_end() callbacks to take const struct kiocb * as their first argument, allowing IOCB flags suc

Re: [PATCH v2 05/13] media: platform: mediatek: add isp_7x seninf unit

2025-07-15 Thread 胡俊光

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

2025-07-15 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-misc tree got a conflict in: drivers/gpu/drm/etnaviv/etnaviv_sched.c between commit: 61ee19dedb8d ("drm/etnaviv: Protect the scheduler's pending list with its lock") from the origin tree and commits: 0a5dc1b67ef5 ("drm/sched: Rename DRM_GPU_S

Re: [PATCH 3/5] phy: rockchip: phy-rockchip-typec: Add support for Type-C TCPM

2025-07-15 Thread kernel test robot
-connector-for-hotplug-notify/20250715-192802 base: next-20250714 patch link: https://lore.kernel.org/r/20250715112456.101-4-kernel%40airkyi.com patch subject: [PATCH 3/5] phy: rockchip: phy-rockchip-typec: Add support for Type-C TCPM config: arm-randconfig-004-20250716 (https://download.01.o

Re: [PATCH v2 15/15] backlight: Do not include in header file

2025-07-15 Thread Thomas Zimmermann
Hi Am 15.07.25 um 15:22 schrieb Simona Vetter: On Tue, Jul 15, 2025 at 02:24:52PM +0200, Thomas Zimmermann wrote: The backlight interfaces don't require anything from , so don't include it. Signed-off-by: Thomas Zimmermann I like this very much. Reviewed-by: Simona Vetter Thanks for revi

Re: [PATCH v2 1/3] drm/panel: jdi-lpm102a188a: Update deprecated MIPI function calls

2025-07-15 Thread Brigham Campbell
On Mon Jul 14, 2025 at 3:46 PM MDT, Doug Anderson wrote: > Hi, > > On Tue, Jul 8, 2025 at 12:39 AM Brigham Campbell > wrote: >> >> Update jdi-lpm102a188a panel driver to use the "multi" variant of MIPI >> functions in order to facilitate improved error handling and remove the >> panel's dependenc

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

2025-07-15 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm tree got a conflict in: drivers/gpu/drm/display/drm_dp_helper.c between commit: d34d6feaf4a7 ("drm/dp: Change AUX DPCD probe address from LANE0_1_STATUS to TRAINING_PATTERN_SET") from the drm-intel-fixes tree and commit: b87ed522b364 ("drm/dp

Re: [PATCH v5 9/9] drm/xe/xe_hw_error: Add fault injection to trigger csc error handler

2025-07-15 Thread Riana Tauro
On 7/15/2025 10:28 PM, Summers, Stuart wrote: On Tue, 2025-07-15 at 22:09 +0530, Riana Tauro wrote: Hi Stuart On 7/15/2025 7:40 PM, Summers, Stuart wrote: On Tue, 2025-07-15 at 16:17 +0530, Riana Tauro wrote: Add a debugfs fault handler to trigger csc error handler that wedges the device a

Re: [PATCH v2 02/15] drm/panel: panel-samsung-s6e63m0: Include

2025-07-15 Thread Thomas Zimmermann
Hi Am 16.07.25 um 01:43 schrieb Sebastian Reichel: Hi, On Tue, Jul 15, 2025 at 02:24:39PM +0200, Thomas Zimmermann wrote: Include to declare device_property_read_u32(). Avoids dependency on backlight header to include it. device_property_*() is from , which is already included in the followi

Re: [PATCH v2 13/15] backlight: rave-sp: Include and

2025-07-15 Thread Thomas Zimmermann
Hi Am 15.07.25 um 15:34 schrieb Rob Herring: On Tue, Jul 15, 2025 at 7:30 AM Thomas Zimmermann wrote: Include to declare struct device_node and include to declare struct of_device_id. Avoids dependency on backlight header to include it. struct device_node should be opaque... /*

[PATCH 2/3] dt-bindings: ilitek-ili9881c: Add Tianxinwei TWX700100S0 support

2025-07-15 Thread Richard Yao
Document the compatible value for Tianxinwei TWX700100S0 panel. Signed-off-by: Richard Yao --- .../devicetree/bindings/display/panel/ilitek,ili9881c.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/panel/ilitek,ili9881c.yaml b/Documentati

[PATCH v1] Support Intel Xe GPU dirver Porting on RISC-V Architecture

2025-07-15 Thread zhangzhijie
inb/outb speccial wire not support on other ARCH. Should detect whether arch platform support or not. Signed-off-by: zhangzhijie --- drivers/gpu/drm/i915/display/intel_vga.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/i915/display/intel_vga.c b/drivers/gpu/drm/i9

[PATCH v3 3/3] drm/panel: ilitek-ili9881c: Add Tianxianwei TWX700100S0 support

2025-07-15 Thread Richard Yao
Add support for the Tianxianwei TWX700100S0 panel. The init table was provided by Tianxianwei. Their comments have been preserved. Signed-off-by: Richard Yao --- drivers/gpu/drm/panel/panel-ilitek-ili9881c.c | 242 ++ 1 file changed, 242 insertions(+) diff --git a/drivers/gpu/d

[PATCH] treewide: Fix typo "notifer"

2025-07-15 Thread WangYuli
There are some spelling mistakes of 'notifer' in comments which should be 'notifier'. Fix them and add it to scripts/spelling.txt. Signed-off-by: WangYuli --- arch/x86/kvm/i8254.c| 4 ++-- drivers/cxl/core/mce.h | 2 +-

[PATCH 1/3] dt-bindings: vendor-prefixes: Add Tianxinwei name

2025-07-15 Thread Richard Yao
Tianxinwei is a company based in Shenzen, China, making LCD screens. Add their name to the list of vendors. Signed-off-by: Richard Yao --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefix

[PATCH v3 2/3] dt-bindings: ilitek-ili9881c: Add Tianxianwei TWX700100S0 support

2025-07-15 Thread Richard Yao
Document the compatible value for Tianxianwei TWX700100S0 panel. Signed-off-by: Richard Yao --- .../devicetree/bindings/display/panel/ilitek,ili9881c.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/panel/ilitek,ili9881c.yaml b/Documentat

Re: [PATCH v2 0/3] drm/panel: ilitek-ili9881c: Add Tianxianwei TWX700100S0

2025-07-15 Thread Richard Yao
On Mon, Jul 14, 2025 at 6:06 PM Richard Yao wrote: > From: Richard Yao > I goofed when using git send-email for v2 and did not change the sender email to my @scandent.com. My apologies for any confusion that they might have caused. > > Hello, > > This series adds support for the Tianxianwei TWX

Re: [PATCH RFC net-next 0/5] net: ethernet: ti: am65-cpsw: add AF_XDP zero copy support

2025-07-15 Thread Malladi, Meghana
Hi Roger, On 5/20/2025 3:53 PM, Roger Quadros wrote: This series adds AF_XDP zero coppy support to am65-cpsw driver. Tests were performed on AM62x-sk with xdpsock application [1]. A clear improvement is seen in 64 byte packets on Transmit (txonly) and receive (rxdrop). 1500 byte test seems to

[PATCH] gpu: nova-core: vbios: split out PmuLookupTableHeader from PmuLookupTable

2025-07-15 Thread Rhys Lloyd
Separating the header allows the use of `size_of::()` instead of the magic number 4. Signed-off-by: Rhys Lloyd --- drivers/gpu/nova-core/vbios.rs | 56 +- 1 file changed, 35 insertions(+), 21 deletions(-) diff --git a/drivers/gpu/nova-core/vbios.rs b/drivers/gpu/

[PATCH v2 3/3] drm/panel: ilitek-ili9881c: Add Tianxianwei TWX700100S0 support

2025-07-15 Thread Richard Yao
Add support for the Tianxianwei TWX700100S0 panel. The init table was provided by Tianxianwei. Their comments have been preserved. Signed-off-by: Richard Yao fixme Signed-off-by: Richard Yao --- drivers/gpu/drm/panel/panel-ilitek-ili9881c.c | 242 ++ 1 file changed, 242 inser

[PATCH 2/9] dt-bindings: display: panel: samsung, atna30dw01: document ATNA30DW01

2025-07-15 Thread Dale Whinham
The Samsung ATNA30DW01 panel is a 13" AMOLED eDP panel. It is similar to the ATNA33XC20 except that it is smaller and has a higher resolution. Tested-by: Jérôme de Bretagne Signed-off-by: Dale Whinham --- .../devicetree/bindings/display/panel/samsung,atna33xc20.yaml | 2 ++ 1 file changed, 2

[PATCH v2 2/3] dt-bindings: ilitek-ili9881c: Add Tianxianwei TWX700100S0 support

2025-07-15 Thread Richard Yao
Document the compatible value for Tianxianwei TWX700100S0 panel. Signed-off-by: Richard Yao --- .../devicetree/bindings/display/panel/ilitek,ili9881c.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/panel/ilitek,ili9881c.yaml b/Documentat

[PATCH v3 0/3] drm/panel: ilitek-ili9881c: Add Tianxianwei TWX700100S0

2025-07-15 Thread Richard Yao
Hello, This series adds support for the Tianxianwei TWX700100S0 panel. The first patch adds the Tianxianwei vendor to the vendor prefixes yaml file. The second patch documents the DT binding. The third patch makes fairly standard changes to the ili9881c driver. Runtime testing and validation was

[PATCH 0/3] drm/panel: ilitek-ili9881c: Add Tianxinwei TWX700100S0

2025-07-15 Thread Richard Yao
Hello, This series adds support for the Tianxinwei TWX700100S0 panel. The first patch adds the Tianxinwei vendor to the vendor prefixes yaml file. The second patch documents the DT binding. The third patch makes fairly standard changes to the ili9881c driver. Runtime testing and validation was d

[PATCH 0/9] Microsoft Surface Pro 11 support

2025-07-15 Thread Dale Whinham
This series brings support for the X1E80100/X1P64100-based Microsoft Surface Pro 11. Patches 7 to 9 are included as RFC as we are unsure of how best to achieve the required functionality, however the implementation is functional. Dale Whinham (6): dt-bindings: display: panel: samsung,atna30dw01

[PATCH v2 1/3] dt-bindings: vendor-prefixes: Add Tianxianwei name

2025-07-15 Thread Richard Yao
Tianxianwei is a company based in Shenzhen, China, making LCD screens. Add their name to the list of vendors. Signed-off-by: Richard Yao --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-pref

[PATCH v2] gpu: nova-core: vbios: change PmuLookupTableEntry to relax alignment

2025-07-15 Thread Rhys Lloyd
Instead of the data field containing a u32 and changing the alignment, change data to [u8; 4] and convert to u32 with a helper function. Removes another magic number by making the struct the same size as the data it needs to read, allowing the use of `size_of::()` Signed-off-by: Rhys Lloyd --- Ch

[PATCH] gpu: nova-core: vbios: use size_of instead of magic number

2025-07-15 Thread Rhys Lloyd
12 is identical to the value of `size_of::()`, so use the latter instead. Signed-off-by: Rhys Lloyd --- drivers/gpu/nova-core/vbios.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/nova-core/vbios.rs b/drivers/gpu/nova-core/vbios.rs index 663fc50e8b66..ac35415b4

Re: [PATCH v2 02/13] dt-bindings: media: mediatek: add seninf-core binding

2025-07-15 Thread 胡俊光

Re: [EXTERNAL] Re: [PATCH RFC net-next 0/5] net: ethernet: ti: am65-cpsw: add AF_XDP zero copy support

2025-07-15 Thread Malladi, Meghana
Hi Jakub, Sorry for the duplicate mail. On 7/14/2025 8:36 PM, Jakub Kicinski wrote: On Mon, 14 Jul 2025 14: 50: 05 +0530 Malladi, Meghana wrote: > > AF_XDP performance using 64 byte packets in Kpps. > > Benchmark: XDP-SKB XDP- Native XDP-Native(ZeroCopy) > > rxdrop 317 504 824 > > txonly 400 4

[PATCH] gpu: nova-core: vbios: change PmuLookupTableEntry to relax alignment

2025-07-15 Thread Rhys Lloyd
Instead of the data field containing a u32 and changing the alignment, change data to [u8; 4] and convert to u32 with a helper function. Removes another magic number by making the struct the same size as the data it needs to read, allowing the use of `size_of::()` Signed-off-by: Rhys Lloyd --- d

[PATCH v2 0/3] drm/panel: ilitek-ili9881c: Add Tianxianwei TWX700100S0

2025-07-15 Thread Richard Yao
From: Richard Yao Hello, This series adds support for the Tianxianwei TWX700100S0 panel. The first patch adds the Tianxianwei vendor to the vendor prefixes yaml file. The second patch documents the DT binding. The third patch makes fairly standard changes to the ili9881c driver. Runtime testin

[PATCH 3/3] drm/panel: ilitek-ili9881c: Add Tianxinwei TWX700100S0 support

2025-07-15 Thread Richard Yao
Add support for the Tianxinwei TWX700100S0 panel. The init table was provided by Tianxinwei. Their comments have been preserved. Signed-off-by: Richard Yao --- drivers/gpu/drm/panel/panel-ilitek-ili9881c.c | 242 ++ 1 file changed, 242 insertions(+) diff --git a/drivers/gpu/drm

[PATCH v3 1/3] dt-bindings: vendor-prefixes: Add Tianxianwei name

2025-07-15 Thread Richard Yao
Tianxianwei is a company based in Shenzhen, China, making LCD screens. Add their name to the list of vendors. Signed-off-by: Richard Yao --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-pref

Re: [PATCH 13/18] ttm/pool: enable memcg tracking and shrinker. (v2)

2025-07-15 Thread Christian König
On 14.07.25 07:18, Dave Airlie wrote: > From: Dave Airlie > > This enables all the backend code to use the list lru in memcg mode, > and set the shrinker to be memcg aware. > > It adds the loop case for when pooled pages end up being reparented > to a higher memcg group, that newer memcg can

Re: [PATCH v2 0/2] Add Opaque::cast_from

2025-07-15 Thread Andreas Hindborg
"Alice Ryhl" writes: > Since commit b20fbbc08a36 ("rust: check type of `$ptr` in > `container_of!`") we have enforced that the field pointer passed to > container_of! must match the declared field. This caused mismatches when > using a pointer to bindings::x for fields of type Opaque. > > This si

Re: [PATCH 0/9] drm: Revert general use of struct drm_gem_object.dma_buf

2025-07-15 Thread Thomas Zimmermann
Hi Am 14.07.25 um 14:39 schrieb Simona Vetter: On Fri, Jul 11, 2025 at 11:35:15AM +0200, Thomas Zimmermann wrote: Revert the use of drm_gem_object.dma_buf back to .import_attach->dmabuf in the affected places. Also revert any fixes on top. Separates references to imported and exported DMA bufs

Re: [PATCH v2 04/13] dt-bindings: media: mediatek: add cam-yuv binding

2025-07-15 Thread 胡俊光

RE: [PATCH V10 33/46] drm: Add Enhanced LUT precision structure

2025-07-15 Thread Shankar, Uma
> -Original Message- > From: Borah, Chaitanya Kumar > Sent: Tuesday, July 15, 2025 10:08 AM > To: Alex Hung ; Simon Ser ; > Shankar, Uma > Cc: dri-devel@lists.freedesktop.org; amd-...@lists.freedesktop.org; wayland- > de...@lists.freedesktop.org; harry.wentl...@amd.com; leo@amd.com;

[PATCH 0/2] drm/radeon: Do not acquire console lock during suspend/resume

2025-07-15 Thread Thomas Zimmermann
Radeon is the only driver acquiring the console lock on suspend and resume by itself. This creates cyclic locking dependencies with the client-list mutex. Drop the console locking from radeon and let fbdev client handle the console locking as necessary. Adopts the behavior of all other DRM drivers

[PATCH 1/2] drm/radeon: Do not hold console lock while suspending clients

2025-07-15 Thread Thomas Zimmermann
The radeon driver holds the console lock while suspending in-kernel DRM clients. This creates a circular dependency with the client-list mutex, which is supposed to be acquired first. Reported when combining radeon with another DRM driver. Therefore, do not take the console lock in radeon, but let

[PATCH 2/2] drm/radeon: Do not hold console lock during resume

2025-07-15 Thread Thomas Zimmermann
The function radeon_resume_kms() acquires the console lock. It is inconsistent, as it depends on the notify_client argument. That lock then covers a number of suspend operations that are unrelated to the console. Remove the calls to console_lock() and console_unlock() from the radeon function. The

[PATCH v3] drm/sched: Wake up scheduler when killing jobs to prevent hang

2025-07-15 Thread Lin . Cao
When application A submits jobs (a1, a2, a3) and application B submits job b1 with a dependency on a2's scheduler fence, the normal execution flow is: 1. a1 gets popped from the entity by the scheduler 2. run_job(a1) executes 3. a1's scheduled fence gets signaled 4. drm_sched_run_job_work() calls d

[PATCH v3 4/5] dt-bindings: display: Add Sitronix ST7567 LCD Controller

2025-07-15 Thread Javier Martinez Canillas
Sitronix ST7567 is a monochrome Dot Matrix LCD Controller. Signed-off-by: Javier Martinez Canillas Reviewed-by: Rob Herring (Arm) Reviewed-by: Marcus Folkesson --- (no changes since v1) .../bindings/display/sitronix,st7567.yaml | 63 +++ MAINTAINERS

[PATCH v3 5/5] drm/sitronix/st7571-i2c: Add support for the ST7567 Controller

2025-07-15 Thread Javier Martinez Canillas
The Sitronix ST7567 is a monochrome Dot Matrix LCD Controller that has SPI, I2C and parallel interfaces. The st7571-i2c driver only has support for I2C so displays using other transport interfaces are currently not supported. The DRM_FORMAT_R1 pixel format and data commands are the same than what

[PATCH v3 3/5] drm/sitronix/st7571-i2c: Add an indirection level to parse DT

2025-07-15 Thread Javier Martinez Canillas
Other Sitronix display controllers might need a different parsing DT logic, so lets add a .parse_dt callback to struct st7571_panel_data. Suggested-by: Thomas Zimmermann Signed-off-by: Javier Martinez Canillas Reviewed-by: Marcus Folkesson --- (no changes since v1) drivers/gpu/drm/sitronix/s

[PATCH v3 0/5] drm/sitronix/st7571-i2c: Add support for the ST7567 Controller

2025-07-15 Thread Javier Martinez Canillas
This patch-series adds support for the Sitronix ST7567 Controller, which is a monochrome Dot Matrix LCD Controller that has SPI, I2C and parallel interfaces. The st7571-i2c driver only has support for I2C so displays using other transport interfaces are currently not supported. The DRM_FORMAT_R1

[PATCH v3 1/5] drm/sitronix/st7571-i2c: Fix encoder callbacks function names

2025-07-15 Thread Javier Martinez Canillas
It seems the driver took some inspiration from ssd130x and some of the functions (encoder callbacks) were not renamed to use a st7571_ prefix. Signed-off-by: Javier Martinez Canillas Reviewed-by: Marcus Folkesson --- (no changes since v1) drivers/gpu/drm/sitronix/st7571-i2c.c | 12 ++-

[PATCH v3 2/5] drm/sitronix/st7571-i2c: Log probe deferral cause for GPIO get failure

2025-07-15 Thread Javier Martinez Canillas
The driver already uses the dev_err_probe() helper (that only prints error messages for the -EPROBE_DEFER case) when fails to get any other resource. Also do the same when it fails to obtain the reset GPIO. Signed-off-by: Javier Martinez Canillas Reviewed-by: Marcus Folkesson --- Changes in v3

[PATCH 2/5] dt-bindings: phy: rockchip: rk3399-typec-phy: Support mode/orientation switch

2025-07-15 Thread Chaoyi Chen
From: Chaoyi Chen Add support for Type-C orientation and altmode switch. The Type-C controller can be specified to handling switching. Signed-off-by: Chaoyi Chen --- .../bindings/phy/rockchip,rk3399-typec-phy.yaml| 14 ++ 1 file changed, 14 insertions(+) diff --git a/Document

Re: [PATCH v2] drm/amd/display:fix a Null pointer dereference vulnerability

2025-07-15 Thread Krzysztof Kozlowski
On 04/07/2025 05:16, jackysliu wrote: > From: jackysliu > > A null pointer dereference vulnerability exists in the AMD display driver's > (DC module) cleanup function dc_destruct(). > When display control context (dc->ctx) construction fails > (due to memory allocation failure), this pointer r

Re: [PATCH v2] drm/scheduler: Fix sched hang when killing app with dependent jobs

2025-07-15 Thread Christian König
On 15.07.25 12:27, Philipp Stanner wrote: > On Tue, 2025-07-15 at 09:51 +, cao, lin wrote: >> >> [AMD Official Use Only - AMD Internal Distribution Only] >> >> >> >> Hi Philipp, >> >> >> Thanks for your review, let me try to clarify why I added drm_sched_wakeup() >> to drm_sched_entity_kill_jo

Re: [PATCH] drm/bridge: megachips-stdpxxxx-ge-b850v3-fw: Fix a compile error due to bridge->detect parameter changes

2025-07-15 Thread Dmitry Baryshkov
On Tue, Jul 15, 2025 at 01:47:52PM +0800, Andy Yan wrote: > Fix the compile error due to bridge->detect parameter changes. > > Reported-by: Dixit Ashutosh > Closes: > https://lore.kernel.org/dri-devel/175250667117.3567548.8371527247937906463.b4...@oss.qualcomm.com/T/#m8ecd00a05a330bc9c76f11c981d

Re: [PATCH 1/8] clk: imx95-blk-ctl: Cache registers when RPM routines are called

2025-07-15 Thread Laurentiu Palcu
Hi Frank, On Fri, Jul 11, 2025 at 12:03:22AM -0400, Frank Li wrote: > Subject: > save and store registers at suspend()/resume() function > > On Wed, Jul 09, 2025 at 03:23:20PM +0300, Laurentiu Palcu wrote: > > If runtime PM is used for the clock providers and they're part of a > > power domain, t

Re: [PATCH drm-next] drm/bochs: Add support for drm_panic

2025-07-15 Thread Jocelyn Falempe
On 14/07/2025 02:04, Askar Safin wrote: Are normal panics (i. e. not drm panics) still supposed to work with bochs? "Normal panics", is just the console logs through fbcon. The problem is that this is not designed to work in a panic context, so on some driver it can work, but it's not reliabl

[PATCH v2 1/1] drivers: drm: Remove redundant pm_runtime_mark_last_busy() calls

2025-07-15 Thread Sakari Ailus
pm_runtime_put_autosuspend(), pm_runtime_put_sync_autosuspend(), pm_runtime_autosuspend() and pm_request_autosuspend() now include a call to pm_runtime_mark_last_busy(). Remove the now-reduntant explicit call to pm_runtime_mark_last_busy(). Signed-off-by: Sakari Ailus Acked-by: Jani Nikula Revie

[PATCH 3/5] phy: rockchip: phy-rockchip-typec: Add support for Type-C TCPM

2025-07-15 Thread Chaoyi Chen
From: Chaoyi Chen This patch add support for Type-C Port Controller Manager. The extcon device should still be supported. Signed-off-by: Chaoyi Chen --- drivers/phy/rockchip/phy-rockchip-typec.c | 335 -- 1 file changed, 319 insertions(+), 16 deletions(-) diff --git a/driv

[PATCH 1/5] dt-bindings: connector: Add displayport connector for hotplug notify

2025-07-15 Thread Chaoyi Chen
From: Chaoyi Chen The USB Type-C DisplayPort alternate mode driver will find "displayport" property for DRM hotplug event notify[0]. [0]: https://lore.kernel.org/all/20210817215201.795062-9-hdego...@redhat.com/ Signed-off-by: Chaoyi Chen --- .../devicetree/bindings/connector/usb-connector.yam

[PATCH 4/5] drm/rockchip: cdn-dp: Add support for Type-C TCPM

2025-07-15 Thread Chaoyi Chen
From: Chaoyi Chen This patch add support for Type-C Port Manager. If the Type-C controller is present, the DP hot plug events can be notified with the help of TCPM and without the need for extcon. The extcon device should still be supported. Signed-off-by: Chaoyi Chen --- drivers/gpu/drm/rock

[PATCH 5/5] arm64: dts: rockchip: rk3399-evb-ind: Add support for DisplayPort

2025-07-15 Thread Chaoyi Chen
From: Chaoyi Chen The RK3399 EVB IND board has a Type-C interface DisplayPort. It use fusb302 chip as Type-C controller. Signed-off-by: Chaoyi Chen --- .../boot/dts/rockchip/rk3399-evb-ind.dts | 119 ++ 1 file changed, 119 insertions(+) diff --git a/arch/arm64/boot/dts/ro

Re: [RFC PATCH 00/30] Host side (KVM/VFIO/IOMMUFD) support for TDISP using TSM

2025-07-15 Thread Jonathan Cameron
On Fri, 11 Jul 2025 16:08:16 -0700 dan.j.willi...@intel.com wrote: > Xu Yilun wrote: > > On Sat, Jun 21, 2025 at 11:07:24AM +1000, Alexey Kardashevskiy wrote: > > > > > > > > > On 11/6/25 11:55, Alexey Kardashevskiy wrote: > > > > Hi, > > > > > > > > Is there a QEMU tree using this somewher

Re: [PATCH 2/5] dt-bindings: phy: rockchip: rk3399-typec-phy: Support mode/orientation switch

2025-07-15 Thread Krzysztof Kozlowski
On 15/07/2025 13:24, Chaoyi Chen wrote: > From: Chaoyi Chen > > Add support for Type-C orientation and altmode switch. > The Type-C controller can be specified to handling switching. Please describe the hardware in details. Above sentences don't help me to understand this. > > Signed-off-by:

Re: [PATCH 1/5] dt-bindings: connector: Add displayport connector for hotplug notify

2025-07-15 Thread Krzysztof Kozlowski
On 15/07/2025 13:24, Chaoyi Chen wrote: > From: Chaoyi Chen > > The USB Type-C DisplayPort alternate mode driver will find > "displayport" property for DRM hotplug event notify[0]. > > [0]: https://lore.kernel.org/all/20210817215201.795062-9-hdego...@redhat.com/ > > Signed-off-by: Chaoyi Chen

Re: [PATCH 5/5] arm64: dts: rockchip: rk3399-evb-ind: Add support for DisplayPort

2025-07-15 Thread Krzysztof Kozlowski
On 15/07/2025 13:24, Chaoyi Chen wrote: > /dts-v1/; > +#include > #include "rk3399.dtsi" > > / { > @@ -19,6 +20,16 @@ chosen { > stdout-path = "serial2:150n8"; > }; > > + vbus_typec: vbus-typec-regulator { use consistent naming. How other regulators are called?

Re: [PATCH v2] drm/scheduler: Fix sched hang when killing app with dependent jobs

2025-07-15 Thread Philipp Stanner
On Tue, 2025-07-15 at 03:38 +, cao, lin wrote: > > [AMD Official Use Only - AMD Internal Distribution Only] > > > > Hi Christian, Philipp, > > > I modified the commit msg, and I hope it makes more sense: > > > drm/sched: wake up scheduler when killing jobs to prevent hang nit: s/wake/W

Re: [PATCH v2] drm/scheduler: Fix sched hang when killing app with dependent jobs

2025-07-15 Thread cao, lin
[AMD Official Use Only - AMD Internal Distribution Only] Hi Philipp, Thanks for your review, let me try to clarify why I added drm_sched_wakeup() to drm_sched_entity_kill_jobs_work(): When application A submits jobs (a1, a2, a3) and application B submits job b1 with a dependency on a1's schedu

[PATCH v5 1/9] drm: Add a vendor-specific recovery method to device wedged uevent

2025-07-15 Thread Riana Tauro
This patch addresses the need for a recovery method (firmware-update on Firmware errors) introduced in the later patches of Xe KMD. Whenever XE KMD detects a firmware error, a drm wedged uevent needs to be sent to the system administrator/userspace to trigger a firmware update. The initial proposa

[PATCH v5 0/9] Handle Firmware reported Hardware Errors

2025-07-15 Thread Riana Tauro
Add support to handle firmware reported errors. When CSC firmware errors are encoutered, a error interrupt is received by the GFX device as a MSI interrupt. Device Source control registers indicates the source of the error as CSC. The HEC error status register indicates that the error is firmware

[PATCH v5 2/9] drm/xe: Set GT as wedged before sending wedged uevent

2025-07-15 Thread Riana Tauro
Userspace should be notified after setting the device as wedged. Re-order function calls to set gt wedged before sending uevent. Cc: Matthew Brost Suggested-by: Raag Jadav Signed-off-by: Riana Tauro Reviewed-by: Matthew Brost --- drivers/gpu/drm/xe/xe_device.c | 12 1 file change

[PATCH v5 4/9] drm/xe/xe_survivability: Refactor survivability mode

2025-07-15 Thread Riana Tauro
The patches in these series refactor the boot survivability code to allow adding runtime survivability Refactor existing code to separate both the modes This patch renames the functions and separates init and enable Signed-off-by: Riana Tauro --- drivers/gpu/drm/xe/xe_device.c|

[PATCH v5 3/9] drm/xe: Add a helper function to set recovery method

2025-07-15 Thread Riana Tauro
Add a helper function to set recovery method. The recovery method has to be set before declaring the device wedged and sending the drm wedged uevent. If no method is set, default unbind/re-bind method will be set Signed-off-by: Riana Tauro --- drivers/gpu/drm/xe/xe_device.c | 26 ++

[PATCH v5 7/9] drm/xe: Add support to handle hardware errors

2025-07-15 Thread Riana Tauro
Gfx device reports two classes of errors: uncorrectable and correctable. Depending on the severity uncorrectable errors are further classified Non-Fatal and Fatal Correctable and Non-Fatal errors: These errors are reported as MSI. Bits in the Master Interrupt Register indicate the class of the err

[PATCH v5 8/9] drm/xe/xe_hw_error: Handle CSC Firmware reported Hardware errors

2025-07-15 Thread Riana Tauro
Add support to handle CSC firmware reported errors. When CSC firmware errors are encoutered, a error interrupt is received by the GFX device as a MSI interrupt. Device Source control registers indicates the source of the error as CSC The HEC error status register indicates that the error is firmwa

[PATCH v5 6/9] drm/xe/doc: Document device wedged and runtime survivability

2025-07-15 Thread Riana Tauro
Add documentation for vendor specific device wedged recovery method and runtime survivability. v2: fix documentation (Raag) v3: add userspace tool for firmware update (Raag) Signed-off-by: Riana Tauro --- Documentation/gpu/xe/index.rst | 1 + Documentation/gpu/xe/xe_device.rst

[PATCH v5 9/9] drm/xe/xe_hw_error: Add fault injection to trigger csc error handler

2025-07-15 Thread Riana Tauro
Add a debugfs fault handler to trigger csc error handler that wedges the device and sends drm uevent v2: add debugfs only for bmg (Umesh) Signed-off-by: Riana Tauro --- drivers/gpu/drm/xe/xe_debugfs.c | 3 +++ drivers/gpu/drm/xe/xe_hw_error.c | 11 +++ 2 files changed, 14 insertions(+

[PATCH v5 5/9] drm/xe/xe_survivability: Add support for Runtime survivability mode

2025-07-15 Thread Riana Tauro
Certain runtime firmware errors can cause the device to be in a unusable state requiring a firmware flash to restore normal operation. Runtime Survivability Mode indicates firmware flash is necessary by wedging the device and exposing survivability mode sysfs. The below sysfs is an indication that

Re: [PATCH v2] drm/scheduler: Fix sched hang when killing app with dependent jobs

2025-07-15 Thread Philipp Stanner
On Tue, 2025-07-15 at 09:51 +, cao, lin wrote: > > [AMD Official Use Only - AMD Internal Distribution Only] > > > > Hi Philipp, > > > Thanks for your review, let me try to clarify why I added drm_sched_wakeup() > to drm_sched_entity_kill_jobs_work(): > > > When application A submits jo

Re: [PATCH 7/8] arm64: dts: imx943-evk: Add support for DCIF and LVDS

2025-07-15 Thread Laurentiu Palcu
Hi Frank, On Fri, Jul 11, 2025 at 01:07:06AM -0400, Frank Li wrote: > On Wed, Jul 09, 2025 at 03:23:26PM +0300, Laurentiu Palcu wrote: > > Add DT nodes for DCIF and LVDS in imx943.dtsi and activate them in > > imx943-evk.dts. > > > > Signed-off-by: Laurentiu Palcu > > --- > > arch/arm64/boot/dts

Re: [PATCH 3/5] phy: rockchip: phy-rockchip-typec: Add support for Type-C TCPM

2025-07-15 Thread Dmitry Baryshkov
On Tue, Jul 15, 2025 at 07:24:54PM +0800, Chaoyi Chen wrote: > From: Chaoyi Chen > > This patch add support for Type-C Port Controller Manager. > The extcon device should still be supported. > > Signed-off-by: Chaoyi Chen > --- > drivers/phy/rockchip/phy-rockchip-typec.c | 335

Re: [PATCH 6/8] drm/imx: Add support for i.MX94 DCIF

2025-07-15 Thread Laurentiu Palcu
Hi Frank, On Fri, Jul 11, 2025 at 01:01:20AM -0400, Frank Li wrote: > On Wed, Jul 09, 2025 at 03:23:25PM +0300, Laurentiu Palcu wrote: > > From: Sandor Yu > > > > This patch adds support for the i.MX94 Display Control Interface. > > Needn't word "this patch" > > Can you list feature here? I wi

Re: [PATCH 1/5] dt-bindings: connector: Add displayport connector for hotplug notify

2025-07-15 Thread Dmitry Baryshkov
On Tue, Jul 15, 2025 at 07:24:52PM +0800, Chaoyi Chen wrote: > From: Chaoyi Chen > > The USB Type-C DisplayPort alternate mode driver will find > "displayport" property for DRM hotplug event notify[0]. > > [0]: https://lore.kernel.org/all/20210817215201.795062-9-hdego...@redhat.com/ > > Signed-

Re: [PATCH v2 1/1] drivers: drm: Remove redundant pm_runtime_mark_last_busy() calls

2025-07-15 Thread Liviu Dudau
On Tue, Jul 15, 2025 at 12:53:22PM +0300, Sakari Ailus wrote: > pm_runtime_put_autosuspend(), pm_runtime_put_sync_autosuspend(), > pm_runtime_autosuspend() and pm_request_autosuspend() now include a call > to pm_runtime_mark_last_busy(). Remove the now-reduntant explicit call to > pm_runtime_mark_l

Re: [PATCH] drm/bridge: megachips-stdpxxxx-ge-b850v3-fw: Fix a compile error due to bridge->detect parameter changes

2025-07-15 Thread Dmitry Baryshkov
On Tue, 15 Jul 2025 13:47:52 +0800, Andy Yan wrote: > Fix the compile error due to bridge->detect parameter changes. > > Applied to drm-misc-next, thanks! [1/1] drm/bridge: megachips-stdp-ge-b850v3-fw: Fix a compile error due to bridge->detect parameter changes commit: a622663dbf874a

Re: [PATCH 5/5] arm64: dts: rockchip: rk3399-evb-ind: Add support for DisplayPort

2025-07-15 Thread Dmitry Baryshkov
On Tue, Jul 15, 2025 at 07:24:56PM +0800, Chaoyi Chen wrote: > From: Chaoyi Chen > > The RK3399 EVB IND board has a Type-C interface DisplayPort. > It use fusb302 chip as Type-C controller. > > Signed-off-by: Chaoyi Chen > --- > .../boot/dts/rockchip/rk3399-evb-ind.dts | 119 +

Re: [PATCH 0/5] Add Type-C DP support for RK3399 EVB IND board

2025-07-15 Thread Rob Herring (Arm)
p3 install dtschema --upgrade This patch series was applied (using b4) to base: Base: attempting to guess base-commit... Base: tags/next-20250715 (exact match) If this is not the correct base, please add 'base-commit' tag (or use b4 which does this automatically) New warnings runn

Re: [PATCH v5 9/9] drm/xe/xe_hw_error: Add fault injection to trigger csc error handler

2025-07-15 Thread Summers, Stuart
On Tue, 2025-07-15 at 16:17 +0530, Riana Tauro wrote: > Add a debugfs fault handler to trigger csc error handler that > wedges the device and sends drm uevent > > v2: add debugfs only for bmg (Umesh) > > Signed-off-by: Riana Tauro > --- >  drivers/gpu/drm/xe/xe_debugfs.c  |  3 +++ >  drivers/gpu

Re: [PATCH v2 2/8] cxl: mce: Fix typo "notifer"

2025-07-15 Thread Dave Jiang
On 7/15/25 6:44 AM, WangYuli wrote: > According to the context, "mce_notifer" should be "mce_notifier". > > Link: > https://lore.kernel.org/all/b3c019b63c93846f+20250715071245.398846-1-wangy...@uniontech.com/ > Fixes: 516e5bd0b6bf ("cxl: Add mce notifier to emit aliased address for > extended

  1   2   3   >