[RFC] drm/i915: Add GuC submission interface version query

2024-02-07 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Add a new query to the GuC submission interface version. Mesa intends to use this information to check for old firmware versions with a known bug where using the render and compute command streamers simultaneously can cause GPU hangs due issues in firmware scheduling.

[PULL] drm-intel-next

2024-02-07 Thread Jani Nikula
Hi Dave & Sima - drm-intel-next-2024-02-07: drm/i915 feature pull for v6.9: Features and functionality: - Early transport for panel replay and PSR (Jouni) - New ARL PCI IDs (Matt) - DP TPS4 PHY test pattern support (Khaled) Refactoring and cleanups: - Unify and improve VSC SDP for PSR and

Re: [PATCH v5 0/2] phy: mtk-mipi-csi: add driver for CSI phy

2024-02-07 Thread Vinod Koul
On 11-01-24, 11:14, Julien Stephan wrote: > Adding a new driver for the MIPI CSI CD-PHY module v 0.5 embedded in > some Mediatek soc, such as the MT8365 You would want to fix the way you send patches, the series is disjoint. I had to apply them manually, but please fix your process -- ~Vinod

Re: xe vs amdgpu userptr handling

2024-02-07 Thread Maíra Canal
Adding another point to this discussion, would it make sense to somehow create a generic structure that all drivers, including shmem drivers, could use it? Best Regards, - Maíra On 2/7/24 03:56, Dave Airlie wrote: I'm just looking over the userptr handling in both drivers, and of course

Re: [PATCH] drm: panel-orientation-quirks: Add quirk for Aya Neo KUN

2024-02-07 Thread Dmitry Baryshkov
On Tue, 6 Feb 2024 at 01:57, wrote: > > From: Tobias Jakobi > > Similar to the other Aya Neo devices this one features > again a portrait screen, here with a native resolution > of 1600x2560. > > Signed-off-by: Tobias Jakobi As you don't seem to be the author of the patch, this needs your

Re: [PATCH v3 2/2] drm/bridge: cdns-dsi: Add support for StarFive JH7110 SoC

2024-02-07 Thread Dmitry Baryshkov
On Tue, 6 Feb 2024 at 08:57, Shengyang Chen wrote: > > From: Keith Zhao > > Add display bridge support for dsi on StarFive JH7110 SoC. > > The mainly modification is followed: > 1.Add extra clock and reset operation for JH7110. > 2.Add callback for JH7110. > > Signed-off-by: Keith Zhao

Re: [PATCH 1/2] drm: display: make dp_aux_bus_type const

2024-02-07 Thread Dmitry Baryshkov
On Tue, 6 Feb 2024 at 17:03, Daniel Vetter wrote: > > On Sun, Feb 04, 2024 at 10:24:46AM +0100, Dmitry Baryshkov wrote: > > On Sat, 3 Feb 2024 at 22:20, Ricardo B. Marliere > > wrote: > > > > > > Now that the driver core can properly handle constant struct bus_type, > > > move the

Re: [PATCH 0/2] drivers: drm: struct bus_type cleanup

2024-02-07 Thread Dmitry Baryshkov
On Sat, 03 Feb 2024 15:25:02 -0300, Ricardo B. Marliere wrote: > This series is part of an effort to cleanup the users of the driver > core, as can be seen in many recent patches authored by Greg across the > tree (e.g. [1]). Specifically, this series is part of the task of > splitting one of his

[PATCH v3 4/4] ARM: configs: at91: Enable LVDS serializer support

2024-02-07 Thread Dharma Balasubiramani
Enable LVDS serializer support for display pipeline. Signed-off-by: Dharma Balasubiramani Acked-by: Hari Prasath Gujulan Elango Acked-by: Nicolas Ferre --- Changelog v2 -> v3 - No Changes. --- arch/arm/configs/at91_dt_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v3 3/4] MAINTAINERS: add SAM9X7 SoC's LVDS controller

2024-02-07 Thread Dharma Balasubiramani
Add the newly added LVDS controller for the SAM9X7 SoC to the existing MAINTAINERS entry. Signed-off-by: Dharma Balasubiramani Reviewed-by: Neil Armstrong Acked-by: Nicolas Ferre --- Changelog v2 -> v3 - Move the entry before "MICROCHIP SAMA5D2-COMPATIBLE ADC DRIVER". v1 -> v2 - No Changes.

[PATCH v3 2/4] drm/bridge: add lvds controller support for sam9x7

2024-02-07 Thread Dharma Balasubiramani
Add a new LVDS controller driver for sam9x7 which does the following: - Prepares and enables the LVDS Peripheral clock - Defines its connector type as DRM_MODE_CONNECTOR_LVDS and adds itself to the global bridge list. - Identifies its output endpoint as panel and adds it to the encoder display

[PATCH v3 0/4] LVDS Controller Support for SAM9X75 SoC

2024-02-07 Thread Dharma Balasubiramani
This patch series introduces LVDS controller support for the SAM9X75 SoC. The LVDS controller is designed to work with Microchip's sam9x7 series System-on-Chip (SoC) devices, providing Low Voltage Differential Signaling capabilities. Patch series Changelog: - Include configs: at91: Enable LVDS

[PATCH v3 1/4] dt-bindings: display: bridge: add sam9x75-lvds compatible

2024-02-07 Thread Dharma Balasubiramani
Add the 'sam9x75-lvds' compatible binding, which describes the Low Voltage Differential Signaling (LVDS) Controller found on some Microchip's sam9x7 series System-on-Chip (SoC) devices. This binding will be used to define the properties and configuration for the LVDS Controller in DT.

Re: [PATCH] drm/i915/gt: Prevent possible NULL dereference in __caps_show()

2024-02-07 Thread Nikita Zhandarovich
Hello, On 2/7/24 01:16, Tvrtko Ursulin wrote: > > Hi, > > On 06/02/2024 16:45, Nikita Zhandarovich wrote: >> After falling through the switch statement to default case 'repr' is >> initialized with NULL, which will lead to incorrect dereference of >> '!repr[n]' in the following loop. >> >> Fix

[PATCH v2] accel/ivpu: Fix DevTLB errors on suspend/resume and recovery

2024-02-07 Thread Jacek Lawrynowicz
Issue IP reset before shutdown in order to complete all upstream requests to the SOC. Without this DevTLB is complaining about incomplete transactions and NPU cannot resume from suspend. This problem is only happening on recent IFWI releases. IP reset in rare corner cases can mess up PCI

Re: [PATCH v4 1/9] drm/mediatek: dsi: Use GENMASK() for register mask definitions

2024-02-07 Thread Alexandre Mergnat
On 06/02/2024 16:53, AngeloGioacchino Del Regno wrote:   #define DSI_PSCTRL    0x1c -#define DSI_PS_WC    0x3fff -#define DSI_PS_SEL    (3 << 16) +#define DSI_PS_WC    GENMASK(14, 0) +#define DSI_PS_SEL    GENMASK(19, 16) 0011 =>

Re: [PATCH v2 2/2] fbcon: Defer console takeover for splash screens to first switch

2024-02-07 Thread Daniel Vetter
On Wed, Feb 07, 2024 at 10:03:10AM +0800, Daniel van Vugt wrote: > On 6/2/24 23:41, Mario Limonciello wrote: > > On 2/6/2024 08:21, Daniel Vetter wrote: > >> On Tue, Feb 06, 2024 at 06:10:51PM +0800, Daniel van Vugt wrote: > >>> Until now, deferred console takeover only meant defer until there is

[bug report] drm/bridge: imx: add driver for HDMI TX Parallel Video Interface

2024-02-07 Thread Dan Carpenter
Hello Lucas Stach, This is a semi-automatic email about new static checker warnings. drivers/gpu/drm/bridge/imx/imx8mp-hdmi-pvi.c:81 imx8mp_hdmi_pvi_bridge_enable() warn: variable dereferenced before check 'bridge_state' (see line 54) drivers/gpu/drm/bridge/imx/imx8mp-hdmi-pvi.c 53

Re: [PATCH] drm/mgag200: Add a workaround for low-latency

2024-02-07 Thread Thomas Zimmermann
Hi Am 06.02.24 um 23:21 schrieb Jocelyn Falempe: We found a regression in v5.10 on real-time server, using the rt-kernel and the mgag200 driver. It's some really specialized workload, with <10us latency expectation on isolated core. After the v5.10, the real time tasks missed their <10us

Re: [PATCH] dt-bindings: backlight: qcom-wled: Fix bouncing email addresses

2024-02-07 Thread Daniel Thompson
On Fri, Feb 02, 2024 at 11:01:51AM -0700, Jeffrey Hugo wrote: > Bjorn is no longer at Linaro. Update his email address to @kernel to > match the .mailmap entry. > > The servers for @codeaurora are long retired and messages sent there > will bounce. Update Kiran's email address to match the

Re: [etnaviv-next v13 7/7] drm/etnaviv: Add support for vivante GPU cores attached via PCI(e)

2024-02-07 Thread Daniel Vetter
On Wed, Feb 07, 2024 at 01:27:59AM +0800, Sui Jingfeng wrote: > The component helper functions are the glue, which is used to bind multiple > GPU cores to a virtual master platform device. Which is fine and works well > for the SoCs who contains multiple GPU cores. > > The problem is that

Re: Re: linux-next: build failure after merge of the drm-misc tree

2024-02-07 Thread Jani Nikula
On Wed, 07 Feb 2024, Thomas Hellström wrote: > Indeed. Not even drm-misc itself compiles with xe enabled. I'll ping > drm-misc maintainers. We'll need CONFIG_DRM_XE=m enabled in drm-rerere/drm-misc-*_defconfig, and get people to use that. BR, Jani. -- Jani Nikula, Intel

Re: [PATCH] drm/bridge: imx8mp-hdmi-pvi: Fix build warnings

2024-02-07 Thread Neil Armstrong
Hi, On Tue, 06 Feb 2024 18:23:04 -0600, Adam Ford wrote: > Two separate build warnings were reported. One from an > uninitialized variable, and the other from returning 0 > instead of NULL from a pointer. > > Thanks, Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git

Re: [PATCH] drm/bridge: imx8mp-hdmi-pvi: Fix build warnings

2024-02-07 Thread Neil Armstrong
On 07/02/2024 10:22, Fabio Estevam wrote: Hi Adam, On Tue, Feb 6, 2024 at 9:23 PM Adam Ford wrote: Two separate build warnings were reported. One from an uninitialized variable, and the other from returning 0 instead of NULL from a pointer. Fixes: 059c53e877ca ("drm/bridge: imx: add driver

Re: [PATCH] drm/bridge: imx8mp-hdmi-pvi: Fix build warnings

2024-02-07 Thread Fabio Estevam
Hi Adam, On Tue, Feb 6, 2024 at 9:23 PM Adam Ford wrote: > > Two separate build warnings were reported. One from an > uninitialized variable, and the other from returning 0 > instead of NULL from a pointer. > > Fixes: 059c53e877ca ("drm/bridge: imx: add driver for HDMI TX Parallel Video >

Re: [PATCH v2] drm/panel: re-alphabetize the menu list

2024-02-07 Thread Neil Armstrong
Hi, On Sun, 04 Feb 2024 22:27:08 -0800, Randy Dunlap wrote: > A few of the DRM_PANEL entries have become out of alphabetical order, > so move them around a bit to restore alpha order. > > Thanks, Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-next) [1/1] drm/panel:

Re: [PATCH 5/5] drm/panel: simple: push blanking limit on RK32FN48H

2024-02-07 Thread Neil Armstrong
Hi, On Mon, 05 Feb 2024 10:26:50 +0100, Raphael Gallais-Pou wrote: > Push horizontal front porch and vertical back porch blanking limit. > This allows to get a 60 fps sharp. > > Thanks, Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-next) [5/5] drm/panel: simple:

Re: (subset) [PATCH 0/5] Add display support for stm32mp135f-dk board

2024-02-07 Thread Neil Armstrong
Hi, On Mon, 05 Feb 2024 10:06:50 +0100, Raphael Gallais-Pou wrote: > This serie aims to enable display support for the stm32mp135f-dk board > > Those are only patches of the device-tree since the driver support has > already been added [1]. > > It respectivelly: > - adds support for the

Re: [PATCH] drm/i915/gt: Prevent possible NULL dereference in __caps_show()

2024-02-07 Thread Tvrtko Ursulin
Hi, On 06/02/2024 16:45, Nikita Zhandarovich wrote: After falling through the switch statement to default case 'repr' is initialized with NULL, which will lead to incorrect dereference of '!repr[n]' in the following loop. Fix it with the help of an additional check for NULL. Found by Linux

Re: [PATCH] drm/bridge: imx8mp-hdmi-pvi: Fix build warnings

2024-02-07 Thread Neil Armstrong
On 07/02/2024 01:23, Adam Ford wrote: Two separate build warnings were reported. One from an uninitialized variable, and the other from returning 0 instead of NULL from a pointer. Fixes: 059c53e877ca ("drm/bridge: imx: add driver for HDMI TX Parallel Video Interface") Reported-by:

Re: [PATCH 2/2] drm/vkms: Use a simpler composition function

2024-02-07 Thread Pekka Paalanen
On Tue, 6 Feb 2024 14:57:48 -0300 Arthur Grillo wrote: > On 02/02/24 16:45, Pekka Paalanen wrote: ... > > Would it be possible to have a standardised benchmark specifically > > for performance rather than correctness, in IGT or where-ever it > > would make sense? Then it would be simple to

Re: [PATCH v3 1/7] drm/mediatek: dsi: Use GENMASK() for register mask definitions

2024-02-07 Thread 胡俊光

Re: [PATCH] mm/cma: Drop cma_get_name()

2024-02-07 Thread Anshuman Khandual
On 2/7/24 03:55, Andrew Morton wrote: > On Tue, 6 Feb 2024 09:45:18 +0530 Anshuman Khandual > wrote: > >> cma_get_name() just returns cma->name without any additional transformation >> unlike other helpers such as cma_get_base() and cma_get_size(). This helper >> is not worth the additional

<    1   2