Re: [PATCH v3 0/5] Handheld gaming PC panel orientation quirks

2025-02-13 Thread Thomas Zimmermann
Hi Am 13.02.25 um 23:24 schrieb John Edwards: Hello. I am submitting a small number of patches to add panel rotation quirks for a few handheld gaming PCs. These patches were created by the SteamFork team and are in daily use by us and/or members of our community. The following devices are cov

Re: [PATCH v2 3/3] drm/ci: enable lockdep detection

2025-02-13 Thread Vignesh Raman
Hi Helen, On 13/02/25 18:13, Helen Mae Koike Fornazier wrote: Hi Vignesh, thanks for your patch. Em ter., 11 de fev. de 2025 às 12:29, Vignesh Raman escreveu: We have enabled PROVE_LOCKING (which enables LOCKDEP) in drm-ci. This will output warnings when kernel locking errors are encountere

Re: [PATCH v6 0/4] Add support for errors recovery in the TI SN65DSI83 bridge driver

2025-02-13 Thread Alexander Stein
Hi, Am Montag, 10. Februar 2025, 14:26:15 CET schrieb Herve Codina: > Hi, > > Usually the TI SN65DSI83 recovers from error by itself but during ESD > tests, we have some cases where the TI SN65DSI83 didn't recover. > > In order to handle those cases, this series adds support for a recovery > mec

RE: [PATCH v8 01/14] drm: Define histogram structures exposed to user

2025-02-13 Thread Kandpal, Suraj
> -Original Message- > From: Murthy, Arun R > Sent: Tuesday, January 28, 2025 9:21 PM > To: intel...@lists.freedesktop.org; intel-...@lists.freedesktop.org; dri- > de...@lists.freedesktop.org > Cc: Kandpal, Suraj ; dmitry.barysh...@linaro.org; > Murthy, Arun R > Subject: [PATCH v8 01/14

Re: [PATCH v1 1/2] dt-bindings: display: bridge: Document Solomon SSD2825

2025-02-13 Thread Svyatoslav Ryhel
чт, 13 лют. 2025 р. о 22:34 Conor Dooley пише: > > On Thu, Feb 13, 2025 at 03:56:04PM +0200, Svyatoslav Ryhel wrote: > > Add bindings for Solomon SSD2825 MIPI master bridge chip that connects an > > application processor with traditional parallel LCD interface and an LCD > > driver with MIPI slave

Re: [PATCH v1 1/2] dt-bindings: mfd: Document TI LM3533 MFD

2025-02-13 Thread Svyatoslav Ryhel
чт, 13 лют. 2025 р. о 23:32 Daniel Thompson пише: > > On Wed, Feb 12, 2025 at 09:58:41AM +0200, Svyatoslav Ryhel wrote: > > Add bindings for the LM3533 - a complete power source for > > backlight, keypad, and indicator LEDs in smartphone handsets. > > The high-voltage inductive boost converter pro

Re: [PATCH v6 41/42] drm/mediatek: mtk_hdmi_v2: Add debugfs ops and implement ABIST

2025-02-13 Thread 胡俊光

Re: [PATCH v6 40/42] drm/mediatek: mtk_hdmi_common: Add var to enable interlaced modes

2025-02-13 Thread 胡俊光

Re: [PATCH v6 37/42] drm/mediatek: mtk_hdmi_common: Assign DDC adapter pointer to bridge

2025-02-13 Thread 胡俊光

Re: [git pull] drm fixes for 6.14-rc3

2025-02-13 Thread pr-tracker-bot
The pull request you sent on Fri, 14 Feb 2025 13:34:04 +1000: > https://gitlab.freedesktop.org/drm/kernel.git tags/drm-fixes-2025-02-14 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/128c8f96eb8638c060cd3532dc394d046ce64fe1 Thank you! -- Deet-doot-dot, I am a bot. h

Re: [PATCH v2 drm-dp 7/7] drm/hisilicon/hibmc: Enable this hot plug detect of irq feature

2025-02-13 Thread Yongbang Shi
On Mon, Feb 10, 2025 at 10:49:59PM +0800, Yongbang Shi wrote: From: Baihan Li To realize HPD feature, we have getting hpd status function, registering irq function, interrupt handler function, and hpd event process function. And also we use pci_alloc_irq_vectors() to get our msi irq, because

[PATCH v6 3/3] MAINTAINERS: Add entries for Apple DWI backlight controller

2025-02-13 Thread Nick Chan
Add MAINTAINERS entries for the driver. Reviewed-by: Daniel Thompson (RISCstar) Signed-off-by: Nick Chan --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 896a307fa065..a576324807f5 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2228,6 +2228,7

[PATCH v6 2/3] backlight: apple_dwi_bl: Add Apple DWI backlight driver

2025-02-13 Thread Nick Chan
Add driver for backlight controllers attached via Apple DWI 2-wire interface, which is found on some Apple iPhones, iPads and iPod touches with a LCD display. Although there is an existing apple_bl driver, it is for backlight controllers on Intel Macs attached via PCI, which is completely differen

[PATCH v6 1/3] dt-bindings: leds: backlight: apple, dwi-bl: Add Apple DWI backlight

2025-02-13 Thread Nick Chan
Add backlight controllers attached via Apple DWI 2-wire interface. Reviewed-by: Krzysztof Kozlowski Reviewed-by: Daniel Thompson (RISCstar) Signed-off-by: Nick Chan --- .../bindings/leds/backlight/apple,dwi-bl.yaml | 57 +++ 1 file changed, 57 insertions(+) create mode 100644

[PATCH v6 0/3] Apple DWI backlight driver

2025-02-13 Thread Nick Chan
Apple SoCs come with a 2-wire interface named DWI. On some iPhones, iPads and iPod touches the backlight controller is connected via this interface. This series adds a backlight driver for backlight controllers connected this way. Changes since v5: - Remove default y from drivers/video/backlight/K

Re: [PATCH v2 drm-dp 6/7] drm/hisilicon/hibmc: Add drm debugfs functions

2025-02-13 Thread Yongbang Shi
On Mon, Feb 10, 2025 at 10:49:58PM +0800, Yongbang Shi wrote: From: Baihan Li We use the previous two patches as our debug functions and generate two files. "hibmc-dp" and "color-bar". hibmc-dp: read only, print the dp link status and dpcd version Please define a generic DP attribute for th

[git pull] drm fixes for 6.14-rc3

2025-02-13 Thread Dave Airlie
Hi Linus, Weekly drm fixes pull request, nothing too unusual, the hdmi tests needs a bit of refactoring after lockdep shouted at them, otherwise amdgpu and xe lead and a few misc otherwise. Thanks, Dave. drm-fixes-2025-02-14: drm fixes for 6.14-rc3 amdgpu: - Fix shutdown regression on old APUs

Re: [PATCH v6 09/42] drm/mediatek: mtk_dpi: Explicitly manage TVD clock in power on/off

2025-02-13 Thread 胡俊光

Re: [PATCH v6 27/42] drm/mediatek: mtk_hdmi: Move output init to mtk_hdmi_register_audio_driver()

2025-02-13 Thread 胡俊光

Re: [PATCH v2] gpu: cdns-mhdp8546: fix call balance of mhdp->clk handling routines

2025-02-13 Thread Dmitry Baryshkov
On Thu, Feb 13, 2025 at 02:28:01PM +0300, Vitalii Mordan wrote: > If the clock mhdp->clk was not enabled in cdns_mhdp_probe(), it should not > be disabled in any path. > > Use the devm_clk_get_enabled() helper function to ensure proper call > balance for mhdp->clk. > > Found by Linux Verification

Re: [PATCH v6 15/42] drm/mediatek: mtk_hdmi: Convert to module_platform_driver macro

2025-02-13 Thread 胡俊光

Re: [PATCH v6 14/42] drm/mediatek: mtk_hdmi_ddc: Switch to register as module_platform_driver

2025-02-13 Thread 胡俊光

Re: [PATCH v6 13/42] drm/mediatek: mtk_cec: Switch to register as module_platform_driver

2025-02-13 Thread 胡俊光

Re: [PATCH v6 10/42] drm/mediatek: Add support for MT8195 Digital Parallel Interface

2025-02-13 Thread 胡俊光

Re: [PATCH v6 06/42] drm/mediatek: mtk_dpi: Move the input_2p_en bit to platform data

2025-02-13 Thread 胡俊光

Re: [PATCH v6 08/42] drm/mediatek: mtk_dpi: Support AFIFO 1T1P output and conversion

2025-02-13 Thread 胡俊光

Re: [PATCH v6 07/42] drm/mediatek: mtk_dpi: Add support for DPI input clock from HDMI

2025-02-13 Thread 胡俊光

Re: [PATCH] drm/repaper: fix integer overflows in repeat functions

2025-02-13 Thread Alex Lanzano
On Thu, Jan 16, 2025 at 05:48:01AM -0800, Nikita Zhandarovich wrote: > There are conditions, albeit somewhat unlikely, under which right hand > expressions, calculating the end of time period in functions like > repaper_frame_fixed_repeat(), may overflow. > > For instance, if 'factor10x' in repape

Re: [PATCH v6 09/42] drm/mediatek: mtk_dpi: Explicitly manage TVD clock in power on/off

2025-02-13 Thread 胡俊光

Re: [PATCH 06/12] drm/sprd: move to devm_platform_ioremap_resource() usage

2025-02-13 Thread Chunyan Zhang
On Fri, 14 Feb 2025 at 08:20, Anusha Srivatsa wrote: > > Replace platform_get_resource + devm_ioremap > with just devm_platform_ioremap_resource() > > Used Coccinelle to do this change. SmPl patch: > @rule_2@ > identifier res; > expression ioremap; > identifier pdev; > @@ > -struct resource *res;

Re: [PATCH v2 00/17] mm: fixes for device-exclusive entries (hmm)

2025-02-13 Thread Alistair Popple
On Thu, Feb 13, 2025 at 12:15:58PM +0100, David Hildenbrand wrote: > On 13.02.25 12:03, Alistair Popple wrote: > > On Mon, Feb 10, 2025 at 08:37:42PM +0100, David Hildenbrand wrote: > > > Against mm-hotfixes-stable for now. > > > > > > Discussing the PageTail() call in make_device_exclusive_range(

[PATCH v2 2/2] drm/edid: Refactor DisplayID timing block structs

2025-02-13 Thread Egor Vorontsov
Using le16 instead of u8[2]. Replaced an error with a printed warning as well. Suggested-by: Jani Nikula Signed-off-by: Egor Vorontsov --- drivers/gpu/drm/drm_displayid_internal.h | 22 drivers/gpu/drm/drm_edid.c | 32 2 files changed, 27

Re: [PATCH] vgaarbiter: documentation grammar correction

2025-02-13 Thread Pranav Tyagi
Hi, Just a gentle follow-up on this patch. It has been reviewed but hasn't been applied yet. Regards Pranav Tyagi On Thu, Feb 13, 2025 at 10:54 PM Pranav Tyagi wrote: > > Hi, > > Just a gentle follow-up on this patch. It has been reviewed by Bagas Sanjaya > but hasn't been applied yet. > > Re

[PATCH v2] drm/i915/gt: Replace kmap with its safer kmap_local_page counterpart

2025-02-13 Thread Andi Shyti
kmap_local_page(), unlike kmap(), performs a contextualized mapping of pages. This means the pages are mapped locally to the thread that created them, making them invisible outside the thread and safer to use. Replace kmap() and kunmap() with kmap_local_page() and kunmap_local() counterparts for i

Re: On community influencing (was Re: [PATCH v8 2/2] rust: add dma coherent allocator abstraction.)

2025-02-13 Thread Ronja Meyer
On 08.02.2025 21:44, Theodore Ts'o wrote: I'll let you in a secret. The maintainers are not "all-powerfui". We are the "thin blue line" that is trying to keep the code to be maintainable and high quality. Like most leaders of volunteer organization, whether it is the Internet Engineerint Task

Re: [PATCH v1 1/2] dt-bindings: mfd: Document TI LM3533 MFD

2025-02-13 Thread Daniel Thompson
On Wed, Feb 12, 2025 at 09:58:41AM +0200, Svyatoslav Ryhel wrote: > Add bindings for the LM3533 - a complete power source for > backlight, keypad, and indicator LEDs in smartphone handsets. > The high-voltage inductive boost converter provides the > power for two series LED strings display backligh

Re: [PATCH] vgaarbiter: documentation grammar correction

2025-02-13 Thread Pranav Tyagi
Hi, Just a gentle follow-up on this patch. It has been reviewed by Bagas Sanjaya but hasn't been applied yet. Regards, Pranav Tyagi On Sat, Feb 8, 2025 at 8:36 AM Bagas Sanjaya wrote: > On Fri, Feb 07, 2025 at 10:23:25PM +0530, Pranav Tyagi wrote: > > Corrects the following grammatical issues

Re: [PATCH v2 3/3] drm/ci: enable lockdep detection

2025-02-13 Thread Helen Mae Koike Fornazier
Hi Vignesh, thanks for your patch. Em ter., 11 de fev. de 2025 às 12:29, Vignesh Raman escreveu: > > We have enabled PROVE_LOCKING (which enables LOCKDEP) in drm-ci. > This will output warnings when kernel locking errors are encountered > and will continue executing tests. To detect if lockdep h

[PATCH v2] gpu: cdns-mhdp8546: fix call balance of mhdp->clk handling routines

2025-02-13 Thread Vitalii Mordan
If the clock mhdp->clk was not enabled in cdns_mhdp_probe(), it should not be disabled in any path. Use the devm_clk_get_enabled() helper function to ensure proper call balance for mhdp->clk. Found by Linux Verification Center (linuxtesting.org) with Klever. Fixes: fb43aa0acdfd ("drm: bridge: Ad

Re: On community influencing (was Re: [PATCH v8 2/2] rust: add dma coherent allocator abstraction.)

2025-02-13 Thread 33KK
Honestly, how about you accept the fact that maybe the problem is you? You're not doing any good by just scolding Hector for "social media brigading" and not addressing the core issue, especially considering that LKML drama always ends up on social media and on reaction content farms anyway, w

Re: [PATCH v2 1/3] drm/display: bridge-connector: add DisplayPort bridges

2025-02-13 Thread Dmitry Baryshkov
On Fri, Feb 14, 2025 at 01:57:45AM +0200, Laurent Pinchart wrote: > Hi Dmitry, > > Thank you for the patch. > > On Sun, Feb 09, 2025 at 03:41:18PM +0200, Dmitry Baryshkov wrote: > > DRM HDMI Codec framework is useful not only for the HDMI bridges, but > > also for the DisplayPort bridges. Add new

[PATCH 11/12] drm/vc4: move to devm_platform_ioremap_resource() usage

2025-02-13 Thread Anusha Srivatsa
Replace platform_get_resource_byname + devm_ioremap_resource with just devm_platform_ioremap_resource() Used Coccinelle to do this change. SmPl patch: //rule s/(devm_)platform_get_resource_byname + //(devm_)ioremap/devm_platform_ioremap_resource. @rule_3@ identifier res; expression ioremap; identi

[PATCH 12/12] Documentation: Update the todo

2025-02-13 Thread Anusha Srivatsa
Update the Documentation to be more precise. v2: Update for clarity v3: Further details in Todo Cc: Thomas Zimmermann Signed-off-by: Anusha Srivatsa --- Documentation/gpu/todo.rst | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Documentation/gpu/todo.rst b/Doc

[PATCH 10/12] drm/tiny: move to devm_platform_ioremap_resource() usage

2025-02-13 Thread Anusha Srivatsa
Replace platform_get_resource + devm_ioremap_resource with just devm_platform_ioremap_resource() Used Coccinelle to do this change. SmPl patch: @rule_1@ identifier res; expression ioremap_res; identifier pdev; @@ -struct resource *res; ... -res = platform_get_resource(pdev,...); -ioremap_res = dev

[PATCH 08/12] drm/stm: move to devm_platform_ioremap_resource() usage

2025-02-13 Thread Anusha Srivatsa
Replace platform_get_resource + devm_ioremap_resource with just devm_platform_ioremap_resource() Used Coccinelle to do this change. SmPl patch: @rule_1@ identifier res; expression ioremap_res; identifier pdev; @@ -struct resource *res; ... -res = platform_get_resource(pdev,...); -ioremap_res = dev

[PATCH 09/12] drm/tegra: move to devm_platform_ioremap_resource() usage

2025-02-13 Thread Anusha Srivatsa
Replace platform_get_resource + devm_ioremap_resource with just devm_platform_ioremap_resource() Used Coccinelle to do this change. SmPl patch: @rule_1@ identifier res; expression ioremap_res; identifier pdev; @@ -struct resource *res; ... -res = platform_get_resource(pdev,...); -ioremap_res = dev

[PATCH 07/12] drm/sti: move to devm_platform_ioremap_resource() usage

2025-02-13 Thread Anusha Srivatsa
Replace platform_get_resource/_byname + devm_ioremap with just devm_platform_ioremap_resource() Used Coccinelle to do this change. SmPl patch: @rule@ identifier res; expression ioremap; identifier pdev; constant mem; expression name; @@ -struct resource *res; ... -res = platform_get_resource_byna

[PATCH 06/12] drm/sprd: move to devm_platform_ioremap_resource() usage

2025-02-13 Thread Anusha Srivatsa
Replace platform_get_resource + devm_ioremap with just devm_platform_ioremap_resource() Used Coccinelle to do this change. SmPl patch: @rule_2@ identifier res; expression ioremap; identifier pdev; @@ -struct resource *res; ... -res = platform_get_resource(pdev,...); <... -if (!res) { -... -} ...>

[PATCH 05/12] drm/mxsfb: move to devm_platform_ioremap_resource() usage

2025-02-13 Thread Anusha Srivatsa
Replace platform_get_resource + devm_ioremap_resource with just devm_platform_ioremap_resource() Used Coccinelle to do this change. SmPl patch: @rule_1@ identifier res; expression ioremap_res; identifier pdev; @@ -struct resource *res; ... -res = platform_get_resource(pdev,...); -ioremap_res = dev

[PATCH 03/12] drm/hisilicon: move to devm_platform_ioremap_resource() usage

2025-02-13 Thread Anusha Srivatsa
Replace platform_get_resource + devm_ioremap_resource with just devm_platform_ioremap_resource() Used Coccinelle to do this change. SmPl patch: @rule_1@ identifier res; expression ioremap_res; identifier pdev; @@ -struct resource *res; ... -res = platform_get_resource(pdev,...); -ioremap_res = dev

[PATCH 04/12] drm/mediatek: move to devm_platform_ioremap_resource() usage

2025-02-13 Thread Anusha Srivatsa
Replace platform_get_resource + devm_ioremap_resource with just devm_platform_ioremap_resource() Used Coccinelle to do this change. SmPl patch: @rule_1@ identifier res; expression ioremap_res; identifier pdev; @@ -struct resource *res; ... -res = platform_get_resource(pdev,...); -ioremap_res = dev

[PATCH 02/12] drm/fsl-dcu: move to devm_platform_ioremap_resource() usage

2025-02-13 Thread Anusha Srivatsa
Replace platform_get_resource + devm_ioremap_resource with just devm_platform_ioremap_resource() Used Coccinelle to do this change. SmPl patch: @rule_1@ identifier res; expression ioremap_res; identifier pdev; @@ -struct resource *res; ... -res = platform_get_resource(pdev,...); -ioremap_res = dev

[PATCH 00/12] drm: Move to using devm_platform_ioremap_resource

2025-02-13 Thread Anusha Srivatsa
-- 28 files changed, 51 insertions(+), 172 deletions(-) --- base-commit: 68763b29e0a6441f57f9ee652bbf8e7bc59183e5 change-id: 20250213-mem-cocci-v3-5c10e2152e8f Best regards, -- Anusha Srivatsa

[PATCH 01/12] drm/aspeed: move to devm_platform_ioremap_resource() usage

2025-02-13 Thread Anusha Srivatsa
Replace platform_get_resource + devm_ioremap_resource with just devm_platform_ioremap_resource() Used Coccinelle to do this change. SmPl patch: @rule_1@ identifier res; expression ioremap_res; identifier pdev; @@ -struct resource *res; ... -res = platform_get_resource(pdev,...); -ioremap_res = dev

Re: [PATCH v2 1/3] drm/display: bridge-connector: add DisplayPort bridges

2025-02-13 Thread Laurent Pinchart
Hi Dmitry, Thank you for the patch. On Sun, Feb 09, 2025 at 03:41:18PM +0200, Dmitry Baryshkov wrote: > DRM HDMI Codec framework is useful not only for the HDMI bridges, but > also for the DisplayPort bridges. Add new DRM_BRIDGE_OP_DisplayPort > define in order to distinguish DP bridges. Create H

Re: [PATCH v4] drm/bridge: display-connector: implement the error path of .probe()

2025-02-13 Thread Laurent Pinchart
Hi Joe, Thank you for the patch. On Fri, Jan 31, 2025 at 04:34:53PM +0900, Joe Hattori wrote: > Current implementation of .probe() leaks a reference of i2c_adapter. > Implement an error path and call put_device() on the obtained > i2c_adapter in it to fix this refcount bug. > > Also, remove the

Re: [PATCH v8 2/6] drm/xe/guc: Don't store capture nodes in xe_devcoredump_snapshot

2025-02-13 Thread Dong, Zhanjun
LGTM Reviewed-by: Zhanjun Dong On 2025-02-13 2:51 p.m., Alan Previn wrote: GuC-Err-Capture should not be storing register snapshot nodes directly inside of the top level xe_devcoredump_snapshot structure that it doesn't control. Furthermore, that is is not right from a driver subsystem layering

Re: [PATCH v12 0/2] drm/atomic: Ease async flip restrictions

2025-02-13 Thread Dmitry Baryshkov
On Mon, 27 Jan 2025 16:59:38 -0300, André Almeida wrote: > The goal of this work is to find a nice way to allow amdgpu to perform > async page flips in the overlay plane as well, not only on the primary > one. Currently, when using the atomic uAPI, this is the only type of > plane allowed to do asy

Re: [PATCH 1/6] fbcon: Make cursor_blink=0 work when configured before fb devices appear

2025-02-13 Thread Helge Deller
On 2/13/25 15:42, Ville Syrjälä wrote: On Thu, Sep 26, 2024 at 12:13:04PM +0200, Helge Deller wrote: On 9/26/24 11:57, Ville Syrjälä wrote: On Thu, Sep 26, 2024 at 08:08:07AM +0200, Helge Deller wrote: Hi Ville, On 9/23/24 17:57, Ville Syrjala wrote: Currently setting cursor_blink attribute

Re: [PATCH v2 0/5] Handheld gaming PC panel orientation quirks

2025-02-13 Thread John Edwards
Hello, Thomas. On Thu, Feb 13, 2025 at 1:35 AM Thomas Zimmermann wrote: > > Hi > >Am 12.02.25 um 20:59 schrieb John Edwards: >> Hello, Thomas and Hans. >> >> On Wed, Feb 12, 2025 at 5:14 AM Hans de Goede wrote: >>> Hi, >>> >>> On 12-Feb-25 12:11 PM, Thomas Zimmermann wrote: Hi Am

[PATCH v3 2/5] drm: panel-orientation-quirks: Add quirks for AYA NEO Flip DS and KB

2025-02-13 Thread John Edwards
From: Andrew Wyatt The AYA NEO Flip DS and KB both use a 1080x1920 portrait LCD panel. The Flip DS additionally uses a 640x960 portrait LCD panel as a second display. Add DMI matches to correctly rotate these panels. Signed-off-by: Andrew Wyatt Co-developed-by: John Edwards Signed-off-by: Jo

[PATCH v3 4/5] drm: panel-orientation-quirks: Add new quirk for GPD Win 2

2025-02-13 Thread John Edwards
From: Andrew Wyatt Some GPD Win 2 units shipped with the correct DMI strings. Add a DMI match to correctly rotate the panel on these units. Signed-off-by: Andrew Wyatt Signed-off-by: John Edwards Tested-by: Paco Avelar Reviewed-by: Thomas Zimmermann Reviewed-by: Hans de Goede --- drivers/

[PATCH v3 1/5] drm: panel-orientation-quirks: Add support for AYANEO 2S

2025-02-13 Thread John Edwards
From: Andrew Wyatt AYANEO 2S uses the same panel and orientation as the AYANEO 2. Update the AYANEO 2 DMI match to also match AYANEO 2S. Signed-off-by: Andrew Wyatt Signed-off-by: John Edwards Tested-by: John Edwards Reviewed-by: Thomas Zimmermann Reviewed-by: Hans de Goede --- drivers/gp

[PATCH v3 5/5] drm: panel-orientation-quirks: Add quirk for OneXPlayer Mini (Intel)

2025-02-13 Thread John Edwards
From: Andrew Wyatt The Intel model of the OneXPlayer Mini uses a 1200x1920 portrait LCD panel. The DMI strings are the same as the OneXPlayer, which already has a DMI quirk, but the panel is different. Add a DMI match to correctly rotate this panel. Signed-off-by: Andrew Wyatt Co-developed-by:

[PATCH v3 3/5] drm: panel-orientation-quirks: Add quirk for AYA NEO Slide

2025-02-13 Thread John Edwards
From: Andrew Wyatt The AYANEO Slide uses a 1080x1920 portrait LCD panel. This is the same panel used on the AYANEO Air Plus, but the DMI data is too different to match both with one entry. Add a DMI match to correctly rotate the panel on the AYANEO Slide. This also covers the Antec Core HS, wh

[PATCH v3 0/5] Handheld gaming PC panel orientation quirks

2025-02-13 Thread John Edwards
Hello. I am submitting a small number of patches to add panel rotation quirks for a few handheld gaming PCs. These patches were created by the SteamFork team and are in daily use by us and/or members of our community. The following devices are covered by these patches: 1: AYANEO 2S 2: AYANEO Fli

Re: [PATCH v3 2/2] gpu: nova-core: add initial documentation

2025-02-13 Thread Matthew Brost
On Sun, Feb 09, 2025 at 06:30:25PM +0100, Danilo Krummrich wrote: > Add the initial documentation of the Nova project. > > The initial project documentation consists out of a brief introduction > of the project, as well as project guidelines both general and nova-core > specific and a task list fo

Re: [PATCH 1/6] drm/sched: Add internal job peek/pop API

2025-02-13 Thread Matthew Brost
On Wed, Feb 12, 2025 at 01:36:58PM +0100, Philipp Stanner wrote: > On Wed, 2025-02-12 at 12:30 +, Tvrtko Ursulin wrote: > > > > On 12/02/2025 10:40, Philipp Stanner wrote: > > > On Wed, 2025-02-12 at 09:32 +, Tvrtko Ursulin wrote: > > > > > > > > On 12/02/2025 09:02, Philipp Stanner wrote

Re: [PATCH 04/20] drm/panel/boe-bf060y8m-aj0: Move to using mipi_dsi_*_multi() variants

2025-02-13 Thread Dmitry Baryshkov
On Thu, Feb 13, 2025 at 03:44:21PM -0500, Anusha Srivatsa wrote: > Stop using deprecated API. > Used Coccinelle to make the change. > > @rule_3@ > identifier dsi_var; > identifier r; > identifier func; > type t; > position p; > expression dsi_device; > expression list es; > @@ > t func(...) { > ..

Re: [PATCH v5 00/32] Introduce GPU SVM and Xe SVM implementation

2025-02-13 Thread Demi Marie Obenour
On Wed, Feb 12, 2025 at 06:10:40PM -0800, Matthew Brost wrote: > Version 5 of GPU SVM. Thanks to everyone (especially Sima, Thomas, > Alistair, Himal) for their numerous reviews on revision 1, 2, 3 and for > helping to address many design issues. > > This version has been tested with IGT [1] on P

Re: [PATCH 03/20] drm/panel/asus-tm5p5-n35596: Move to using mipi_dsi_*_multi() variants

2025-02-13 Thread Dmitry Baryshkov
On Thu, Feb 13, 2025 at 03:44:20PM -0500, Anusha Srivatsa wrote: > Stop using deprecated API. > Used Coccinelle to make the change. > > > Signed-off-by: Anusha Srivatsa > --- > drivers/gpu/drm/panel/panel-asus-z00t-tm5p5-n35596.c | 6 ++ > 1 file changed, 2 insertions(+), 4 deletions(-) >

Re: [PATCH 02/20] drm/panel/visionox-r66451: Move to using mipi_dsi_*_multi() variants

2025-02-13 Thread Dmitry Baryshkov
On Thu, Feb 13, 2025 at 03:44:19PM -0500, Anusha Srivatsa wrote: > Stop using deprecated API. > Used Coccinelle to make the change. > > > Signed-off-by: Anusha Srivatsa > --- > drivers/gpu/drm/panel/panel-visionox-r66451.c | 156 > +- > 1 file changed, 75 insertions(+),

Re: [PATCH] drivers: video: backlight: Fix NULL Pointer Dereference in backlight_device_register()

2025-02-13 Thread Daniel Thompson
On Mon, Feb 03, 2025 at 03:21:23PM +0200, Jani Nikula wrote: > On Thu, 30 Jan 2025, Haoyu Li wrote: > > In the function "wled_probe", the "wled->name" is dynamically allocated > > (wled_probe -> wled_configure -> devm_kasprintf), which is possible > > to be null. > > > > In the call trace: wled_pr

Re: [PATCH 01/20] drm/panel/xpp055c272: Move to using mipi_dsi_*_multi() variants

2025-02-13 Thread Dmitry Baryshkov
On Thu, Feb 13, 2025 at 03:44:18PM -0500, Anusha Srivatsa wrote: > Stop using deprecated API. > Used Coccinelle to make the change. > [...] > > Signed-off-by: Anusha Srivatsa > --- > drivers/gpu/drm/panel/panel-xinpeng-xpp055c272.c | 138 > +++ > 1 file changed, 67 insert

[PATCH 16/20] drm/panel/ls043t1le01: Move to using mipi_dsi_*_multi() variants

2025-02-13 Thread Anusha Srivatsa
Stop using deprecated API. Used Coccinelle to make the change. @rule_3@ identifier dsi_var; identifier r; identifier func; type t; position p; expression dsi_device; expression list es; @@ t func(...) { ... struct mipi_dsi_device *dsi_var = dsi_device; +struct mipi_dsi_multi_context dsi_ctx = { .d

[PATCH 00/20] drm/panel: Move to using mipi_dsi_*_multi() variants when available

2025-02-13 Thread Anusha Srivatsa
A lot of mipi API are deprecated and have a _multi() variant which is the preferred way forward. This covers TODO in the gpu Documentation:[1] An incomplete effort was made in the previous version to address this[2]. It removed on the mipi_dsi_dcs_write_seq() and mipi_dsi_generic_write_seq_multi(

[PATCH 01/20] drm/panel/xpp055c272: Move to using mipi_dsi_*_multi() variants

2025-02-13 Thread Anusha Srivatsa
Stop using deprecated API. Used Coccinelle to make the change. @rule_3@ identifier dsi_var; identifier r; identifier func; type t; position p; expression dsi_device; expression list es; @@ t func(...) { ... struct mipi_dsi_device *dsi_var = dsi_device; +struct mipi_dsi_multi_context dsi_ctx = { .d

[PATCH 12/20] drm/panel/raydium-rm67191: Move to using mipi_dsi_*_multi() variants

2025-02-13 Thread Anusha Srivatsa
Stop using deprecated API. Used Coccinelle to make the change. @rule_3@ identifier dsi_var; identifier r; identifier func; type t; position p; expression dsi_device; expression list es; @@ t func(...) { ... struct mipi_dsi_device *dsi_var = dsi_device; +struct mipi_dsi_multi_context dsi_ctx = { .d

Re: [PATCH v5 RESEND 2/3] backlight: apple_dwi_bl: Add Apple DWI backlight driver

2025-02-13 Thread Daniel Thompson
On Mon, Feb 03, 2025 at 07:50:33PM +0800, Nick Chan wrote: > Add driver for backlight controllers attached via Apple DWI 2-wire > interface, which is found on some Apple iPhones, iPads and iPod touches > with a LCD display. > > Although there is an existing apple_bl driver, it is for backlight > co

Re: [PATCH v3 07/11] drm: xlnx: zynqmp: Use drm helpers when calculating buffer sizes

2025-02-13 Thread Laurent Pinchart
Hi Tomi, Thank you for the patch. On Wed, Feb 12, 2025 at 04:56:11PM +0200, Tomi Valkeinen wrote: > Use drm helpers, drm_format_info_plane_width(), > drm_format_info_plane_height() and drm_format_info_min_pitch() to > calculate sizes for the DMA. > > This cleans up the code, but also makes it po

[PATCH 20/20] Documentation: Update the documentation

2025-02-13 Thread Anusha Srivatsa
TODO addressed Cc: Douglas Anderson Signed-off-by: Anusha Srivatsa --- Documentation/gpu/todo.rst | 19 --- 1 file changed, 19 deletions(-) diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/todo.rst index 256d0d1cb2164bd94f9b610a751b907834d96a21..16231355b3bd31e50c9b

[PATCH 19/20] drm/panel: Remove deprecated functions

2025-02-13 Thread Anusha Srivatsa
With transition to newer functions, remove older ones that are no longer used. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/drm_mipi_dsi.c | 56 -- include/drm/drm_mipi_dsi.h | 47 --- 2 files changed, 103 deletion

[PATCH 18/20] drm/panel/sony-td4353-jdi: Move to using mipi_dsi_*_multi() variants

2025-02-13 Thread Anusha Srivatsa
Stop using deprecated API. Used Coccinelle to make the change. @rule_3@ identifier dsi_var; identifier r; identifier func; type t; position p; expression dsi_device; expression list es; @@ t func(...) { ... struct mipi_dsi_device *dsi_var = dsi_device; +struct mipi_dsi_multi_context dsi_ctx = { .d

[PATCH 17/20] drm/panel/ls060t1sx01: Move to using mipi_dsi_*_multi() variants

2025-02-13 Thread Anusha Srivatsa
Stop using deprecated API. Used Coccinelle to make the change. @rule_3@ identifier dsi_var; identifier r; identifier func; type t; position p; expression dsi_device; expression list es; @@ t func(...) { ... struct mipi_dsi_device *dsi_var = dsi_device; +struct mipi_dsi_multi_context dsi_ctx = { .d

[PATCH 15/20] drm/panel/samsung-sofef00: Move to using mipi_dsi_*_multi() variants

2025-02-13 Thread Anusha Srivatsa
Stop using deprecated API. Used Coccinelle to make the change. @rule_3@ identifier dsi_var; identifier r; identifier func; type t; position p; expression dsi_device; expression list es; @@ t func(...) { ... struct mipi_dsi_device *dsi_var = dsi_device; +struct mipi_dsi_multi_context dsi_ctx = { .d

[PATCH 09/20] drm/panel/jdi-lpm102a188a: Move to using mipi_dsi_*_multi() variants

2025-02-13 Thread Anusha Srivatsa
Stop using deprecated API. Used Coccinelle to make the change. @rule_2@ expression dsi_var; expression list es; identifier jdi; @@ struct mipi_dsi_device *dsi0 = pinfo->dsi[0]; struct mipi_dsi_device *dsi1 = pinfo->dsi[1]; +struct mipi_dsi_multi_context dsi_ctx0 = { .dsi = dsi0 }; +struct mipi_dsi

[PATCH 14/20] drm/panel/s6e88a0-ams452ef01: Move to using mipi_dsi_*_multi() variants

2025-02-13 Thread Anusha Srivatsa
Stop using deprecated API. Used Coccinelle to make the change. @rule_3@ identifier dsi_var; identifier r; identifier func; type t; position p; expression dsi_device; expression list es; @@ t func(...) { ... struct mipi_dsi_device *dsi_var = dsi_device; +struct mipi_dsi_multi_context dsi_ctx = { .d

[PATCH 13/20] drm/panel/samsung-s6d7aa0:Move to using mipi_dsi_*_multi() variants

2025-02-13 Thread Anusha Srivatsa
Stop using deprecated API. Used Coccinelle to make the change. @rule_3@ identifier dsi_var; identifier r; identifier func; type t; position p; expression dsi_device; expression list es; @@ t func(...) { ... struct mipi_dsi_device *dsi_var = dsi_device; +struct mipi_dsi_multi_context dsi_ctx = { .d

[PATCH 11/20] drm/panel/novatek-nt36523: Move to using mipi_dsi_*_multi() variants

2025-02-13 Thread Anusha Srivatsa
Stop using deprecated API. Used Coccinelle to make the change. @rule_1@ expression dsi_var; expression list es; identifier jdi; @@ struct mipi_dsi_device *dsi0 = pinfo->dsi[0]; struct mipi_dsi_device *dsi1 = pinfo->dsi[1]; +struct mipi_dsi_multi_context dsi_ctx0 = { .dsi = dsi0 }; +struct mipi_dsi

[PATCH 07/20] drm/panel/ebbg-ft8719: Move to using mipi_dsi_*_multi() variants

2025-02-13 Thread Anusha Srivatsa
Stop using deprecated API. Used Coccinelle to make the change. @rule_3@ identifier dsi_var; identifier r; identifier func; type t; position p; expression dsi_device; expression list es; @@ t func(...) { ... struct mipi_dsi_device *dsi_var = dsi_device; +struct mipi_dsi_multi_context dsi_ctx = { .d

[PATCH 10/20] drm/panel/jdi-lt070me05000: Move to using mipi_dsi_*_multi() variants

2025-02-13 Thread Anusha Srivatsa
Stop using deprecated API. Used Coccinelle to make the change. @rule_3@ identifier dsi_var; identifier r; identifier func; type t; position p; expression dsi_device; expression list es; @@ t func(...) { ... struct mipi_dsi_device *dsi_var = dsi_device; +struct mipi_dsi_multi_context dsi_ctx = { .d

[PATCH 08/20] drm/panel/himax-hx8394: Move to using mipi_dsi_*_multi() variants

2025-02-13 Thread Anusha Srivatsa
Stop using deprecated API. Used Coccinelle to make the change. @rule_3@ identifier dsi_var; identifier r; identifier func; type t; position p; expression dsi_device; expression list es; @@ t func(...) { ... struct mipi_dsi_device *dsi_var = dsi_device; +struct mipi_dsi_multi_context dsi_ctx = { .d

[PATCH 06/20] drm/panel/sony-nt35521: Move to using mipi_dsi_*_multi() variants

2025-02-13 Thread Anusha Srivatsa
Stop using deprecated API. Used Coccinelle to make the change. @rule_3@ identifier dsi_var; identifier r; identifier func; type t; position p; expression dsi_device; expression list es; @@ t func(...) { ... struct mipi_dsi_device *dsi_var = dsi_device; +struct mipi_dsi_multi_context dsi_ctx = { .d

[PATCH 05/20] drm/panel/dsi-cm: Move to using mipi_dsi_*_multi() variants

2025-02-13 Thread Anusha Srivatsa
Stop using deprecated API. Used Coccinelle to make the change. @rule_3@ identifier dsi_var; identifier r; identifier func; type t; position p; expression dsi_device; expression list es; @@ t func(...) { ... struct mipi_dsi_device *dsi_var = dsi_device; +struct mipi_dsi_multi_context dsi_ctx = { .d

[PATCH 04/20] drm/panel/boe-bf060y8m-aj0: Move to using mipi_dsi_*_multi() variants

2025-02-13 Thread Anusha Srivatsa
Stop using deprecated API. Used Coccinelle to make the change. @rule_3@ identifier dsi_var; identifier r; identifier func; type t; position p; expression dsi_device; expression list es; @@ t func(...) { ... struct mipi_dsi_device *dsi_var = dsi_device; +struct mipi_dsi_multi_context dsi_ctx = { .d

[PATCH 03/20] drm/panel/asus-tm5p5-n35596: Move to using mipi_dsi_*_multi() variants

2025-02-13 Thread Anusha Srivatsa
Stop using deprecated API. Used Coccinelle to make the change. @rule_3@ identifier dsi_var; identifier r; identifier func; type t; position p; expression dsi_device; expression list es; @@ t func(...) { ... struct mipi_dsi_device *dsi_var = dsi_device; +struct mipi_dsi_multi_context dsi_ctx = { .d

[PATCH 02/20] drm/panel/visionox-r66451: Move to using mipi_dsi_*_multi() variants

2025-02-13 Thread Anusha Srivatsa
Stop using deprecated API. Used Coccinelle to make the change. @rule_3@ identifier dsi_var; identifier r; identifier func; type t; position p; expression dsi_device; expression list es; @@ t func(...) { ... struct mipi_dsi_device *dsi_var = dsi_device; +struct mipi_dsi_multi_context dsi_ctx = { .d

Re: [PATCH v3 01/11] drm/fourcc: Add warning for bad bpp

2025-02-13 Thread Laurent Pinchart
Hi Tomi, Thank you for the patch. On Wed, Feb 12, 2025 at 04:56:05PM +0200, Tomi Valkeinen wrote: > drm_format_info_bpp() cannot be used for formats which do not have an > integer bits-per-pixel in a pixel block. > > E.g. DRM_FORMAT_XV15's (not yet in upstream) plane 0 has three 10-bit > pixels

Re: [PATCH v1 1/2] dt-bindings: display: bridge: Document Solomon SSD2825

2025-02-13 Thread Conor Dooley
On Thu, Feb 13, 2025 at 03:56:04PM +0200, Svyatoslav Ryhel wrote: > Add bindings for Solomon SSD2825 MIPI master bridge chip that connects an > application processor with traditional parallel LCD interface and an LCD > driver with MIPI slave interface. The SSD2825 supports both parallel RGB > inter

[PATCH v8 4/6] drm/xe/guc: Move xe_hw_engine_snapshot creation back to xe_hw_engine.c

2025-02-13 Thread Alan Previn
xe_devcoredump calls xe_engine_snapshot_capture_for_queue() to allocate and populate the xe_hw_engine_snapshot structure. Move that function back into xe_hw_engine.c since it doesn't make sense for GuC-Err-Capture to allocate a structure it doesn't own. v7: Rename function to respect "xe_hw_eng

  1   2   3   4   >