[PATCH v4 1/2] dt-bindings: display: panel: document Sharp LQ079L1SX01 panel

2025-09-27 Thread Svyatoslav Ryhel
Document Sharp LQ079L1SX01 panel found in Xiaomi Mi Pad. Signed-off-by: Svyatoslav Ryhel Reviewed-by: Rob Herring (Arm) --- .../display/panel/sharp,lq079l1sx01.yaml | 99 +++ 1 file changed, 99 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/pan

[PATCH v4 0/2] DRM: panel: add support for Sharp LQ079L1SX01 panel

2025-09-27 Thread Svyatoslav Ryhel
Sharp LQ079L1SX01 panel is a LCD panel working in dual video mode found in Xiaomi Mi Pad (A0101). --- Changes in v2: - adjusted schema with ">" and dsi0 > dsi - fixed copyright from Nvidia to Xiaomi since sconfiguration equence is based on the downstream Xiaomi code. - adjusted commit name of se

Re: [PATCH v5 1/1] [DRIVER] gpu: drm: add support for Yhgc ZX1000 soc

2025-09-27 Thread Chu Guangqing
Hi Dmitry, the v6 patch is here https://lore.kernel.org/all/20250928054123.32895-1-chuguangq...@inspur.com/ > -邮件原件- > 发件人: Dmitry Baryshkov > 发送时间: 2025年9月26日 6:20 > 收件人: Gary Chu(楚光庆) > 抄送: tzimmerm...@suse.de; maarten.lankho...@linux.intel.com; > mrip...@kernel.org; airl...@gmail.com

[PATCH v6 1/1] [DRIVER] gpu: drm: add support for Yhgc ZX1000 soc chipset

2025-09-27 Thread Chu Guangqing
add support for Yhgc BMC soc chipset Signed-off-by: Chu Guangqing --- MAINTAINERS| 5 + drivers/gpu/drm/Kconfig| 2 + drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/yhgch/Kconfig | 11 + drivers/gpu/drm/yhgch/Makefile

[PATCH v6 0/1] [DRIVER] gpu: drm: add support for Yhgc ZX1000 soc chipset

2025-09-27 Thread Chu Guangqing
v6: - simplify to return drm_atomic_helper_check_plane_state() - remove empty line - remove call drm_probe_ddc and smidebug - replace drm_err with drm_dbg_kms - add callback .disable v5: - remove extra level of subdiretories, change to driver/gpu/drm/yhgch - remove else from > +el

[PATCH] drm/vmwgfx: Replace schedule() with schedule_hrtimeout() in fallback wait

2025-09-27 Thread Pavan Bobba
Replace the open-coded polling with schedule() in vmw_fallback_wait() by schedule_hrtimeout(). The old code wakes up at jiffy granularity and leads to unnecessary CPU wakeups during fence waits. schedule_hrtimeout() provides high-resolution sleep with finer control, reducing CPU utilization withou

Re: [PATCH] fbdev: udlfb: make CONFIG_FB_DEVICE optional

2025-09-27 Thread kernel test robot
patch link: https://lore.kernel.org/r/20250924175743.6790-1-hsukrut3%40gmail.com patch subject: [PATCH] fbdev: udlfb: make CONFIG_FB_DEVICE optional config: x86_64-randconfig-001-20250927 (https://download.01.org/0day-ci/archive/20250927/202509272320.3k8kddcw-...@intel.com/config) compiler: cla

[PATCH][next][V2] drm/xe/xe_late_bind_fw: Fix missing initialization of variable offset

2025-09-27 Thread Colin Ian King
The variable offset is not being initialized, and it is only set inside a for-loop if entry->name is the same as manifest_entry. In the case where it is not initialized a non-zero check on offset is potentialy checking a bogus uninitalized value. Fix this by initializing offset to zero. Fixes: efa

Re: [PATCH v5 1/1] [DRIVER] gpu: drm: add support for Yhgc ZX1000 soc chipset

2025-09-27 Thread kernel test robot
m/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20250925091715.12739-2-chuguangqing%40inspur.com patch subject: [PATCH v5 1/1] [DRIVER] gpu: drm: add support for Yhgc ZX1000 soc chipset config: loongarch-randconfig-r123-20250927 (https://download.01.org/0day-ci/archive/20250928/20

Re: [PATCH] drm/{i915,xe}: driver agnostic drm to display pointer chase

2025-09-27 Thread Lucas De Marchi
On Fri, Sep 26, 2025 at 06:11:41PM +0300, Jani Nikula wrote: On Fri, 26 Sep 2025, Lucas De Marchi wrote: On Fri, Sep 26, 2025 at 02:10:32PM +0300, Jani Nikula wrote: diff --git a/drivers/gpu/drm/i915/display/intel_display_conversion.c b/drivers/gpu/drm/i915/display/intel_display_conversion.c

Re: [PATCH v2 02/10] gpu: nova-core: Create initial Gsp

2025-09-27 Thread John Hubbard
On 9/24/25 2:07 PM, Lyude Paul wrote: > On Wed, 2025-09-24 at 13:50 -0700, John Hubbard wrote: >> On 9/24/25 1:13 PM, Lyude Paul wrote: >>> Some comments down below >> ... +/// Creates a self-mapping page table for `obj` at its beginning. +fn create_pte_array(obj: &mut CoherentAllocation)

Re: [PATCH] fbcon: Fix OOB access in font allocation

2025-09-27 Thread Qianqiang Liu
On Mon, Sep 22, 2025 at 03:45:54PM +0200, Thomas Zimmermann wrote: > Commit 1a194e6c8e1e ("fbcon: fix integer overflow in fbcon_do_set_font") > introduced an out-of-bounds access by storing data and allocation sizes > in the same variable. Restore the old size calculation and use the new > variable

Re: [PATCH RESEND] accel/habanalabs: Replace kmalloc_array + copy_from_user with memdup_array_user

2025-09-27 Thread Sinyuk, Konstantin
Hi Thorsten, Thanks for the cleanup! Reviewed-by: Konstantin Sinyuk I will pick this up during the 6.18-rc merge window. Best regards, Konstantin On 9/27/2025 7:56 PM, Thorsten Blum wrote: > Replace kmalloc_array() followed by copy_from_user() with > memdup_array_user() to improve and simplif

Re: [PATCH 8/8] drm/panel: Add Samsung S6E3FC2X01 DDIC with AMS641RW panel

2025-09-27 Thread kernel test robot
Hi David, kernel test robot noticed the following build warnings: [auto build test WARNING on ce7f1a983b074f6cf8609068088ca3182c569ee4] url: https://github.com/intel-lab-lkp/linux/commits/David-Heidelberg-via-B4-Relay/dt-bindings-panel-Add-Samsung-S6E3FC2X01-DDIC-with-panel/20250925-171444 b

Re: [bug report] accel/habanalabs: add NVMe Direct I/O (HLDIO) infrastructure

2025-09-27 Thread Sinyuk, Konstantin
Hi Dan, Thanks for catching this. You're right, `bd` is dereferenced before being checked in hl_dio_fd_register(). I'll send a fix that moves the NULL check before the dereference. Konstantin. On Sat, Sep 27, 2025 at 02:21:00PM +, Dan Carpenter wrote: > Hello Konstantin Sinyuk, > > This is

Re: [PATCH V11 06/47] drm/colorop: Add 1D Curve subtype

2025-09-27 Thread Shengyu Qu
在 2025/9/26 2:22, Harry Wentland 写道: On 2025-09-25 04:11, Pekka Paalanen wrote: On Tue, 23 Sep 2025 11:41:24 -0600 Alex Hung wrote: On 9/23/25 10:16, Alex Hung wrote: On 9/23/25 01:59, Pekka Paalanen wrote: On Mon, 22 Sep 2025 21:16:45 -0600 Alex Hung wrote: On 9/18/25 02:40, Pekka

Re: [PATCH] drm/tegra: dc: fix reference leak in tegra_dc_couple()

2025-09-27 Thread Greg KH
On Sat, Sep 27, 2025 at 02:43:17PM +0200, Markus Elfring wrote: > > driver_find_device() calls get_device() to increment the reference > > count once a matching device is found, but there is no put_device() to > > balance the reference count. To avoid reference count leakage, add > > put_device() t

[PATCH RESEND] accel/habanalabs: Replace kmalloc_array + copy_from_user with memdup_array_user

2025-09-27 Thread Thorsten Blum
Replace kmalloc_array() followed by copy_from_user() with memdup_array_user() to improve and simplify cs_ioctl_engine_cores(), cs_ioctl_engines(), and hl_multi_cs_wait_ioctl(). Remove the unused variable 'size_to_copy' from hl_multi_cs_wait_ioctl(). No functional changes intended. Reviewed-by: K

Re: ast "WARN_ON(!__ast_dp_wait_enable("ast, enabled)) on reboot

2025-09-27 Thread Thomas Zimmermann
Hi Am 23.09.25 um 17:31 schrieb Carol Soto: I think this call was failing in this system for 6.8 kernel. The difference is that now is a WARN_ON so we see the stack trace at reboot with 6.14 and above kernels. OK. Just to clarify: your system does use an Aspeed DisplayPort? There are als

Re: [RFC PATCH] rust: sync: Add dma_fence abstractions

2025-09-27 Thread Boqun Feng
On Sat, Sep 27, 2025 at 02:14:22PM +0200, Miguel Ojeda wrote: > On Fri, Sep 26, 2025 at 6:10 PM Boqun Feng wrote: > > > > Thoughts? Miguel, Greg, Danilo and Lyude, any idea or suggestion? > > Either way sounds OK. > > More generally, one thing to consider nowadays is whether we will want > somet

Re: [PATCH v7 0/7] drm/bridge: imx: Add HDMI PAI driver on i.MX8MP

2025-09-27 Thread Takashi Iwai
On Fri, 26 Sep 2025 08:03:15 +0200, Liu Ying wrote: > > Hi Jaroslav, Takashi, > > On 09/23/2025, Liu Ying wrote: > > On 09/23/2025, Shengjiu Wang wrote: > >> Shengjiu Wang (7): > >> dt-bindings: display: imx: add HDMI PAI for i.MX8MP > >> ALSA: Add definitions for the bits in IEC958 subframe

Re: [PATCH v2 1/2] drm/bridge: add drm_bridge_unplug() and drm_bridge_enter/exit()

2025-09-27 Thread kernel test robot
Hi Luca, kernel test robot noticed the following build warnings: [auto build test WARNING on 7acbe30813f04cccf7b2e8b571eb7936cfec0a87] url: https://github.com/intel-lab-lkp/linux/commits/Luca-Ceresoli/drm-bridge-add-drm_bridge_unplug-and-drm_bridge_enter-exit/20250927-003721 base

Re: [RFC PATCH] rust: sync: Add dma_fence abstractions

2025-09-27 Thread Boqun Feng
On Sat, Sep 27, 2025 at 11:01:38AM +0200, Philipp Stanner wrote: [..] > > > --- > > >  rust/bindings/bindings_helper.h |   1 + > > >  rust/helpers/dma_fence.c    |  23 ++ > > >  rust/helpers/helpers.c  |   1 + > > >  rust/helpers/spinlock.c |   5 + > > >  rust/kernel/sync.rs

[PATCH] drm/meson: add support for 2560x1440 resolution output

2025-09-27 Thread Christian Hewitt
From: Dongjin Kim Add support for Quad HD (QHD) 2560x1440 resolution output. Timings have been adapted from the vendor kernel. Signed-off-by: Dongjin Kim Signed-off-by: Christian Hewitt --- drivers/gpu/drm/meson/meson_vclk.c | 18 ++ 1 file changed, 18 insertions(+) diff --gi

Re: [PATCH] drm/tegra: dc: fix reference leak in tegra_dc_couple()

2025-09-27 Thread Markus Elfring
> driver_find_device() calls get_device() to increment the reference > count once a matching device is found, but there is no put_device() to > balance the reference count. To avoid reference count leakage, add > put_device() to decrease the reference count. How do you think about to increase the

Re: [PATCH 1/9] drm/display: hdmi-state-helpers: warn on unsupported InfoFrame types

2025-09-27 Thread kernel test robot
Hi Dmitry, kernel test robot noticed the following build errors: [auto build test ERROR on bf2602a3cb2381fb1a04bf1c39a290518d2538d1] url: https://github.com/intel-lab-lkp/linux/commits/Dmitry-Baryshkov/drm-display-hdmi-state-helpers-warn-on-unsupported-InfoFrame-types/20250927-090630 base

Re: [PATCH v7 10/14] phy: qcom: qmp-usbc: Add USB/DP exclude handling

2025-09-27 Thread Konrad Dybcio
On 9/26/25 9:25 AM, Xiangxu Yin wrote: > When both USB and DP PHY modes are enabled simultaneously on the same > QMP USBC PHY, it can lead to hardware misconfiguration and undefined > behavior. This happens because the PHY resources are not designed to > operate in both modes at the same time. > >

Re: [RFC PATCH] rust: sync: Add dma_fence abstractions

2025-09-27 Thread Miguel Ojeda
On Fri, Sep 26, 2025 at 6:10 PM Boqun Feng wrote: > > Thoughts? Miguel, Greg, Danilo and Lyude, any idea or suggestion? Either way sounds OK. More generally, one thing to consider nowadays is whether we will want something to eventually live in its own crate etc., but for this I don't think it a

[PATCH 12/19 v6.1.y] minmax: fix up min3() and max3() too

2025-09-27 Thread Eliav Farber
From: Linus Torvalds [ Upstream commit 21b136cc63d2a9ddd60d4699552b69c214b32964 ] David Laight pointed out that we should deal with the min3() and max3() mess too, which still does excessive expansion. And our current macros are actually rather broken. In particular, the macros did this: #d

[bug report] accel/habanalabs: add NVMe Direct I/O (HLDIO) infrastructure

2025-09-27 Thread Dan Carpenter
Hello Konstantin Sinyuk, This is a semi-automatic email about new static checker warnings. Commit 8cbacc9a2703 ("accel/habanalabs: add NVMe Direct I/O (HLDIO) infrastructure") from Sep 9, 2024, leads to the following Smatch complaint: drivers/accel/habanalabs/common/hldio.c:106 hl_dio_fd_reg

Re: [PATCH 8/9] drm/rockchip: inno-hdmi: handle unsupported InfoFrames

2025-09-27 Thread Diederik de Haas
On Sat Sep 27, 2025 at 3:04 AM CEST, Dmitry Baryshkov wrote: > Make write_hdmi_infoframe() and clear_infoframe() callbacks > return -EOPNOTSUPP for unsupported InfoFrames and make sure that > atomic_check() callback doesn't allow unsupported InfoFrames to be > enabled. > > Signed-off-by: Dmitry Bar

[PATCH] drm/tegra: dc: fix reference leak in tegra_dc_couple()

2025-09-27 Thread Ma Ke
driver_find_device() calls get_device() to increment the reference count once a matching device is found, but there is no put_device() to balance the reference count. To avoid reference count leakage, add put_device() to decrease the reference count. Found by code review. Cc: sta...@vger.kernel.o

Re: [cocci] [PATCH] cocci: drm: report devm-allocated arguments and fields

2025-09-27 Thread Markus Elfring
…> +// find devm-allocated (devres-managed) second arg for drm*init functions > +@badarg exists@ > +position p; > +expression devm,e; > +@@ > +// only devm_kzalloc is really used > +devm = \(devm_kzalloc\|devm_kcalloc\|devm_kmalloc\|devm_kmalloc_array\)(...); > +... …> +// same as above, but with a

[PATCH] fbdev: Add bounds checking in bit_putcs to fix vmalloc-out-of-bounds

2025-09-27 Thread Albin Babu Varghese
KASAN reports vmalloc-out-of-bounds writes in sys_imageblit during console resize operations. The crash happens when bit_putcs renders characters outside the allocated framebuffer region. Call trace: vc_do_resize -> clear_selection -> invert_screen -> do_update_region -> fbcon_putcs -> bit_putcs

Re: [RFC PATCH] rust: sync: Add dma_fence abstractions

2025-09-27 Thread Philipp Stanner
On Fri, 2025-09-26 at 09:10 -0700, Boqun Feng wrote: > On Thu, Sep 18, 2025 at 02:30:59PM +0200, Philipp Stanner wrote: > > dma_fence is a synchronization mechanism which is needed by virtually > > all GPU drivers. > > > > A dma_fence offers many features, among which the most important ones > > a

[PATCH 7/9] drm/rockchip: rk3066_hdmi: handle unsupported InfoFrames

2025-09-27 Thread Dmitry Baryshkov
Make hdmi_write_hdmi_infoframe() and hdmi_clear_infoframe() callbacks return -EOPNOTSUPP for unsupported InfoFrames and make sure that atomic_check() callback doesn't allow unsupported InfoFrames to be enabled. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/rockchip/rk3066_hdmi.c | 38 +