Re: [PATCH] net: ethernet: ti: am65-cpsw: Add minimal XDP support

2024-02-26 Thread Simon Horman
On Fri, Feb 23, 2024 at 12:01:37PM +0100, Julien Panis wrote: > This patch adds XDP (eXpress Data Path) support to TI AM65 CPSW > Ethernet driver. The following features are implemented: > - NETDEV_XDP_ACT_BASIC (XDP_PASS, XDP_TX, XDP_DROP, XDP_ABORTED) > - NETDEV_XDP_ACT_REDIRECT (XDP_REDIRECT) >

Re: UAPI Re: [PATCH 1/3] drm: Add DRM_MODE_TV_MODE_MONOCHROME

2024-02-26 Thread Dave Stevenson
Hi Pekka Sorry for the slight delay in replying. On Mon, 26 Feb 2024 at 15:11, Pekka Paalanen wrote: > > On Mon, 26 Feb 2024 15:10:45 +0100 > Maxime Ripard wrote: > > > Hi Pekka, > > > > On Wed, Feb 21, 2024 at 11:07:51AM +0200, Pekka Paalanen wrote: > > > On Fri, 16 Feb 2024 18:48:55 + >

Re: [DO NOT MERGE v6 08/37] clocksource: sh_tmu: CLOCKSOURCE support.

2024-02-26 Thread Geert Uytterhoeven
Hi Saton-san, Thanks for your patch! Please drop the period at the end of the one-line summary. On Tue, Jan 9, 2024 at 9:23 AM Yoshinori Sato wrote: > Allows initialization as CLOCKSOURCE. Please explain why this is needed. E.g. Add support for early registration using

Re: [PATCH 1/3] drm/amdgpu: Refuse to create a KMS FB for non-P2P exported dma-bufs

2024-02-26 Thread Christian König
Am 26.02.24 um 17:50 schrieb Michel Dänzer: On 2024-02-26 17:46, Michel Dänzer wrote: On 2024-02-26 17:34, Christian König wrote: My question is why has it worked so far? I mean we are not doing this since yesterday and the problem only shows up now? Yes, Wayland compositors are only

Re: [PATCH 1/3] drm/amdgpu: Refuse to create a KMS FB for non-P2P exported dma-bufs

2024-02-26 Thread Michel Dänzer
On 2024-02-26 17:46, Michel Dänzer wrote: > On 2024-02-26 17:34, Christian König wrote: > >> My question is why has it worked so far? I mean we are not doing this since >> yesterday and the problem only shows up now? > > Yes, Wayland compositors are only starting to try and make use of this

Re: [PATCH 1/3] drm/amdgpu: Refuse to create a KMS FB for non-P2P exported dma-bufs

2024-02-26 Thread Michel Dänzer
On 2024-02-26 17:34, Christian König wrote: > Am 26.02.24 um 17:27 schrieb Michel Dänzer: >> On 2024-02-26 16:58, Christian König wrote: >>> Am 23.02.24 um 17:43 schrieb Michel Dänzer: On 2024-02-23 11:04, Michel Dänzer wrote: > On 2024-02-23 10:34, Christian König wrote: >> Am

Re: [PATCH 3/3] [v2] drm/xe/xe2: fix 64-bit division in pte_update_size

2024-02-26 Thread Lucas De Marchi
On Mon, Feb 26, 2024 at 01:46:38PM +0100, Arnd Bergmann wrote: From: Arnd Bergmann This function does not build on 32-bit targets when the compiler fails to reduce DIV_ROUND_UP() into a shift: ld.lld: error: undefined symbol: __aeabi_uldivmod referenced by xe_migrate.c

Re: [PATCH v2 9/9] drm/vkms: Create KUnit tests for YUV conversions

2024-02-26 Thread Arthur Grillo
On 23/02/24 08:37, Louis Chauvet wrote: > From: Arthur Grillo > > Create KUnit tests to test the conversion between YUV and RGB. Test each > conversion and range combination with some common colors. > > Signed-off-by: Arthur Grillo > [Louis Chauvet: fix minor formating issues (whitespace,

Re: [PATCH 1/3] drm/amdgpu: Refuse to create a KMS FB for non-P2P exported dma-bufs

2024-02-26 Thread Christian König
Am 26.02.24 um 17:27 schrieb Michel Dänzer: On 2024-02-26 16:58, Christian König wrote: Am 23.02.24 um 17:43 schrieb Michel Dänzer: On 2024-02-23 11:04, Michel Dänzer wrote: On 2024-02-23 10:34, Christian König wrote: Am 23.02.24 um 09:11 schrieb Michel Dänzer: On 2024-02-23 08:06,

Re: [PATCH 1/3] drm/amdgpu: Refuse to create a KMS FB for non-P2P exported dma-bufs

2024-02-26 Thread Michel Dänzer
On 2024-02-26 16:58, Christian König wrote: > Am 23.02.24 um 17:43 schrieb Michel Dänzer: >> On 2024-02-23 11:04, Michel Dänzer wrote: >>> On 2024-02-23 10:34, Christian König wrote: Am 23.02.24 um 09:11 schrieb Michel Dänzer: > On 2024-02-23 08:06, Christian König wrote: >> Am

Re: [RFC] drm/fourcc: Add RPI modifiers

2024-02-26 Thread Jacopo Mondi
Hi Sima On Mon, Feb 26, 2024 at 04:46:24PM +0100, Daniel Vetter wrote: > On Mon, 26 Feb 2024 at 16:39, Jacopo Mondi > wrote: > > > > Add modifiers for the Raspberry Pi PiSP compressed formats. > > > > The compressed formats are documented at: > >

Re: [DO NOT MERGE v6 02/37] sh: Kconfig unified OF supported targets.

2024-02-26 Thread Geert Uytterhoeven
Hi Sato-san, On Tue, Jan 9, 2024 at 9:23 AM Yoshinori Sato wrote: > Targets that support OF should be treated as one board. > > Signed-off-by: Yoshinori Sato Thanks for your patch! > --- a/arch/sh/Kconfig > +++ b/arch/sh/Kconfig > @@ -710,6 +710,7 @@ choice > prompt "Kernel command

Re: [PATCH] MAINTAINERS: Update drm.git URL

2024-02-26 Thread Javier Martinez Canillas
On Mon, Feb 26, 2024 at 5:13 PM Maxime Ripard wrote: > > On Mon, Feb 26, 2024 at 04:43:04PM +0100, Javier Martinez Canillas wrote: > > Maxime Ripard writes: > > > > Hello Maxime, > > > > > Now that the main DRM tree has moved to Gitlab, adjust the MAINTAINERS > > > git trees to reflect the

Re: [PATCH] MAINTAINERS: Update drm.git URL

2024-02-26 Thread Maxime Ripard
On Mon, Feb 26, 2024 at 04:43:04PM +0100, Javier Martinez Canillas wrote: > Maxime Ripard writes: > > Hello Maxime, > > > Now that the main DRM tree has moved to Gitlab, adjust the MAINTAINERS > > git trees to reflect the location change. > > > > Signed-off-by: Maxime Ripard > > --- > > Are

Re: [PATCH 12/18] ASoC: codecs: mt6357: add MT6357 codec

2024-02-26 Thread Mark Brown
On Mon, Feb 26, 2024 at 03:01:50PM +0100, amerg...@baylibre.com wrote: > index ..13e95c227114 > --- /dev/null > +++ b/sound/soc/codecs/mt6357.c > @@ -0,0 +1,1805 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * MT6357 ALSA SoC audio codec driver > + * Please use a C++ comment

Re: [PATCH 1/3] drm/amdgpu: Refuse to create a KMS FB for non-P2P exported dma-bufs

2024-02-26 Thread Christian König
Am 23.02.24 um 17:43 schrieb Michel Dänzer: On 2024-02-23 11:04, Michel Dänzer wrote: On 2024-02-23 10:34, Christian König wrote: Am 23.02.24 um 09:11 schrieb Michel Dänzer: On 2024-02-23 08:06, Christian König wrote: Am 22.02.24 um 18:28 schrieb Michel Dänzer: From: Michel Dänzer Pinning

Re: [PATCH 3/9] arm64: dts: qcom: sc7280: Enable MDP turbo mode

2024-02-26 Thread Doug Anderson
Hi, On Thu, Feb 22, 2024 at 9:32 AM Dmitry Baryshkov wrote: > > On Thu, 22 Feb 2024 at 17:04, Bjorn Andersson > wrote: > > > > On Thu, Feb 22, 2024 at 11:46:26AM +0200, Dmitry Baryshkov wrote: > > > On Thu, 22 Feb 2024 at 11:28, Konrad Dybcio > > > wrote: > > > > > > > > > > > > > > > > On

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

2024-02-26 Thread Jocelyn Falempe
On 08/02/2024 12:49, Thomas Zimmermann wrote: Am 08.02.24 um 10:51 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

Re: [PATCH] fbcon: always restore the old font data in fbcon_do_set_font()

2024-02-26 Thread Daniel Vetter
On Thu, 8 Feb 2024 at 12:44, Jiri Slaby (SUSE) wrote: > > Commit a5a923038d70 (fbdev: fbcon: Properly revert changes when > vc_resize() failed) started restoring old font data upon failure (of > vc_resize()). But it performs so only for user fonts. It means that the > "system"/internal fonts are

Re: [PATCH] drm/test/shmem: set a DMA mask for the mock device

2024-02-26 Thread Marco Pagani
On 2024-02-26 12:26, Maxime Ripard wrote: > Hi, > > On Mon, Feb 26, 2024 at 12:00:27PM +0100, Marco Pagani wrote: >> Set a DMA mask for the mock device to avoid warnings generated in >> dma_map_sgtable(). >> >> Reported-by: Guenter Roeck >> Signed-off-by: Marco Pagani > > I've submitted last

Re: [RFC] drm/fourcc: Add RPI modifiers

2024-02-26 Thread Daniel Vetter
On Mon, 26 Feb 2024 at 16:39, Jacopo Mondi wrote: > > Add modifiers for the Raspberry Pi PiSP compressed formats. > > The compressed formats are documented at: > Documentation/userspace-api/media/v4l/pixfmt-pisp-comp-rggb.rst > > and in the PiSP datasheet: >

Re: [PATCH] MAINTAINERS: Update drm.git URL

2024-02-26 Thread Javier Martinez Canillas
Maxime Ripard writes: Hello Maxime, > Now that the main DRM tree has moved to Gitlab, adjust the MAINTAINERS > git trees to reflect the location change. > > Signed-off-by: Maxime Ripard > --- Are you planning to post another patch to change the entries that point to the

Re: [rerere PATCH] nightly.conf: Switch drm.git to gitlab

2024-02-26 Thread Daniel Vetter
On Mon, 26 Feb 2024 at 16:16, Maxime Ripard wrote: > > Start the big migration with drm.git. > > Existing remotes need to be adjusted with > > git remote set-url drm ssh://g...@gitlab.freedesktop.org:drm/kernel.git > > or > > git remote set-url drm https://gitlab.freedesktop.org/drm/kernel.git >

Re: [PATCH] MAINTAINERS: Update drm.git URL

2024-02-26 Thread Daniel Vetter
On Mon, 26 Feb 2024 at 16:21, Maxime Ripard wrote: > > Now that the main DRM tree has moved to Gitlab, adjust the MAINTAINERS > git trees to reflect the location change. > > Signed-off-by: Maxime Ripard Acked-by: Daniel Vetter > --- > MAINTAINERS | 4 ++-- > 1 file changed, 2 insertions(+),

[RFC] drm/fourcc: Add RPI modifiers

2024-02-26 Thread Jacopo Mondi
Add modifiers for the Raspberry Pi PiSP compressed formats. The compressed formats are documented at: Documentation/userspace-api/media/v4l/pixfmt-pisp-comp-rggb.rst and in the PiSP datasheet: https://datasheets.raspberrypi.com/camera/raspberry-pi-image-signal-processor-specification.pdf

Re: [PATCH 02/18] ASoC: dt-bindings: mediatek,mt8365-mt6357: Add audio sound card document

2024-02-26 Thread AngeloGioacchino Del Regno
Il 26/02/24 15:01, Alexandre Mergnat ha scritto: Add soundcard bindings for the MT8365 SoC with the MT6357 audio codec. Signed-off-by: Alexandre Mergnat --- .../bindings/sound/mediatek,mt8365-mt6357.yaml | 127 + 1 file changed, 127 insertions(+) diff --git

Re: [PATCH 13/18] mfd: mt6397-core: register mt6357 sound codec

2024-02-26 Thread AngeloGioacchino Del Regno
Il 26/02/24 15:01, amerg...@baylibre.com ha scritto: From: Fabien Parent Add MT6357 codec entry in the MFD driver. Signed-off-by: Fabien Parent Signed-off-by: Alexandre Mergnat Reviewed-by: AngeloGioacchino Del Regno --- drivers/mfd/mt6397-core.c | 3 +++ 1 file changed, 3

Re: [PATCH 12/18] ASoC: codecs: mt6357: add MT6357 codec

2024-02-26 Thread AngeloGioacchino Del Regno
Il 26/02/24 15:01, amerg...@baylibre.com ha scritto: From: Nicolas Belin Add the support of MT6357 PMIC audio codec. Signed-off-by: Nicolas Belin Signed-off-by: Alexandre Mergnat --- sound/soc/codecs/Kconfig |7 + sound/soc/codecs/Makefile |2 + sound/soc/codecs/mt6357.c | 1805

[PATCH] MAINTAINERS: Update drm.git URL

2024-02-26 Thread Maxime Ripard
Now that the main DRM tree has moved to Gitlab, adjust the MAINTAINERS git trees to reflect the location change. Signed-off-by: Maxime Ripard --- MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 7e7e7c378913..00e8a8ff627e 100644

[rerere PATCH] nightly.conf: Switch drm.git to gitlab

2024-02-26 Thread Maxime Ripard
Start the big migration with drm.git. Existing remotes need to be adjusted with git remote set-url drm ssh://g...@gitlab.freedesktop.org:drm/kernel.git or git remote set-url drm https://gitlab.freedesktop.org/drm/kernel.git Signed-off-by: Maxime Ripard --- nightly.conf | 6 ++ 1 file

Re: UAPI Re: [PATCH 1/3] drm: Add DRM_MODE_TV_MODE_MONOCHROME

2024-02-26 Thread Pekka Paalanen
On Mon, 26 Feb 2024 15:10:45 +0100 Maxime Ripard wrote: > Hi Pekka, > > On Wed, Feb 21, 2024 at 11:07:51AM +0200, Pekka Paalanen wrote: > > On Fri, 16 Feb 2024 18:48:55 + > > Dave Stevenson wrote: > > > > > From: Nick Hollinghurst > > > > > > Add this as a value for

Re: [PATCH 10/18] ASoc: mediatek: mt8365: Add a specific soundcard for EVK

2024-02-26 Thread AngeloGioacchino Del Regno
Il 26/02/24 15:01, amerg...@baylibre.com ha scritto: From: Nicolas Belin Add a specific soundcard for mt8365-evk. It supports audio jack in/out, dmics, the amic and lineout. Signed-off-by: Nicolas Belin Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-mt6357.c | 379

Re: [PATCH 00/18] Add audio support for the MediaTek Genio 350-evk board

2024-02-26 Thread AngeloGioacchino Del Regno
change-id: 20240226-audio-i350-4e11da088e55 Best regards,

Re: drm-misc migration to Gitlab server

2024-02-26 Thread Daniel Vetter
On Wed, Feb 21, 2024 at 09:46:43AM +1100, Stephen Rothwell wrote: > Hi Daniel, > > On Tue, 20 Feb 2024 11:25:05 + Daniel Stone wrote: > > > > On Tue, 20 Feb 2024 at 09:05, Maxime Ripard wrote: > > > On Tue, Feb 20, 2024 at 09:49:25AM +0100, Maxime Ripard wrote: > > > > This will be mostly

RE: [PATCH 2/2] drm/i915: Support replaying GPU hangs with captured context image

2024-02-26 Thread Santa, Carlos
> -Original Message- > From: Tvrtko Ursulin > Sent: Monday, February 26, 2024 1:56 AM > To: Vivi, Rodrigo > Cc: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; Ursulin, > Tvrtko ; Landwerlin, Lionel G > ; Santa, Carlos > Subject: Re: [PATCH 2/2] drm/i915: Support

Re: [PULL] drm-xe-next

2024-02-26 Thread Lucas De Marchi
On Mon, Feb 26, 2024 at 10:46:43AM +, Daniel Stone wrote: Hi, On Mon, 26 Feb 2024 at 03:21, Lucas De Marchi wrote: All of this should be fixed by now: dim is used for applying and pushing patches, which has additional checks so that doesn't happen again. Still pending confirmation from

Re: [PATCH v3 5/9] drm/vkms: Re-introduce line-per-line composition algorithm

2024-02-26 Thread Arthur Grillo
On 26/02/24 05:46, Louis Chauvet wrote: > Re-introduce a line-by-line composition algorithm for each pixel format. > This allows more performance by not requiring an indirection per pixel > read. This patch is focused on readability of the code. > > Line-by-line composition was introduced by

Re: UAPI Re: [PATCH 1/3] drm: Add DRM_MODE_TV_MODE_MONOCHROME

2024-02-26 Thread Maxime Ripard
Hi Pekka, On Wed, Feb 21, 2024 at 11:07:51AM +0200, Pekka Paalanen wrote: > On Fri, 16 Feb 2024 18:48:55 + > Dave Stevenson wrote: > > > From: Nick Hollinghurst > > > > Add this as a value for enum_drm_connector_tv_mode, represented > > by the string "Mono", to generate video with no

Re: [PATCH v2] drm/tegra: Remove existing framebuffer only if we support display

2024-02-26 Thread Thierry Reding
On Mon Feb 26, 2024 at 1:08 PM CET, Robert Foss wrote: > On Mon, Feb 26, 2024 at 12:36 PM Javier Martinez Canillas > wrote: > > > > Thomas Zimmermann writes: > > > > > Hi > > > > > > Am 23.02.24 um 16:03 schrieb Thierry Reding: > > >> From: Thierry Reding > > >> > > >> Tegra DRM doesn't support

[PATCH 16/18] arm64: dts: mediatek: add mt6357 audio codec support

2024-02-26 Thread Alexandre Mergnat
Add audio codec support of MT6357 PMIC. Update the file header. Signed-off-by: Alexandre Mergnat --- arch/arm64/boot/dts/mediatek/mt6357.dtsi | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt6357.dtsi

[PATCH 15/18] arm64: defconfig: enable mt8365 sound

2024-02-26 Thread Alexandre Mergnat
Enable the MediaTek MT8365-EVK sound support. The audio feature is handled by the MT8365 SoC and the MT6357 PMIC codec audio. Signed-off-by: Alexandre Mergnat --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/configs/defconfig

[PATCH 10/18] ASoc: mediatek: mt8365: Add a specific soundcard for EVK

2024-02-26 Thread amergnat
From: Nicolas Belin Add a specific soundcard for mt8365-evk. It supports audio jack in/out, dmics, the amic and lineout. Signed-off-by: Nicolas Belin Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-mt6357.c | 379 ++ 1 file changed, 379

[PATCH 09/18] ASoC: mediatek: mt8365: Add PCM DAI support

2024-02-26 Thread Alexandre Mergnat
Add Pulse Code Modulation Device Audio Interface support for MT8365 SoC. Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-dai-pcm.c | 298 + 1 file changed, 298 insertions(+) diff --git a/sound/soc/mediatek/mt8365/mt8365-dai-pcm.c

[PATCH 03/18] dt-bindings: mfd: mediatek: Add codec property for MT6357 PMIC

2024-02-26 Thread Alexandre Mergnat
Add the codec property along with the mt6357.c codec driver support. Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/mfd/mediatek,mt6357.yaml | 11 +++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/mediatek,mt6357.yaml

[PATCH 18/18] arm64: dts: mediatek: add audio support for mt8365-evk

2024-02-26 Thread Alexandre Mergnat
Add the sound node which is linked to the MT8365 SoC AFE and the MT6357 audio codec. Update the file header. Signed-off-by: Alexandre Mergnat --- arch/arm64/boot/dts/mediatek/mt8365-evk.dts | 95 +++-- 1 file changed, 91 insertions(+), 4 deletions(-) diff --git

[PATCH 17/18] arm64: dts: mediatek: add afe support for mt8365 SoC

2024-02-26 Thread Alexandre Mergnat
Add audio front end support of MT8365 SoC. Update the file header. Signed-off-by: Alexandre Mergnat --- arch/arm64/boot/dts/mediatek/mt8365.dtsi | 47 ++-- 1 file changed, 44 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8365.dtsi

[PATCH 14/18] ASoC: mediatek: Add MT8365 support

2024-02-26 Thread Alexandre Mergnat
- Add specific config to enable: - MT8365 sound support - MT6357 audio codec support - Add the mt8365 directory and all drivers under it. Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/Kconfig | 20 sound/soc/mediatek/Makefile| 1 +

[PATCH 13/18] mfd: mt6397-core: register mt6357 sound codec

2024-02-26 Thread amergnat
From: Fabien Parent Add MT6357 codec entry in the MFD driver. Signed-off-by: Fabien Parent Signed-off-by: Alexandre Mergnat --- drivers/mfd/mt6397-core.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mfd/mt6397-core.c b/drivers/mfd/mt6397-core.c index

[PATCH 12/18] ASoC: codecs: mt6357: add MT6357 codec

2024-02-26 Thread amergnat
From: Nicolas Belin Add the support of MT6357 PMIC audio codec. Signed-off-by: Nicolas Belin Signed-off-by: Alexandre Mergnat --- sound/soc/codecs/Kconfig |7 + sound/soc/codecs/Makefile |2 + sound/soc/codecs/mt6357.c | 1805 +

[PATCH 02/18] ASoC: dt-bindings: mediatek,mt8365-mt6357: Add audio sound card document

2024-02-26 Thread Alexandre Mergnat
Add soundcard bindings for the MT8365 SoC with the MT6357 audio codec. Signed-off-by: Alexandre Mergnat --- .../bindings/sound/mediatek,mt8365-mt6357.yaml | 127 + 1 file changed, 127 insertions(+) diff --git

[PATCH 08/18] ASoC: mediatek: mt8365: Add DMIC DAI support

2024-02-26 Thread Alexandre Mergnat
Add Digital Micro Device Audio Interface support for MT8365 SoC. Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-dai-dmic.c | 475 1 file changed, 475 insertions(+) diff --git a/sound/soc/mediatek/mt8365/mt8365-dai-dmic.c

[PATCH 07/18] ASoC: mediatek: mt8365: Add ADDA DAI support

2024-02-26 Thread Alexandre Mergnat
Add ADDA Device Audio Interface support for MT8365 SoC. Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-dai-adda.c | 355 1 file changed, 355 insertions(+) diff --git a/sound/soc/mediatek/mt8365/mt8365-dai-adda.c

[PATCH 04/18] ASoC: mediatek: mt8365: Add common header

2024-02-26 Thread Alexandre Mergnat
Add header files for register definition and structure. Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-afe-common.h | 495 + sound/soc/mediatek/mt8365/mt8365-reg.h| 987 ++ 2 files changed, 1482 insertions(+) diff --git

[PATCH 11/18] ASoC: mediatek: mt8365: Add platform driver

2024-02-26 Thread Alexandre Mergnat
Add mt8365 platform driver. Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-afe-pcm.c | 2347 1 file changed, 2347 insertions(+) diff --git a/sound/soc/mediatek/mt8365/mt8365-afe-pcm.c b/sound/soc/mediatek/mt8365/mt8365-afe-pcm.c new file

[PATCH 05/18] SoC: mediatek: mt8365: support audio clock control

2024-02-26 Thread Alexandre Mergnat
Add audio clock wrapper and audio tuner control. Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-afe-clk.c | 455 + sound/soc/mediatek/mt8365/mt8365-afe-clk.h | 55 2 files changed, 510 insertions(+) diff --git

[PATCH 06/18] ASoC: mediatek: mt8365: Add I2S DAI support

2024-02-26 Thread Alexandre Mergnat
Add I2S Device Audio Interface support for MT8365 SoC. Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-dai-i2s.c | 901 + 1 file changed, 901 insertions(+) diff --git a/sound/soc/mediatek/mt8365/mt8365-dai-i2s.c

[PATCH 00/18] Add audio support for the MediaTek Genio 350-evk board

2024-02-26 Thread Alexandre Mergnat
) --- base-commit: 6613476e225e090cc9aad49be7fa504e290dd33d change-id: 20240226-audio-i350-4e11da088e55 Best regards, -- Alexandre Mergnat

[PATCH 01/18] ASoC: dt-bindings: mediatek,mt8365-afe: Add audio afe document

2024-02-26 Thread Alexandre Mergnat
Add MT8365 audio front-end bindings Signed-off-by: Alexandre Mergnat --- .../bindings/sound/mediatek,mt8365-afe.yaml| 164 + 1 file changed, 164 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/mediatek,mt8365-afe.yaml

Re: [PATCH v2 00/21] drm/i915: Add Display Port tunnel BW allocation support

2024-02-26 Thread Maxime Ripard
On Mon, Feb 26, 2024 at 03:54:19PM +0200, Jani Nikula wrote: > On Tue, 20 Feb 2024, Imre Deak wrote: > > This is v2 of [1], with the following changes: > > > > - Several functional/typo/formatting fixes, detailed in the patches. > > - Move the BW allocation from encoder hooks to > >

Re: [PATCH v2 00/21] drm/i915: Add Display Port tunnel BW allocation support

2024-02-26 Thread Jani Nikula
On Tue, 20 Feb 2024, Imre Deak wrote: > This is v2 of [1], with the following changes: > > - Several functional/typo/formatting fixes, detailed in the patches. > - Move the BW allocation from encoder hooks to > intel_atomic_commit_tail() fixing the allocation for MST streams >

Re: [PATCH v4] drm/stm: Avoid use-after-free issues with crtc and plane

2024-02-26 Thread Raphael Gallais-Pou
On 2/16/24 13:50, Katya Orlova wrote: > ltdc_load() calls functions drm_crtc_init_with_planes(), > drm_universal_plane_init() and drm_encoder_init(). These functions > should not be called with parameters allocated with devm_kzalloc() > to avoid use-after-free issues [1]. > > Use allocations

Re: [PATCH v5 00/14] drm: Add a driver for CSF-based Mali GPUs

2024-02-26 Thread Liviu Dudau
On Sun, Feb 18, 2024 at 10:41:14PM +0100, Boris Brezillon wrote: > Hello, Hi Boris, > > This is the 5th version of the kernel driver for Mali CSF-based GPUs, > and, unless someone has good reasons to block the merging of this > driver, I expect it to be the last one (the gallium driver is now >

[PATCH] drm/fourcc: Add RGB161616 and BGR161616 formats

2024-02-26 Thread Jacopo Mondi
Add FourCC definitions for the 48-bit RGB/BGR formats to the DRM/KMS uapi. The format will be used by the Raspberry Pi PiSP Back End, supported by a V4L2 driver in kernel space and by libcamera in userspace, which uses the DRM FourCC identifiers. Signed-off-by: Jacopo Mondi ---

Re: [PATCH v3 3/3] drm/i915/guc: Enable Wa_14019159160

2024-02-26 Thread Nilawar, Badal
Hi John, On 04-01-2024 23:35, john.c.harri...@intel.com wrote: From: John Harrison Use the new w/a KLV support to enable a MTL w/a. Note, this w/a is a super-set of Wa_16019325821, so requires turning that one as well as setting the new flag for Wa_14019159160 itself. Signed-off-by: John

Re: [PATCH v7 00/36] drm/connector: Create HDMI Connector infrastructure

2024-02-26 Thread Maxime Ripard
Hi Dmitry, On Sun, Feb 25, 2024 at 04:50:00PM +0200, Dmitry Baryshkov wrote: > On Thu, 22 Feb 2024 at 20:14, Maxime Ripard wrote: > > Here's a series that creates some extra infrastructure specifically > > targeted at HDMI controllers. > > > > The idea behind this series came from a recent

Re: (subset) [PATCH v2] drm/edid/firmware: Remove built-in EDIDs

2024-02-26 Thread Maxime Ripard
On Wed, 21 Feb 2024 10:26:36 +0100, Maxime Ripard wrote: > The EDID firmware loading mechanism introduced a few built-in EDIDs that > could be forced on any connector, bypassing the EDIDs it exposes. > > While convenient, this limited set of EDIDs doesn't take into account > the connector type,

Re: drm-misc migration to Gitlab server

2024-02-26 Thread Maxime Ripard
On Mon, Feb 26, 2024 at 12:00:15PM +, Daniel Stone wrote: > On Mon, 26 Feb 2024 at 11:57, Jani Nikula wrote: > > On Mon, 26 Feb 2024, Maxime Ripard wrote: > > > For the recent-ish subscriptions, it's possible since we've required to > > > open a Gitlab issue for a while, so we have the

Re: [PATCH v3 3/9] drm/vkms: write/update the documentation for pixel conversion and pixel write functions

2024-02-26 Thread Arthur Grillo
On 26/02/24 05:46, Louis Chauvet wrote: > Add some documentation on pixel conversion functions. > Update of outdated comments for pixel_write functions. > > Signed-off-by: Louis Chauvet > --- > drivers/gpu/drm/vkms/vkms_composer.c | 4 +++ > drivers/gpu/drm/vkms/vkms_drv.h | 13

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

2024-02-26 Thread Christian König
Am 25.02.24 um 22:47 schrieb Stephen Rothwell: Hi all, On Mon, 26 Feb 2024 08:41:16 +1100 Stephen Rothwell wrote: On Tue, 20 Feb 2024 08:48:21 +1100 Stephen Rothwell wrote: On Mon, 12 Feb 2024 15:15:54 +0200 Jani Nikula wrote: On Tue, 06 Feb 2024, Stephen Rothwell wrote: After

Re: [PATCH v3 1/9] backlight/corgi-lcd: Include

2024-02-26 Thread Lee Jones
On Mon, 26 Feb 2024, Thomas Zimmermann wrote: > Hi > > Am 26.02.24 um 13:33 schrieb Lee Jones: > > On Mon, 26 Feb 2024, Jani Nikula wrote: > > > > > On Fri, 23 Feb 2024, Lee Jones wrote: > > > > On Wed, 21 Feb 2024, Thomas Zimmermann wrote: > > > > > > > > > cc'ing backlight maintainers > > >

[PATCH 3/3] [v2] drm/xe/xe2: fix 64-bit division in pte_update_size

2024-02-26 Thread Arnd Bergmann
From: Arnd Bergmann This function does not build on 32-bit targets when the compiler fails to reduce DIV_ROUND_UP() into a shift: ld.lld: error: undefined symbol: __aeabi_uldivmod >>> referenced by xe_migrate.c >>> drivers/gpu/drm/xe/xe_migrate.o:(pte_update_size) in archive >>>

Re: [PATCH v3 1/9] backlight/corgi-lcd: Include

2024-02-26 Thread Thomas Zimmermann
Hi Am 26.02.24 um 13:33 schrieb Lee Jones: On Mon, 26 Feb 2024, Jani Nikula wrote: On Fri, 23 Feb 2024, Lee Jones wrote: On Wed, 21 Feb 2024, Thomas Zimmermann wrote: cc'ing backlight maintainers I cannot review/accept patches like this. Please submit a [RESEND]. I bounced the original

[PATCH 2/3] [v2] drm/xe/mmio: fix build warning for BAR resize on 32-bit

2024-02-26 Thread Arnd Bergmann
From: Arnd Bergmann clang complains about a nonsensical test on builds with a 32-bit phys_addr_t, which means resizing will always fail: drivers/gpu/drm/xe/xe_mmio.c:109:23: error: result of comparison of constant 4294967296 with expression of type 'resource_size_t' (aka 'unsigned int') is

[PATCH 1/3] [v2] drm/xe/kunit: fix link failure with built-in xe

2024-02-26 Thread Arnd Bergmann
From: Arnd Bergmann When the driver is built-in but the tests are in loadable modules, the helpers don't actually get put into the driver: ERROR: modpost: "xe_kunit_helper_alloc_xe_device" [drivers/gpu/drm/xe/tests/xe_test.ko] undefined! Change the Makefile to ensure they are always part of

Re: [PATCH 1/3] drm/xe/kunit: fix link failure with built-in xe

2024-02-26 Thread Arnd Bergmann
On Mon, Feb 26, 2024, at 04:42, Lucas De Marchi wrote: > On Sat, Feb 24, 2024 at 01:14:59PM +0100, Arnd Bergmann wrote: >>From: Arnd Bergmann >> >>When the driver is built-in but the tests are in loadable modules, >>the helpers don't actually get put into the driver: >> >>ERROR: modpost:

Re: [PATCH v3 4/9] drm/vkms: Add typedef and documentation for pixel_read and pixel_write functions

2024-02-26 Thread Arthur Grillo
On 26/02/24 05:46, Louis Chauvet wrote: > Introduce two typedefs: pixel_read_t and pixel_write_t. It allows the > compiler to check if the passed functions take the correct arguments. > Such typedefs will help ensuring consistency across the code base in > case of update of these prototypes. >

Re: [PATCH v2 8/9] media: dt-bindings: Add Intel Displayport RX IP

2024-02-26 Thread Paweł Anikiel
On Mon, Feb 26, 2024 at 1:06 PM Krzysztof Kozlowski wrote: > > On 26/02/2024 11:59, Paweł Anikiel wrote: > >>> +properties: > >>> + compatible: > >>> +const: intel,dprx-20.0.1 > >>> + > >>> + reg: > >>> +maxItems: 1 > >>> + > >>> + interrupts: > >>> +maxItems: 1 > >>> + > >>> +

Re: [PATCH 01/11] drm/mediatek: Rename "mtk_drm_crtc" to "mtk_crtc"

2024-02-26 Thread AngeloGioacchino Del Regno
Il 26/02/24 09:50, Shawn Sung ha scritto: From: Hsiao Chien Sung Rename all "mtk_drm_crtc" to "mtk_crtc" due to the following benefits: - Lower the matches when searching the native drm_crtc* codes - Reduce the code size Signed-off-by: Hsiao Chien Sung Reviewed-by: AngeloGiaocchino Del

Re: [PATCH 05/11] drm/mediatek: Rename "mtk_drm_hdmi" to "mtk_hdmi"

2024-02-26 Thread AngeloGioacchino Del Regno
Il 26/02/24 09:50, Shawn Sung ha scritto: From: Hsiao Chien Sung Rename all "mtk_drm_hdmi" to "mtk_hdmi": - To align the naming rule - To reduce the code size Signed-off-by: Hsiao Chien Sung Reviewed-by: AngeloGiaocchino Del Regno

Re: [PATCH 11/11] drm/mediatek: Rename "pending_needs_vblank" to "needs_vblank"

2024-02-26 Thread AngeloGioacchino Del Regno
Il 26/02/24 09:50, Shawn Sung ha scritto: From: Hsiao Chien Sung Rename "pending_needs_vblank" to "needs_vblank" to reduce the code size. This decreases human readability though, so I would prefer that we omit this one. Regards, Angelo Signed-off-by: Hsiao Chien Sung ---

Re: [PATCH 04/11] drm/mediatek: Rename "mtk_drm_gem" to "mtk_gem"

2024-02-26 Thread AngeloGioacchino Del Regno
Il 26/02/24 09:50, Shawn Sung ha scritto: From: Hsiao Chien Sung Rename all "mtk_drm_gem" to "mtk_gem": - To align the naming rule - To reduce the code size Signed-off-by: Hsiao Chien Sung Reviewed-by: AngeloGiaocchino Del Regno

Re: [PATCH 02/11] drm/mediatek: Rename "mtk_drm_ddp_comp" to "mtk_ddp_comp"

2024-02-26 Thread AngeloGioacchino Del Regno
Il 26/02/24 09:50, Shawn Sung ha scritto: From: Hsiao Chien Sung Rename all "mtk_drm_ddp_comp" to "mtk_ddp_comp": - To align the naming rule - To reduce the code size Signed-off-by: Hsiao Chien Sung Reviewed-by: AngeloGiaocchino Del Regno

Re: [PATCH 03/11] drm/mediatek: Rename "mtk_drm_plane" to "mtk_plane"

2024-02-26 Thread AngeloGioacchino Del Regno
Il 26/02/24 09:50, Shawn Sung ha scritto: From: Hsiao Chien Sung Rename all "mtk_drm_plane" to "mtk_plane": - To align the naming rule - To reduce the code size Signed-off-by: Hsiao Chien Sung Reviewed-by: AngeloGiaocchino Del Regno

Re: [PATCH 06/11] drm/mediatek: Rename files "mtk_drm_crtc.*" to "mtk_crtc.*"

2024-02-26 Thread AngeloGioacchino Del Regno
Il 26/02/24 09:50, Shawn Sung ha scritto: From: Hsiao Chien Sung Rename files mtk_drm_crtc.* to mtk_crtc.*. Signed-off-by: Hsiao Chien Sung Reviewed-by: AngeloGiaocchino Del Regno

Re: [PATCH 09/11] drm/mediatek: Rename files "mtk_drm_gem.*" to "mtk_gem.*"

2024-02-26 Thread AngeloGioacchino Del Regno
Il 26/02/24 09:50, Shawn Sung ha scritto: From: Hsiao Chien Sung Rename files mtk_drm_gem.* to mtk_gem.*. Signed-off-by: Hsiao Chien Sung Reviewed-by: AngeloGiaocchino Del Regno

Re: [PATCH 08/11] drm/mediatek: Rename files "mtk_drm_plane.*" to "mtk_plane.*"

2024-02-26 Thread AngeloGioacchino Del Regno
Il 26/02/24 09:50, Shawn Sung ha scritto: From: Hsiao Chien Sung Rename files mtk_drm_plane.* to mtk_plane.*. Signed-off-by: Hsiao Chien Sung Reviewed-by: AngeloGiaocchino Del Regno

Re: [PATCH 07/11] drm/mediatek: Rename files "mtk_drm_ddp_comp.*" to "mtk_ddp_comp.*"

2024-02-26 Thread AngeloGioacchino Del Regno
Il 26/02/24 09:50, Shawn Sung ha scritto: From: Hsiao Chien Sung Rename files mtk_drm_ddp_comp.* to mtk_ddp_comp.*. Signed-off-by: Hsiao Chien Sung Reviewed-by: AngeloGiaocchino Del Regno

Re: [PATCH 10/11] drm/mediatek: Rename mtk_ddp_comp functions

2024-02-26 Thread AngeloGioacchino Del Regno
Il 26/02/24 09:50, Shawn Sung ha scritto: From: Hsiao Chien Sung Rename functions of mtk_ddp_comp: - To align the naming rule - To reduce the code size Signed-off-by: Hsiao Chien Sung Reviewed-by: AngeloGiaocchino Del Regno

Re: [PATCH v2] drm/tegra: Remove existing framebuffer only if we support display

2024-02-26 Thread Robert Foss
On Fri, 23 Feb 2024 16:03:33 +0100, Thierry Reding wrote: > From: Thierry Reding > > Tegra DRM doesn't support display on Tegra234 and later, so make sure > not to remove any existing framebuffers in that case. > > v2: - add comments explaining how this situation can come about > - clear

Patch "drm/ttm: Fix an invalid freeing on already freed page in error path" has been added to the 6.1-stable tree

2024-02-26 Thread gregkh
This is a note to let you know that I've just added the patch titled drm/ttm: Fix an invalid freeing on already freed page in error path to the 6.1-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the

Re: [PATCH v3 1/9] backlight/corgi-lcd: Include

2024-02-26 Thread Lee Jones
On Mon, 26 Feb 2024, Jani Nikula wrote: > On Fri, 23 Feb 2024, Lee Jones wrote: > > On Wed, 21 Feb 2024, Thomas Zimmermann wrote: > > > >> cc'ing backlight maintainers > > > > I cannot review/accept patches like this. > > > > Please submit a [RESEND]. > > I bounced the original [1] to you.

Re: [PATCH v7 30/36] drm/vc4: tests: Convert to plane creation helper

2024-02-26 Thread Maíra Canal
On 2/22/24 15:14, Maxime Ripard wrote: Now that we have a plane create helper for kunit mocked drivers, let's convert to it in vc4. Reviewed-by: Maíra Canal Best Regards, - Maíra Signed-off-by: Maxime Ripard --- drivers/gpu/drm/vc4/tests/vc4_mock_plane.c | 34

Re: [PATCH v7 29/36] drm/vc4: tests: Remove vc4_dummy_plane structure

2024-02-26 Thread Maíra Canal
On 2/22/24 15:14, Maxime Ripard wrote: The vc4_dummy_plane structure is an exact equivalent to vc4_plane, so we Maybe I understood incorrectly, but isn't the vc4_dummy_plane structure equivalent to drm_plane? Best Regards, - Maíra don't need it. Signed-off-by: Maxime Ripard ---

Re: [PATCH v3 0/9] drm/vkms: Reimplement line-per-line pixel conversion for plane reading

2024-02-26 Thread Pekka Paalanen
On Mon, 26 Feb 2024 09:46:30 +0100 Louis Chauvet wrote: > This patchset is the second version of [1]. It is almost a complete > rewrite to use a line-by-line algorithm for the composition. > It can be divided in three parts: > - PATCH 1 to 4: no functional change is intended, only some

Re: [PATCH v7 05/36] drm/tests: connector: Add tests for drmm_connector_init

2024-02-26 Thread Maíra Canal
On 2/22/24 15:13, Maxime Ripard wrote: drmm_connector_init is the preferred function to initialize a drm_connector structure. Let's add a bunch of unit tests for it. Signed-off-by: Maxime Ripard Reviewed-by: Maíra Canal Best Regards, - Maíra ---

Re: [PATCH v2 9/9] ARM: dts: chameleonv3: Add video device nodes

2024-02-26 Thread Paweł Anikiel
On Mon, Feb 26, 2024 at 1:07 PM Krzysztof Kozlowski wrote: > > On 26/02/2024 12:09, Paweł Anikiel wrote: > > On Mon, Feb 26, 2024 at 10:15 AM Krzysztof Kozlowski > > wrote: > >> > >> On 21/02/2024 17:02, Paweł Anikiel wrote: > >>> Add device nodes for the video system present on the Chameleon

Re: [PATCH v7 04/36] drm/tests: Add helper to create mock crtc

2024-02-26 Thread Maíra Canal
On 2/22/24 15:13, Maxime Ripard wrote: We're going to need a full-blown, functional, KMS device to test more components of the atomic modesetting infrastructure. Let's add a new helper to create a dumb, mocked, CRTC. By default it will create a CRTC relying only on the default helpers, but

Re: [PATCH v7 03/36] drm/tests: Add helper to create mock plane

2024-02-26 Thread Maíra Canal
On 2/22/24 15:13, Maxime Ripard wrote: We're going to need a full-blown, functional, KMS device to test more components of the atomic modesetting infrastructure. Let's add a new helper to create a dumb, mocked, primary plane. By default, it will create a linear XRGB plane, using the default

Re: [PATCH v7 02/36] drm/tests: helpers: Add atomic helpers

2024-02-26 Thread Maíra Canal
On 2/22/24 15:13, Maxime Ripard wrote: The mock device we were creating was missing any of the driver-wide helpers. That was fine before since we weren't testing the atomic state path, but we're going to start, so let's use the default implementations. Signed-off-by: Maxime Ripard

Re: [PATCH v2 7/9] drm/vkms: Add range and encoding properties to pixel_read function

2024-02-26 Thread Pekka Paalanen
On Fri, 23 Feb 2024 12:37:27 +0100 Louis Chauvet wrote: > From: Arthur Grillo > > Create range and encoding properties. This should be noop, as none of > the conversion functions need those properties. None of the conversion function needs this? How can one say so? The previous patch is

<    1   2   3   4   >