Re: [PATCH 1/6] dt-bindings: display: panel: Add another panel for RG35XX Plus (Rev6)

2024-11-24 Thread Krzysztof Kozlowski
On 24/11/2024 17:01, Krzysztof Kozlowski wrote: > On 24/11/2024 09:02, Hironori KIKUCHI wrote: >> +++ >> b/Documentation/devicetree/bindings/display/panel/anbernic,rg35xx-plus-rev6-panel.yaml >> @@ -0,0 +1,60 @@ >> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >>

Re: [PATCH 1/7] drm/tidss: Fix issue in irq handling causing irq-flood issue

2024-11-24 Thread Aradhya Bhatia
Hi Tomi, Devarsh, On 10/21/24 19:37, Tomi Valkeinen wrote: > It has been observed that sometimes DSS will trigger an interrupt and > the top level interrupt (DISPC_IRQSTATUS) is not zero, but the VP and > VID level interrupt-statuses are zero. Does this mean that there was a legitimate interrupt

Re: [PATCH 2/7] drm/tidss: Remove unused OCP error flag

2024-11-24 Thread Aradhya Bhatia
On 10/21/24 19:37, Tomi Valkeinen wrote: > We never use the DSS_IRQ_DEVICE_OCP_ERR flag, and the HW doesn't even > have such a bit... So remove it. > > Signed-off-by: Tomi Valkeinen Reviewed-by: Aradhya Bhatia Regards Aradhya [...]

Re: [PATCH 3/7] drm/tidss: Remove extra K2G check

2024-11-24 Thread Aradhya Bhatia
On 10/21/24 19:37, Tomi Valkeinen wrote: > We check if the platform is K2G in dispc_k3_clear_irqstatus(), and > return early if so. This cannot happen, as the _k3_ functions are never > called on K2G in the first place. So remove the check. > > Signed-off-by: Tomi Valkeinen Reviewed-by: Arad

Re: [PATCH v2 01/11] opp: core: implement dev_pm_opp_get_bw

2024-11-24 Thread Viresh Kumar
On 19-11-24, 18:56, Neil Armstrong wrote: > Add and implement the dev_pm_opp_get_bw() to retrieve > the OPP's bandwidth in the same way as the dev_pm_opp_get_voltage() > helper. > > Retrieving bandwidth is required in the case of the Adreno GPU > where the GPU Management Unit can handle the Bandwi

Re: [PATCH v3 2/9] dt-bindings: display/msm: dsi-controller-main: Document SM6150

2024-11-24 Thread fange zhang
On 2024/11/24 0:28, Krzysztof Kozlowski wrote: On Fri, Nov 22, 2024 at 05:56:45PM +0800, Fange Zhang wrote: From: Li Liu Document general compatibility of the DSI controller on SM6150. Signed-off-by: Li Liu Signed-off-by: Fange Zhang --- Documentation/devicetree/bindings/display/msm/ds

Re: [PATCH v9 1/4] drm: Introduce device wedged event

2024-11-24 Thread Aravind Iddamsetty
On 22/11/24 21:32, Raag Jadav wrote: > On Fri, Nov 22, 2024 at 11:09:32AM +0100, Christian König wrote: >> Am 22.11.24 um 08:07 schrieb Raag Jadav: >>> On Mon, Nov 18, 2024 at 08:26:37PM +0530, Aravind Iddamsetty wrote: On 15/11/24 10:37, Raag Jadav wrote: > Introduce device wedged event

[PATCH 2/5] gpu: drm: adp: Add Apple Display Pipe driver

2024-11-24 Thread Sasha Finkelstein via B4 Relay
From: Sasha Finkelstein This display controller is present on M-series chips and is used to drive the touchbar display. Co-developed-by: Janne Grunau Signed-off-by: Janne Grunau Signed-off-by: Sasha Finkelstein --- drivers/gpu/drm/Kconfig | 2 + drivers/gpu/drm/Makefile | 1 +

[PATCH 3/5] gpu: drm: adp: Add a backlight driver for the Summit LCD

2024-11-24 Thread Sasha Finkelstein via B4 Relay
From: Sasha Finkelstein This is the display panel used for the touchbar on laptops that have it. Co-developed-by: Nick Chan Signed-off-by: Nick Chan Signed-off-by: Sasha Finkelstein --- drivers/gpu/drm/adp/panel-summit.c | 108 + 1 file changed, 108 insert

[PATCH 1/5] dt-bindgins: display: Add Apple pre-DCP display controller bindings

2024-11-24 Thread Sasha Finkelstein via B4 Relay
From: Sasha Finkelstein Add bindings for a secondary display controller present on certain Apple laptops. Signed-off-by: Sasha Finkelstein --- .../bindings/display/apple,display-pipe.yaml | 59 ++ .../bindings/display/panel/apple,summit.yaml | 24 + 2 fi

[PATCH 0/5] Driver for pre-DCP apple display controller.

2024-11-24 Thread Sasha Finkelstein via B4 Relay
| 5 + drivers/gpu/drm/adp/adp_drv.c | 814 + drivers/gpu/drm/adp/panel-summit.c | 108 +++ 13 files changed, 1103 insertions(+) --- base-commit: 9f16d5e6f220661f73b36a4be1b21575651d8833 change-id: 20241124-adpdrm-25fce3dd8a71

[PATCH 4/5] arm64: dts: apple: Add touchbar screen nodes

2024-11-24 Thread Sasha Finkelstein via B4 Relay
From: Sasha Finkelstein Adds device tree entries for the touchbar screen Co-developed-by: Janne Grunau Signed-off-by: Janne Grunau Signed-off-by: Sasha Finkelstein --- arch/arm64/boot/dts/apple/t8103-j293.dts | 8 arch/arm64/boot/dts/apple/t8103.dtsi | 26 ++

[PATCH 5/5] MAINTAINERS: Add entries for touchbar display driver

2024-11-24 Thread Sasha Finkelstein via B4 Relay
From: Sasha Finkelstein Add the MAINTAINERS entries for the driver Signed-off-by: Sasha Finkelstein --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index e7f0170977013889ca7c39b17727ba36d32e92dc..1964bb705cae0b0f12e2174fc96c5cd123d31520 100644

[PATCH] drm/panel: st7701: Add prepare_prev_first flag to drm_panel

2024-11-24 Thread Marek Vasut
The DSI host must be enabled for the panel to be initialized in prepare(). Set the prepare_prev_first flag to guarantee this. This fixes the panel operation on NXP i.MX8MP SoC / Samsung DSIM DSI host. Fixes: 849b2e3ff969 ("drm/panel: Add Sitronix ST7701 panel driver") Signed-off-by: Marek Vasut -

Re: [PATCH 4/4] arm64: dts: qcom: x1e80100-hp-x14: dt for HP Omnibook X Laptop 14

2024-11-24 Thread Krishna Kurapati
On 11/24/2024 6:50 PM, Jens Glathe via B4 Relay wrote: From: Jens Glathe Introduce device tree for the HP Omnibook X Laptop 14-fe0750ng (hp-omnibook-x14). It is a Laptop based on the Qualcomm Snapdragon X Elite SoC. There seem to be other SKUs, some with Wifi-7 (WCN7850) instead of Wifi-6E (

Re: [PATCH v3 1/4] dt-bindings: display: panel: samsung,atna56ac03: Document ATNA56AC03

2024-11-24 Thread Krzysztof Kozlowski
On 24/11/2024 13:29, Maud Spierings wrote: >> If a tag was not added on purpose, please state why and what changed. >> >> >> Best regards, >> Krzysztof >> > I did indeed completely miss it, only focussed on the correction, Should > I make a new version? > Also this is my first time replying on th

Re: [PATCH v3 1/4] dt-bindings: display: panel: samsung,atna56ac03: Document ATNA56AC03

2024-11-24 Thread Krzysztof Kozlowski
On 24/11/2024 11:00, Maud Spierings via B4 Relay wrote: > From: Maud Spierings > > The Samsung ATNA56AC03 panel is an AMOLED eDP panel. > It is similar to the ATNA33xc20 except it is larger and has a different > resolution. > > Signed-off-by: Maud Spierings Acked-by: Krzysztof Kozlowski Best

Re: [PATCH v2 36/36] arm64: dts: broadcom: Add DT for D-step version of BCM2712

2024-11-24 Thread Florian Fainelli
From: Florian Fainelli On Fri, 25 Oct 2024 18:16:07 +0100, Dave Stevenson wrote: > The D-Step has some minor variations in the hardware, so needs > matching changes to DT. > > Add a new DTS file that modifies the existing (C-step) devicetree. > > Signed-off-by: Dave Stevenson > --- Applied

Re: [PATCH v3 1/4] dt-bindings: display: panel: samsung,atna56ac03: Document ATNA56AC03

2024-11-24 Thread Maud Spierings
On 11/24/24 12:00 PM, Krzysztof Kozlowski wrote: On Sun, Nov 24, 2024 at 11:00:57AM +0100, Maud Spierings wrote: The Samsung ATNA56AC03 panel is an AMOLED eDP panel. It is similar to the ATNA33xc20 except it is larger and has a different resolution. Signed-off-by: Maud Spierings --- This is

Re: [PATCH v14 2/28] dept: Implement Dept(Dependency Tracker)

2024-11-24 Thread Yunseong Kim
Hi Byungchul, Thank you for the great feature. Currently, DEPT has a bug in the 'dept_key_destroy()' function that must be fixed to ensure proper operation in the upstream Linux kernel. On 5/8/24 6:46 오후, Byungchul Park wrote: > CURRENT STATUS > -- > Lockdep tracks acquisition order o

Re: [PATCH v2 35/36] arm64: dts: broadcom: Add display pipeline support to BCM2712

2024-11-24 Thread Florian Fainelli
From: Florian Fainelli On Fri, 25 Oct 2024 18:16:06 +0100, Dave Stevenson wrote: > Adds the HVS and associated hardware blocks to support the HDMI > and writeback connectors on BCM2712 / Pi5. > > Signed-off-by: Dave Stevenson > --- Applied to https://github.com/Broadcom/stblinux/commits/devi

Re: [PATCH v2 34/36] arm64: dts: broadcom: Add firmware clocks and power nodes to Pi5 DT

2024-11-24 Thread Florian Fainelli
From: Florian Fainelli On Fri, 25 Oct 2024 18:16:05 +0100, Dave Stevenson wrote: > BCM2712 still uses the firmware clocks and power drivers, so add > them to the base device tree. > > Signed-off-by: Dave Stevenson > --- Applied to https://github.com/Broadcom/stblinux/commits/devicetree-arm64

Re: [PATCH 4/7] drm/tidss: Add printing of underflows

2024-11-24 Thread Aradhya Bhatia
On 10/21/24 19:37, Tomi Valkeinen wrote: > Add printing of underflows the same way as we handle sync losts. > > Signed-off-by: Tomi Valkeinen Reviewed-by: Aradhya Bhatia Regards Aradhya [...]

Re: [PATCH 5/7] drm/tidss: Clear the interrupt status for interrupts being disabled

2024-11-24 Thread Aradhya Bhatia
On 10/21/24 19:37, Tomi Valkeinen wrote: > From: Devarsh Thakkar > > The driver does not touch the irqstatus register when it is disabling > interrupts. This might cause an interrupt to trigger for an interrupt > that was just disabled. > > To fix the issue, clear the irqstatus registers rig

Re: [PATCH 6/7] drm/tidss: Fix race condition while handling interrupt registers

2024-11-24 Thread Aradhya Bhatia
On 10/21/24 19:37, Tomi Valkeinen wrote: > From: Devarsh Thakkar > > The driver has a spinlock for protecting the irq_masks field and irq > enable registers. However, the driver misses protecting the irq status > registers which can lead to races. > > Take the spinlock when accessing irqstatu

Re: [PATCH 7/7] drm/tidss: Rename 'wait_lock' to 'irq_lock'

2024-11-24 Thread Aradhya Bhatia
On 10/21/24 19:37, Tomi Valkeinen wrote: > The 'wait_lock' name seems to be a copy-paste from omapdrm, and makes no > sense here. Rename it to 'irq_lock'. Also clarify the related comment to > make it clear what it protects, and drop any comments related to > 'wait_list' which doesn't exist in t

Re: [PATCH v3 2/5] drm/virtio: Add a helper to map and note the dma addrs and lengths

2024-11-24 Thread Dmitry Osipenko
On 11/19/24 08:59, Vivek Kasireddy wrote: > +long virtgpu_dma_buf_import_sgt(struct virtio_gpu_mem_entry **ents, > + unsigned int *nents, > + struct virtio_gpu_object *bo, > + struct dma_buf_attachment *attach) Nit

Re: [PATCH 1/5] dt-bindgins: display: Add Apple pre-DCP display controller bindings

2024-11-24 Thread Rob Herring (Arm)
[warning] wrong indentation: expected 10 but found 8 (indentation) dtschema/dtc warnings/errors: doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20241124-adpdrm-v1-1-3191d8e6e...@gmail.com The base for the series is generally the late

Re: [PATCH v2 2/5] drm/virtio: Add a helper to map and note the dma addrs and lengths

2024-11-24 Thread Dmitry Osipenko
On 11/20/24 06:44, Kasireddy, Vivek wrote: > Hi Dmitry, > >> Subject: Re: [PATCH v2 2/5] drm/virtio: Add a helper to map and note the >> dma addrs and lengths >> >> ... >>> After rebasing v2 of this patch series on top of the above patch, I see that >>> this use-case works as expected with Qemu ma

Re: [PATCH v3 4/5] drm/virtio: Import prime buffers from other devices as guest blobs

2024-11-24 Thread Dmitry Osipenko
On 11/19/24 08:59, Vivek Kasireddy wrote: > struct drm_gem_object *virtgpu_gem_prime_import_sg_table( > @@ -281,3 +335,4 @@ struct drm_gem_object *virtgpu_gem_prime_import_sg_table( > { > return ERR_PTR(-ENODEV); > } > + Nit: superfluous extra newline -- Best regards, Dmitry

Re: [PATCH v3 3/5] drm/virtio: Add helpers to initialize and free the imported object

2024-11-24 Thread Dmitry Osipenko
On 11/19/24 08:59, Vivek Kasireddy wrote: > +static void virtgpu_dma_buf_free_obj(struct drm_gem_object *obj) > +{ > + struct virtio_gpu_object *bo = gem_to_virtio_gpu_obj(obj); > + struct virtio_gpu_device *vgdev = obj->dev->dev_private; > + struct dma_buf_attachment *attach = obj->imp

Re: [PATCH v2 2/5] drm/virtio: Add a helper to map and note the dma addrs and lengths

2024-11-24 Thread Dmitry Osipenko
On 10/29/24 09:18, Kasireddy, Vivek wrote: > So, I believe we need to call pin and or dma_resv_wait_timeout(resv, > DMA_RESV_USAGE_WRITE,) at some point, as part of import, given > these rules. On a second look, you should be right. That resv-wait should be needed. -- Best regards, Dmitry

Re: [PATCH v4] drm/virtio: Add drm_panic support

2024-11-24 Thread Dmitry Osipenko
On 11/19/24 13:21, Jocelyn Falempe wrote: ... >> In the virtio_panic_flush() below, >> virtio_gpu_panic_cmd_transfer_to_host_2d() is invoked only for dumb BOs. >> Thus, only dumb BO supports panic output and should be accepted by >> get_scanout_buffer(), other should be rejected with ENODEV here, A

Re: [PATCH v3 7/9] drm/msm/dsi: Add support for SM6150

2024-11-24 Thread fange zhang
On 2024/11/22 18:10, Dmitry Baryshkov wrote: On Fri, Nov 22, 2024 at 05:56:50PM +0800, Fange Zhang wrote: From: Li Liu Add support for DSI 2.3.1 (block used on SM6150). Signed-off-by: Li Liu Signed-off-by: Fange Zhang --- drivers/gpu/drm/msm/dsi/dsi_cfg.c | 4 +++- drivers/gpu/drm/msm

Re: [PATCH v2] mediatek: dsi: Correct calculation formula of PHY Timing

2024-11-24 Thread Jens Ziller
Am Thu, 21 Nov 2024 03:50:02 + schrieb CK Hu (胡俊光) : > Hi, Shuijing: > > On Sun, 2024-10-27 at 14:32 +0100, Jens Ziller wrote: > > External email : Please do not click links or open attachments > > until you have verified the sender or the content. > > > > > > Am Fri, 12 Apr 2024 11:11:39 +

Re: [PATCH v14 2/28] dept: Implement Dept(Dependency Tracker)

2024-11-24 Thread Byungchul Park
On Sun, Nov 24, 2024 at 10:34:02PM +0900, Yunseong Kim wrote: > Hi Byungchul, > > Thank you for the great feature. Currently, DEPT has a bug in the > 'dept_key_destroy()' function that must be fixed to ensure proper > operation in the upstream Linux kernel. > > On 5/8/24 6:46 오후, Byungchul Park w

[PATCH 1/2] dt-bindings: display: simple: Document Multi-Inno Technology MI0700A2T-30 panel

2024-11-24 Thread Marek Vasut
Add Multi-Inno Technology MI0700A2T-30 7" 800x480 LVDS panel compatible string. Signed-off-by: Marek Vasut --- Cc: Conor Dooley Cc: David Airlie Cc: Jessica Zhang Cc: Krzysztof Kozlowski Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Neil Armstrong Cc: Rob Herring Cc: Sam Ravnborg Cc: Simon

[PATCH 2/2] drm/panel: simple: add Multi-Inno Technology MI0700A2T-30

2024-11-24 Thread Marek Vasut
Add Multi-Inno Technology MI0700A2T-30 7" 800x480 LVDS panel support. Signed-off-by: Marek Vasut --- Cc: Conor Dooley Cc: David Airlie Cc: Jessica Zhang Cc: Krzysztof Kozlowski Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Neil Armstrong Cc: Rob Herring Cc: Sam Ravnborg Cc: Simona Vetter

Re: [PATCH v3 5/9] drm/msm/dpu: Add SM6150 support

2024-11-24 Thread fange zhang
On 2024/11/22 18:07, Dmitry Baryshkov wrote: On Fri, Nov 22, 2024 at 05:56:48PM +0800, Fange Zhang wrote: From: Li Liu Add definitions for the display hardware used on the Qualcomm SM6150 platform. Signed-off-by: Li Liu Signed-off-by: Fange Zhang --- .../gpu/drm/msm/disp/dpu1/catalog/d

[PATCH AUTOSEL 6.1 07/48] drm/mcde: Enable module autoloading

2024-11-24 Thread Sasha Levin
From: Liao Chen [ Upstream commit 8a16b5cdae26207ff4c22834559384ad3d7bc970 ] Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from of_device_id table. Signed-off-by: Liao Chen Reviewed-by: Linus Walleij Link: https://patchwork.freedesktop.org/patch/msgid/

[PATCH v4 0/3] drm/tidss: Add OLDI bridge support

2024-11-24 Thread Aradhya Bhatia
Hello all, This patch series add support for the dual OLDI TXes supported in Texas Instruments' AM62x and AM62Px family of SoCs. The OLDI TXes support single-lvds lvds-clone, and dual-lvds modes. These have now been represented through DRM bridges within TI-DSS. - Some history and hardware descr

[PATCH v4 1/3] dt-bindings: display: ti, am65x-dss: Re-indent the example

2024-11-24 Thread Aradhya Bhatia
From: Aradhya Bhatia Reduce tab size from 8 spaces to 4 spaces to make the bindings consistent, and easy to expand. Acked-by: Rob Herring (Arm) Reviewed-by: Laurent Pinchart Reviewed-by: Tomi Valkeinen Signed-off-by: Aradhya Bhatia Signed-off-by: Aradhya Bhatia --- .../bindings/display/ti/

[PATCH v4 3/3] drm/tidss: Add OLDI bridge support

2024-11-24 Thread Aradhya Bhatia
From: Aradhya Bhatia The AM62x and AM62Px SoCs feature 2 OLDI TXes each, which makes it possible to connect them in dual-link or cloned single-link OLDI display modes. The current OLDI support in tidss_dispc.c can only support for a single OLDI TX, connected to a VP and doesn't really support con

[PATCH v4 2/3] dt-bindings: display: ti: Add schema for AM625 OLDI Transmitter

2024-11-24 Thread Aradhya Bhatia
From: Aradhya Bhatia The OLDI transmitters (TXes) do not have registers of their own, and are dependent on the source video-ports (VPs) from the DSS to provide configuration data. This hardware doesn't directly sit on the internal bus of the SoC, but does so via the DSS. Hence, the OLDI TXes are

Re: [PATCH 4/6] drm: panel: nv3052c: Add a panel for RG40XX series

2024-11-24 Thread Philippe Simons
Tested on RG40XX-V Tested-by: Philippe Simons On 24/11/2024 09:02, Hironori KIKUCHI wrote: This is a display panel used in the Anbernic RG40XX series (H and V), a handheld gaming device from Anbernic. It is 4.00 inches in size (diagonally) with a resolution of 640x480. Signed-off-by: Hironori

Re: [PATCH 6/6] drm: panel: nv3052c: Add a panel for RG CubeXX

2024-11-24 Thread Philippe Simons
Tested on RG CubeXX Tested-by: Philippe Simons On 24/11/2024 09:02, Hironori KIKUCHI wrote: This is a display panel used in the Anbernic RG CubeXX, a handheld gaming device from Anbernic. It is 3.95 inches in size (diagonally) with a resolution of 720x720. Signed-off-by: Hironori KIKUCHI ---

[PATCH 1/4] dt-bindings: arm: qcom: Add HP Omnibook X 14

2024-11-24 Thread Jens Glathe via B4 Relay
From: Jens Glathe Add compatible values for the HP Omnibook X Laptop 14-fe0750ng, using "hp,omnibook-x14" The laptop is based on the Snapdragon X Elite (x1e80100) SoC. PDF link: https://www8.hp.com/h20195/V2/GetPDF.aspx/c08989140 Signed-off-by: Jens Glathe --- Documentation/devicetree/bindin

[PATCH 2/4] firmware: qcom: scm: Allow QSEECOM for HP Omnibook X14

2024-11-24 Thread Jens Glathe via B4 Relay
From: Jens Glathe add "hp,omnibook-x14" as compatible device for QSEECOM This is required to get access to efivars and uefi boot loader support. Signed-off-by: Jens Glathe --- drivers/firmware/qcom/qcom_scm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/firmware/qcom/qcom_scm.c

[PATCH 3/4] drm/panel-edp: Add unknown BOE panel for HP Omnibook X14

2024-11-24 Thread Jens Glathe via B4 Relay
From: Jens Glathe Seems to be like NV140DRM-N61 but with touch. Haven't disassembled the lid to look. Due to lack of information, use the delay_200_500_e200 timings like many other BOE panels do for now. The raw EDID of the panel is: 00 ff ff ff ff ff ff 00 09 e5 93 0c 00 00 00 00 25 21 01 04

[PATCH AUTOSEL 6.12 005/107] drm/vc4: hdmi: Increase audio MAI fifo dreq threshold

2024-11-24 Thread Sasha Levin
From: Dom Cobley [ Upstream commit 59f8b2b7fb8e460881d21c7d5b32604993973879 ] Now we wait for write responses and have a burst size of 4, we can set the fifo threshold much higher. Set it to 28 (of the 32 entry size) to keep fifo fuller and reduce chance of underflow. Signed-off-by: Dom Cobley

[PATCH AUTOSEL 6.12 003/107] drm/vc4: hdmi: Avoid log spam for audio start failure

2024-11-24 Thread Sasha Levin
From: Dom Cobley [ Upstream commit b4e5646178e86665f5caef2894578600f597098a ] We regularly get dmesg error reports of: [ 18.184066] hdmi-audio-codec hdmi-audio-codec.3.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19 [ 18.184098] MAI: soc_pcm_open() failed (-19) These are generat

[PATCH AUTOSEL 6.12 004/107] drm/vc4: hvs: Set AXI panic modes for the HVS

2024-11-24 Thread Sasha Levin
From: Dave Stevenson [ Upstream commit 014eccc9da7bfc76a3107fceea37dd60f1d63630 ] The HVS can change AXI request mode based on how full the COB FIFOs are. Until now the vc4 driver has been relying on the firmware to have set these to sensible values. With HVS channel 2 now being used for live v

[PATCH AUTOSEL 6.12 001/107] drm/xe/pciids: separate RPL-U and RPL-P PCI IDs

2024-11-24 Thread Sasha Levin
From: Jani Nikula [ Upstream commit d454902a690db47f1880f963514bbf0fc7a129a8 ] Avoid including PCI IDs for one platform to the PCI IDs of another. It's more clear to deal with them completely separately at the PCI ID macro level. Reviewed-by: Sai Teja Pottumuttu Signed-off-by: Jani Nikula Lin

[PATCH AUTOSEL 6.12 002/107] drm/xe/pciids: separate ARL and MTL PCI IDs

2024-11-24 Thread Sasha Levin
From: Jani Nikula [ Upstream commit cdb56a63f7eef34e89b045fc8bcae8d326bbdb19 ] Avoid including PCI IDs for one platform to the PCI IDs of another. It's more clear to deal with them completely separately at the PCI ID macro level. Reviewed-by: Shekhar Chauhan Signed-off-by: Jani Nikula Link:

[PATCH AUTOSEL 6.12 017/107] drm/amd/display: Fix out-of-bounds access in 'dcn21_link_encoder_create'

2024-11-24 Thread Sasha Levin
From: Srinivasan Shanmugam [ Upstream commit 63de35a8fcfca59ae8750d469a7eb220c7557baf ] An issue was identified in the dcn21_link_encoder_create function where an out-of-bounds access could occur when the hpd_source index was used to reference the link_enc_hpd_regs array. This array has a fixed

[PATCH AUTOSEL 6.12 018/107] drm/radeon/r600_cs: Fix possible int overflow in r600_packet3_check()

2024-11-24 Thread Sasha Levin
From: Igor Artemiev [ Upstream commit a1e2da6a5072f8abe5b0feaa91a5bcd9dc544a04 ] It is possible, although unlikely, that an integer overflow will occur when the result of radeon_get_ib_value() is shifted to the left. Avoid it by casting one of the operands to larger data type (u64). Found by L

[PATCH AUTOSEL 6.12 016/107] drm/amd/display: Block UHBR Based On USB-C PD Cable ID

2024-11-24 Thread Sasha Levin
From: Michael Strauss [ Upstream commit 4f01a68751194d05280d659a65758c09e4af04d6 ] [WHY] Currently the absence of UHBR cable ID caps from USB-C PD does not block UHBR rates. In situations where DPCD reports valid UHBR capability but USB-C PD does not, such as using a USB-C to DP1.4 dongle connec

[PATCH AUTOSEL 6.12 006/107] drm/xe/pciids: Add PVC's PCI device ID macros

2024-11-24 Thread Sasha Levin
From: Rodrigo Vivi [ Upstream commit 5b40191152282e1f25d7b9826bcda41be927b39f ] Add PVC PCI IDs to the xe_pciids.h header. They're not yet used in the driver. Cc: Daniele Ceraolo Spurio Cc: Lucas De Marchi Cc: Thomas Hellström Reviewed-by: Lucas De Marchi Acked-by: Simona Vetter Signed-off

[PATCH AUTOSEL 6.12 011/107] drm: panel-orientation-quirks: Add quirk for AYA NEO Founder edition

2024-11-24 Thread Sasha Levin
From: Joaquín Ignacio Aramendía [ Upstream commit d7972d735ca80a40a571bf753c138263981a5698 ] Add quirk orientation for AYA NEO Founder. The name appears with spaces in DMI strings as other devices of the brand. The panel is the same as the NEXT and 2021 models. Those could not be reused as the f

[PATCH AUTOSEL 6.12 014/107] drm/mcde: Enable module autoloading

2024-11-24 Thread Sasha Levin
From: Liao Chen [ Upstream commit 8a16b5cdae26207ff4c22834559384ad3d7bc970 ] Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from of_device_id table. Signed-off-by: Liao Chen Reviewed-by: Linus Walleij Link: https://patchwork.freedesktop.org/patch/msgid/

[PATCH AUTOSEL 6.12 009/107] udmabuf: change folios array from kmalloc to kvmalloc

2024-11-24 Thread Sasha Levin
From: Huan Yang [ Upstream commit 1c0844c6184e658064e14c4335885785ad3bf84b ] When PAGE_SIZE 4096, MAX_PAGE_ORDER 10, 64bit machine, page_alloc only support 4MB. If above this, trigger this warn and return NULL. udmabuf can change size limit, if change it to 3072(3GB), and then alloc 3GB udmabuf

[PATCH AUTOSEL 6.12 013/107] drm/bridge: it6505: Enable module autoloading

2024-11-24 Thread Sasha Levin
From: Liao Chen [ Upstream commit 1e2ab24cd708b1c864ff983ee1504c0a409d2f8e ] Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from of_device_id table. Signed-off-by: Liao Chen Reviewed-by: Neil Armstrong Link: https://patchwork.freedesktop.org/patch/msgid

[PATCH AUTOSEL 6.12 008/107] drm/xe/pciid: Add new PCI id for ARL

2024-11-24 Thread Sasha Levin
From: Dnyaneshwar Bhadane [ Upstream commit 35667a0330612bb25a689e4d3a687d47cede1d7a ] Add new PCI id for ARL platform. v2: Fix typo in PCI id (SaiTeja) Signed-off-by: Dnyaneshwar Bhadane Reviewed-by: Sai Teja Pottumuttu Reviewed-by: Tejas Upadhyay Signed-off-by: Matt Roper Link: https://

[PATCH AUTOSEL 6.12 023/107] drm/amd/display: disable SG displays on cyan skillfish

2024-11-24 Thread Sasha Levin
From: Alex Deucher [ Upstream commit 66369db7fdd7d58d78673bf83d2b87ea623efb63 ] These parts were mainly for compute workloads, but they have a display that was available for the console. These chips should support SG display, but I don't know that the support was ever validated on Linux so disa

[PATCH AUTOSEL 6.12 022/107] drm/amd/display: Fix garbage or black screen when resetting otg

2024-11-24 Thread Sasha Levin
From: Zhongwei [ Upstream commit ffa1e31f70d2e97c121709b44a8960f5d7becb10 ] [Why] For some EDP to MIPI panel, disabling OTG when link is alive like boot case, the converter might output garbage or show no display because our GPU is not sending required pixel data. Alos Dig fifo underflow was fou

[PATCH AUTOSEL 6.12 012/107] drm: panel-orientation-quirks: Add quirk for AYA NEO GEEK

2024-11-24 Thread Sasha Levin
From: Joaquín Ignacio Aramendía [ Upstream commit 428656feb972ca99200fc127b5aecb574efd9d3d ] Add quirk orientation for AYA NEO GEEK. The name appears without spaces in DMI strings. The board name is completely different to the previous models making it difficult to reuse their quirks despite bei

[PATCH AUTOSEL 6.12 010/107] drm: panel-orientation-quirks: Add quirk for AYA NEO 2 model

2024-11-24 Thread Sasha Levin
From: Joaquín Ignacio Aramendía [ Upstream commit 361ebf5ef843b0aa1704c72eb26b91cf76c3c5b7 ] Add quirk orientation for AYA NEO 2. The name appears without spaces in DMI strings. That made it difficult to reuse the 2021 match. Also the display is larger in resolution. Tested by the JELOS team th

[PATCH AUTOSEL 6.12 021/107] drm/amd/display: skip disable CRTC in seemless bootup case

2024-11-24 Thread Sasha Levin
From: Fudongwang [ Upstream commit 0e37e4b9afbd08df1f00a70bbb4d1ec273d18c9e ] Resync FIFO is a workaround to write the same value to DENTIST_DISPCLK_CNTL register after programming OTG_PIXEL_RATE_DIV register, in case seemless boot, there is no OTG_PIXEL_RATE_DIV register update, so skip CRTC di

[PATCH AUTOSEL 6.12 024/107] drm/xe/ptl: L3bank mask is not available on the media GT

2024-11-24 Thread Sasha Levin
From: Shekhar Chauhan [ Upstream commit 9ab440a9d0426cf7842240891cc457155db1a97e ] On PTL platforms with media version 30.00, the fuse registers for reporting L3 bank availability to the GT just read out as ~0 and do not provide proper values. Xe does not use the L3 bank mask for anything inter

[PATCH AUTOSEL 6.12 025/107] drm/xe/xe3: Add initial set of workarounds

2024-11-24 Thread Sasha Levin
From: Gustavo Sousa [ Upstream commit 081cb8948cfe322076cd23f22f85ba68f73e2c4b ] Implement the initial set of workarounds for Xe3 IPs. Signed-off-by: Gustavo Sousa Signed-off-by: Matt Atwood Reviewed-by: Matt Roper Signed-off-by: Matt Roper Link: https://patchwork.freedesktop.org/patch/msg

[PATCH AUTOSEL 6.12 034/107] drm/amd/display: Full exit out of IPS2 when all allow signals have been cleared

2024-11-24 Thread Sasha Levin
From: Leo Chen [ Upstream commit 0fe33e115fec305c35c66b78ad26e3755ab54b9c ] [Why] A race condition occurs between cursor movement and vertical interrupt control thread from OS, with both threads trying to exit IPS2. Vertical interrupt control thread clears the prev driver allow signal while not

[PATCH AUTOSEL 6.12 033/107] accel/qaic: Add AIC080 support

2024-11-24 Thread Sasha Levin
From: Jeffrey Hugo [ Upstream commit b8128f7815ff135f0333c1b46dcdf1543c41b860 ] Add basic support for the new AIC080 product. The PCIe Device ID is 0xa080. AIC080 is a lower cost, lower performance SKU variant of AIC100. >From the qaic perspective, it is the same as AIC100. Reviewed-by: Troy Ha

[PATCH AUTOSEL 6.12 026/107] drm/display: Fix building with GCC 15

2024-11-24 Thread Sasha Levin
From: Brahmajit Das [ Upstream commit a500f3751d3c861be7e4463c933cf467240cca5d ] GCC 15 enables -Werror=unterminated-string-initialization by default. This results in the following build error drivers/gpu/drm/display/drm_dp_dual_mode_helper.c: In function ‘is_hdmi_adaptor’: drivers/gpu/drm/dis

[PATCH AUTOSEL 6.12 062/107] drm/amdgpu: Dereference the ATCS ACPI buffer

2024-11-24 Thread Sasha Levin
From: Prike Liang [ Upstream commit 32e7ee293ff476c67b51be006e986021967bc525 ] Need to dereference the atcs acpi buffer after the method is executed, otherwise it will result in a memory leak. Signed-off-by: Prike Liang Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher Signed-off-by: Sas

[PATCH AUTOSEL 6.12 061/107] drm/amdgpu: clear RB_OVERFLOW bit when enabling interrupts for vega20_ih

2024-11-24 Thread Sasha Levin
From: Victor Lu [ Upstream commit 8b22f048331dfd45fdfbf0efdfb1d43deff7518d ] Port this change to vega20_ih.c: commit afbf7955ff01 ("drm/amdgpu: clear RB_OVERFLOW bit when enabling interrupts") Original commit message: "Why: Setting IH_RB_WPTR register to 0 will not clear the RB_OVERFLOW bit if

[PATCH AUTOSEL 6.12 058/107] drm/sched: memset() 'job' in drm_sched_job_init()

2024-11-24 Thread Sasha Levin
From: Philipp Stanner [ Upstream commit 2320c9e6a768d135c7b0039995182bb1a4e4fd22 ] drm_sched_job_init() has no control over how users allocate struct drm_sched_job. Unfortunately, the function can also not set some struct members such as job->sched. This could theoretically lead to UB by users

[PATCH AUTOSEL 6.12 055/107] drm/panel: simple: Add Microchip AC69T88A LVDS Display panel

2024-11-24 Thread Sasha Levin
From: Manikandan Muralidharan [ Upstream commit 40da1463cd6879f542238b36c1148f517927c595 ] Add support for Microchip AC69T88A 5 inch TFT LCD 800x480 Display module with LVDS interface.The panel uses the Sitronix ST7262 800x480 Display driver Signed-off-by: Manikandan Muralidharan Signed-off-by

[PATCH AUTOSEL 6.12 080/107] drm/amd/display: Remove hw w/a toggle if on DP2/HPO

2024-11-24 Thread Sasha Levin
From: Ausef Yousof [ Upstream commit b4c804628485af2b46f0d24a87190735cac37d61 ] [why&how] Applying a hw w/a only relevant to DIG FIFO causing corruption using HPO, do not apply the w/a if on DP2/HPO Reviewed-by: Charlene Liu Signed-off-by: Ausef Yousof Signed-off-by: Zaeem Mohamed Tested-by:

[PATCH AUTOSEL 6.12 067/107] drm/amd/display: Fix underflow when playing 8K video in full screen mode

2024-11-24 Thread Sasha Levin
From: Leo Ma [ Upstream commit 4007f07a47de4a277f4760cac3aed1b31d973eea ] [Why&How] Flickering observed while playing 8k HEVC-10 bit video in full screen mode with black border. We didn't support this case for subvp. Make change to the existing check to disable subvp for this corner case. Revie

[PATCH AUTOSEL 6.12 064/107] drm/amdgpu: refine error handling in amdgpu_ttm_tt_pin_userptr

2024-11-24 Thread Sasha Levin
From: Lang Yu [ Upstream commit 46186667f98fb7158c98f4ff5da62c427761ffcd ] Free sg table when dma_map_sgtable() failed to avoid memory leak. Signed-off-by: Lang Yu Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c |

[PATCH AUTOSEL 6.12 086/107] drm/amdgpu: set the right AMDGPU sg segment limitation

2024-11-24 Thread Sasha Levin
From: Prike Liang [ Upstream commit e2e97435783979124ba92d6870415c57ecfef6a5 ] The driver needs to set the correct max_segment_size; otherwise debug_dma_map_sg() will complain about the over-mapping of the AMDGPU sg length as following: WARNING: CPU: 6 PID: 1964 at kernel/dma/debug.c:1178 debu

[PATCH AUTOSEL 6.12 082/107] drm/amd/display: Prune Invalid Modes For HDMI Output

2024-11-24 Thread Sasha Levin
From: Fangzhi Zuo [ Upstream commit abdd2768d7630bc8ec3403aea24f4197bada3c1f ] [Why] 1. HDMI does not have 6 bpc support. Having 6 bpc pass validation does not comply with spec. 2. Validate 420 only for native HDMI, but not apply to pcon use case. 3. Current mode validation log is not readable.

[PATCH AUTOSEL 6.12 081/107] drm/amd/display: parse umc_info or vram_info based on ASIC

2024-11-24 Thread Sasha Levin
From: Aurabindo Pillai [ Upstream commit 2551b4a321a68134360b860113dd460133e856e5 ] An upstream bug report suggests that there are production dGPUs that are older than DCN401 but still have a umc_info in VBIOS tables with the same version as expected for a DCN401 product. Hence, reading this tab

[PATCH AUTOSEL 6.12 078/107] drm/panic: Add ABGR2101010 support

2024-11-24 Thread Sasha Levin
From: Jocelyn Falempe [ Upstream commit 04596969eea9e73b64d63be52aabfddb382e9ce6 ] Add support for ABGR2101010, used by the nouveau driver. Signed-off-by: Jocelyn Falempe Reviewed-by: Javier Martinez Canillas Link: https://patchwork.freedesktop.org/patch/msgid/20241022185553.1103384-2-jfale.

[PATCH AUTOSEL 6.11 12/87] drm/bridge: it6505: Enable module autoloading

2024-11-24 Thread Sasha Levin
From: Liao Chen [ Upstream commit 1e2ab24cd708b1c864ff983ee1504c0a409d2f8e ] Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from of_device_id table. Signed-off-by: Liao Chen Reviewed-by: Neil Armstrong Link: https://patchwork.freedesktop.org/patch/msgid

[PATCH AUTOSEL 6.11 06/87] drm/xe/pciids: Add PVC's PCI device ID macros

2024-11-24 Thread Sasha Levin
From: Rodrigo Vivi [ Upstream commit 5b40191152282e1f25d7b9826bcda41be927b39f ] Add PVC PCI IDs to the xe_pciids.h header. They're not yet used in the driver. Cc: Daniele Ceraolo Spurio Cc: Lucas De Marchi Cc: Thomas Hellström Reviewed-by: Lucas De Marchi Acked-by: Simona Vetter Signed-off

[PATCH AUTOSEL 6.11 03/87] drm/vc4: hdmi: Avoid log spam for audio start failure

2024-11-24 Thread Sasha Levin
From: Dom Cobley [ Upstream commit b4e5646178e86665f5caef2894578600f597098a ] We regularly get dmesg error reports of: [ 18.184066] hdmi-audio-codec hdmi-audio-codec.3.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19 [ 18.184098] MAI: soc_pcm_open() failed (-19) These are generat

[PATCH AUTOSEL 6.11 05/87] drm/vc4: hdmi: Increase audio MAI fifo dreq threshold

2024-11-24 Thread Sasha Levin
From: Dom Cobley [ Upstream commit 59f8b2b7fb8e460881d21c7d5b32604993973879 ] Now we wait for write responses and have a burst size of 4, we can set the fifo threshold much higher. Set it to 28 (of the 32 entry size) to keep fifo fuller and reduce chance of underflow. Signed-off-by: Dom Cobley

[PATCH AUTOSEL 6.11 02/87] drm/xe/pciids: separate ARL and MTL PCI IDs

2024-11-24 Thread Sasha Levin
From: Jani Nikula [ Upstream commit cdb56a63f7eef34e89b045fc8bcae8d326bbdb19 ] Avoid including PCI IDs for one platform to the PCI IDs of another. It's more clear to deal with them completely separately at the PCI ID macro level. Reviewed-by: Shekhar Chauhan Signed-off-by: Jani Nikula Link:

[PATCH AUTOSEL 6.11 01/87] drm/xe/pciids: separate RPL-U and RPL-P PCI IDs

2024-11-24 Thread Sasha Levin
From: Jani Nikula [ Upstream commit d454902a690db47f1880f963514bbf0fc7a129a8 ] Avoid including PCI IDs for one platform to the PCI IDs of another. It's more clear to deal with them completely separately at the PCI ID macro level. Reviewed-by: Sai Teja Pottumuttu Signed-off-by: Jani Nikula Lin

[PATCH AUTOSEL 6.11 11/87] drm: panel-orientation-quirks: Add quirk for AYA NEO GEEK

2024-11-24 Thread Sasha Levin
From: Joaquín Ignacio Aramendía [ Upstream commit 428656feb972ca99200fc127b5aecb574efd9d3d ] Add quirk orientation for AYA NEO GEEK. The name appears without spaces in DMI strings. The board name is completely different to the previous models making it difficult to reuse their quirks despite bei

[PATCH AUTOSEL 6.11 10/87] drm: panel-orientation-quirks: Add quirk for AYA NEO Founder edition

2024-11-24 Thread Sasha Levin
From: Joaquín Ignacio Aramendía [ Upstream commit d7972d735ca80a40a571bf753c138263981a5698 ] Add quirk orientation for AYA NEO Founder. The name appears with spaces in DMI strings as other devices of the brand. The panel is the same as the NEXT and 2021 models. Those could not be reused as the f

[PATCH AUTOSEL 6.11 13/87] drm/mcde: Enable module autoloading

2024-11-24 Thread Sasha Levin
From: Liao Chen [ Upstream commit 8a16b5cdae26207ff4c22834559384ad3d7bc970 ] Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from of_device_id table. Signed-off-by: Liao Chen Reviewed-by: Linus Walleij Link: https://patchwork.freedesktop.org/patch/msgid/

[PATCH AUTOSEL 6.11 04/87] drm/vc4: hvs: Set AXI panic modes for the HVS

2024-11-24 Thread Sasha Levin
From: Dave Stevenson [ Upstream commit 014eccc9da7bfc76a3107fceea37dd60f1d63630 ] The HVS can change AXI request mode based on how full the COB FIFOs are. Until now the vc4 driver has been relying on the firmware to have set these to sensible values. With HVS channel 2 now being used for live v

[PATCH AUTOSEL 6.11 09/87] drm: panel-orientation-quirks: Add quirk for AYA NEO 2 model

2024-11-24 Thread Sasha Levin
From: Joaquín Ignacio Aramendía [ Upstream commit 361ebf5ef843b0aa1704c72eb26b91cf76c3c5b7 ] Add quirk orientation for AYA NEO 2. The name appears without spaces in DMI strings. That made it difficult to reuse the 2021 match. Also the display is larger in resolution. Tested by the JELOS team th

[PATCH AUTOSEL 6.11 07/87] drm/xe/pciid: Add new PCI id for ARL

2024-11-24 Thread Sasha Levin
From: Dnyaneshwar Bhadane [ Upstream commit 35667a0330612bb25a689e4d3a687d47cede1d7a ] Add new PCI id for ARL platform. v2: Fix typo in PCI id (SaiTeja) Signed-off-by: Dnyaneshwar Bhadane Reviewed-by: Sai Teja Pottumuttu Reviewed-by: Tejas Upadhyay Signed-off-by: Matt Roper Link: https://

[PATCH AUTOSEL 6.11 08/87] udmabuf: change folios array from kmalloc to kvmalloc

2024-11-24 Thread Sasha Levin
From: Huan Yang [ Upstream commit 1c0844c6184e658064e14c4335885785ad3bf84b ] When PAGE_SIZE 4096, MAX_PAGE_ORDER 10, 64bit machine, page_alloc only support 4MB. If above this, trigger this warn and return NULL. udmabuf can change size limit, if change it to 3072(3GB), and then alloc 3GB udmabuf

[PATCH 4/4] arm64: dts: qcom: x1e80100-hp-x14: dt for HP Omnibook X Laptop 14

2024-11-24 Thread Jens Glathe via B4 Relay
From: Jens Glathe Introduce device tree for the HP Omnibook X Laptop 14-fe0750ng (hp-omnibook-x14). It is a Laptop based on the Qualcomm Snapdragon X Elite SoC. There seem to be other SKUs, some with Wifi-7 (WCN7850) instead of Wifi-6E (WCN6855). This dt explicitly supports WCN6855, I haven't fou

[PATCH 0/4] arm64: dts: qcom: x1e80100-hp-x14: dt for HP Omnibook X Laptop 14

2024-11-24 Thread Jens Glathe via B4 Relay
Introduce device tree for the HP Omnibook X Laptop 14-fe0750ng (hp-omnibook-x14). It is a Laptop based on the Qualcomm Snapdragon X Elite SoC. There seem to be other SKUs, some with Wifi-7 (WCN7850) instead of Wifi-6E (WCN6855). This dt explicitly supports WCN6855, I haven't found a good way yet to

[PATCH AUTOSEL 6.11 15/87] drm/amd/display: Block UHBR Based On USB-C PD Cable ID

2024-11-24 Thread Sasha Levin
From: Michael Strauss [ Upstream commit 4f01a68751194d05280d659a65758c09e4af04d6 ] [WHY] Currently the absence of UHBR cable ID caps from USB-C PD does not block UHBR rates. In situations where DPCD reports valid UHBR capability but USB-C PD does not, such as using a USB-C to DP1.4 dongle connec

  1   2   3   >