Re: [PATCH v1] misc: fastrpc: Move fastrpc driver to misc/fastrpc/

2024-06-19 Thread Dmitry Baryshkov
On Wed, 19 Jun 2024 at 10:01, Ekansh Gupta wrote: > > > > On 6/19/2024 12:21 PM, Dmitry Baryshkov wrote: > > On Wed, 19 Jun 2024 at 09:45, Ekansh Gupta > > wrote: > >> > >> > >> On 6/12/2024 11:58 PM, Dmitry Baryshkov wrote: > >>> On Wed, Jun 12, 2024 at 12:17:28PM +0530, Ekansh Gupta wrote: > >

Re: [PATCH 1/9] accel/habanalbs/gaudi2: reduce interrupt count to 128

2024-06-19 Thread Tomer Tayar
On 19/06/2024 9:34, Ofir Bitton wrote: > Some systems allow a maximum number of 128 MSI-X interrupts. > Hence we reduce the interrupt count to 128 instead of 512. > > Signed-off-by: Ofir Bitton > Reviewed-by: Ofir Bitton Reviewed-by: Tomer Tayar > --- > drivers/accel/habanalabs/gaudi2/gaudi2

Patch "drm/shmem-helper: Fix BUG_ON() on mmap(PROT_WRITE, MAP_PRIVATE)" has been added to the 6.6-stable tree

2024-06-19 Thread gregkh
This is a note to let you know that I've just added the patch titled drm/shmem-helper: Fix BUG_ON() on mmap(PROT_WRITE, MAP_PRIVATE) to the 6.6-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 patch

Patch "drm/shmem-helper: Fix BUG_ON() on mmap(PROT_WRITE, MAP_PRIVATE)" has been added to the 6.9-stable tree

2024-06-19 Thread gregkh
This is a note to let you know that I've just added the patch titled drm/shmem-helper: Fix BUG_ON() on mmap(PROT_WRITE, MAP_PRIVATE) to the 6.9-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 patch

Re: [PATCH v1] misc: fastrpc: Move fastrpc driver to misc/fastrpc/

2024-06-19 Thread Ekansh Gupta
On 6/19/2024 12:21 PM, Dmitry Baryshkov wrote: > On Wed, 19 Jun 2024 at 09:45, Ekansh Gupta wrote: >> >> >> On 6/12/2024 11:58 PM, Dmitry Baryshkov wrote: >>> On Wed, Jun 12, 2024 at 12:17:28PM +0530, Ekansh Gupta wrote: Move fastrpc.c from misc/ to misc/fastrpc/. New C files are planned >

Re: [PATCH v1] misc: fastrpc: Move fastrpc driver to misc/fastrpc/

2024-06-19 Thread Ekansh Gupta
On 6/12/2024 11:58 PM, Dmitry Baryshkov wrote: > On Wed, Jun 12, 2024 at 12:17:28PM +0530, Ekansh Gupta wrote: >> Move fastrpc.c from misc/ to misc/fastrpc/. New C files are planned >> to be added for PD notifications and other missing features. Adding >> and maintaining new files from within fa

Re: [PATCH 09/15] net: hbl_en: add habanalabs Ethernet driver

2024-06-19 Thread Omer Shpigelman
On 6/18/24 17:19, Andrew Lunn wrote: +static u32 hbl_en_get_mtu(struct hbl_aux_dev *aux_dev, u32 port_idx) +{ + struct hbl_en_port *port = HBL_EN_PORT(aux_dev, port_idx); + struct net_device *ndev = port->ndev; + u32 mtu; + + if (atomic_cmpxchg(&po

Re: [PATCH v2] drm/panel: raydium-rm692e5: transition to mipi_dsi wrapped functions

2024-06-19 Thread Tejas Vipin
On 6/19/24 12:06 PM, Dmitry Baryshkov wrote: > On Wed, Jun 19, 2024 at 09:03:49AM GMT, Tejas Vipin wrote: >> Use functions introduced in commit 966e397e4f60 ("drm/mipi-dsi: Introduce >> mipi_dsi_*_write_seq_multi()") and commit f79d6d28d8fe >> ("drm/mipi-dsi: wrap more functions for streamline h

Re: Design session notes: GPU acceleration in Xen

2024-06-19 Thread Christian König
Am 18.06.24 um 16:12 schrieb Demi Marie Obenour: On Tue, Jun 18, 2024 at 08:33:38AM +0200, Christian König wrote: > Am 18.06.24 um 02:57 schrieb Demi Marie Obenour: >> On Mon, Jun 17, 2024 at 10:46:13PM +0200, Marek Marczykowski-Górecki >> wrote: >>> On Mon, Jun 17, 2024 at 09:46:29AM +0200, Roge

Re: [PATCH v5 05/12] drm/ttm: Provide a generic LRU walker helper

2024-06-19 Thread Thomas Hellström
Hi, Matthew. Thanks for reviewing. On Tue, 2024-06-18 at 22:11 +, Matthew Brost wrote: > On Tue, Jun 18, 2024 at 09:18:13AM +0200, Thomas Hellström wrote: > > Replying to correct version... > > > Provide a generic LRU walker in TTM, in the spirit of > > drm_gem_lru_scan() > > but building

[PATCH] drm: Remove unused function rcar_cmm_write

2024-06-19 Thread Jiapeng Chong
The function are defined in the rcar_cmm.c file, but not called elsewhere, so delete the unused function. drivers/gpu/drm/renesas/rcar-du/rcar_cmm.c:35:19: warning: unused function 'rcar_cmm_read'. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9364 Signed-off-b

Re: [PATCH 09/15] net: hbl_en: add habanalabs Ethernet driver

2024-06-19 Thread Przemek Kitszel
On 6/19/24 09:16, Omer Shpigelman wrote: On 6/18/24 17:19, Andrew Lunn wrote: [...] +module_param(poll_enable, bool, 0444); +MODULE_PARM_DESC(poll_enable, + "Enable Rx polling rather than IRQ + NAPI (0 = no, 1 = yes, default: no)"); Module parameters are not liked. This probab

Re: [PATCH] drm: bridge: simple-bridge: use devm_drm_bridge_add in probe

2024-06-19 Thread Neil Armstrong
On 18/06/2024 18:19, Marc Gonzalez wrote: simple_bridge_probe() calls drm_bridge_add() Thus, drm_bridge_remove() must be called in the remove() callback. If we call devm_drm_bridge_add() instead, then drm_bridge_remove() will be called automatically at device release, and the remove() callback i

Re: [PATCH v5 04/12] drm/ttm, drm/amdgpu, drm/xe: Consider hitch moves within bulk sublist moves

2024-06-19 Thread Thomas Hellström
On Wed, 2024-06-19 at 03:37 +, Matthew Brost wrote: > On Tue, Jun 18, 2024 at 09:18:12AM +0200, Thomas Hellström wrote: > > Ugh, replying to correct version again... > > > To address the problem with hitches moving when bulk move > > sublists are lru-bumped, register the list cursors with the

Re: [PATCH v5 06/12] drm/ttm: Use the LRU walker helper for swapping

2024-06-19 Thread Thomas Hellström
On Wed, 2024-06-19 at 04:23 +, Matthew Brost wrote: > On Tue, Jun 18, 2024 at 09:18:14AM +0200, Thomas Hellström wrote: > > Rework the TTM swapping to use the LRU walker helper. > > This helps fixing up the ttm_bo_swapout() interface > > to be consistent about not requiring any locking. > > >

Re: (subset) [PATCH] drm: bridge: simple-bridge: use devm_drm_bridge_add in probe

2024-06-19 Thread Maxime Ripard
On Tue, 18 Jun 2024 18:19:59 +0200, Marc Gonzalez wrote: > simple_bridge_probe() calls drm_bridge_add() > Thus, drm_bridge_remove() must be called in the remove() callback. > > If we call devm_drm_bridge_add() instead, then drm_bridge_remove() > will be called automatically at device release, and

[PATCH] drm/mipi-dsi: Fix devm unregister & detach

2024-06-19 Thread Tomi Valkeinen
_rate; struct drm_dsc_config *dsc; + + struct device *devres_register_dev; + struct device *devres_attach_dev; }; #define MIPI_DSI_MODULE_PREFIX "mipi-dsi:" --- base-commit: 6ba59ff4227927d3a8530fc2973b80e94b54d58f change-id: 20240619-dsi-devres-fix-8d55852b406a Best regards, -- Tomi Valkeinen

Re: [PATCH] drm: Remove unused function rcar_cmm_write

2024-06-19 Thread Kieran Bingham
Quoting Jiapeng Chong (2024-06-19 08:54:36) > The function are defined in the rcar_cmm.c file, but not called > elsewhere, so delete the unused function. > > drivers/gpu/drm/renesas/rcar-du/rcar_cmm.c:35:19: warning: unused function > 'rcar_cmm_read'. Indeed it's unused. Reviewed-by: Kieran Bin

Re: [PATCH 11/15] RDMA/hbl: add habanalabs RDMA driver

2024-06-19 Thread Omer Shpigelman
On 6/18/24 15:58, Leon Romanovsky wrote: > On Tue, Jun 18, 2024 at 11:08:34AM +, Omer Shpigelman wrote: >> On 6/17/24 22:04, Leon Romanovsky wrote: >>> [Some people who received this message don't often get email from >>> l...@kernel.org. Learn why this is important at >>> https://aka.ms/Lear

Re: [PATCH] drm: Remove unused function rcar_cmm_write

2024-06-19 Thread Sergey Shtylyov
On 6/19/24 10:54 AM, Jiapeng Chong wrote: > The function are defined in the rcar_cmm.c file, but not called s/are/is/. > elsewhere, so delete the unused function. Anywhere, maybe? > drivers/gpu/drm/renesas/rcar-du/rcar_cmm.c:35:19: warning: unused function > 'rcar_cmm_read'. > > Report

Re: [PATCH 11/15] RDMA/hbl: add habanalabs RDMA driver

2024-06-19 Thread Omer Shpigelman
On 6/18/24 19:01, Przemek Kitszel wrote: > On 6/18/24 13:08, Omer Shpigelman wrote: >> On 6/17/24 22:04, Leon Romanovsky wrote: >>> [Some people who received this message don't often get email from >>> l...@kernel.org. Learn why this is important at >>> https://aka.ms/LearnAboutSenderIdentificati

Re: [PATCH 11/15] RDMA/hbl: add habanalabs RDMA driver

2024-06-19 Thread Omer Shpigelman
On 6/17/24 17:17, Jason Gunthorpe wrote: > [You don't often get email from j...@ziepe.ca. Learn why this is important at > https://aka.ms/LearnAboutSenderIdentification ] > > On Thu, Jun 13, 2024 at 11:22:04AM +0300, Omer Shpigelman wrote: >> Add an RDMA driver of Gaudi ASICs family for AI scalin

Re: [PATCH RESEND v5 08/16] ASoC: mediatek: mt8365: Add DMIC DAI support

2024-06-19 Thread AngeloGioacchino Del Regno
Il 14/06/24 09:27, Alexandre Mergnat ha scritto: Add Digital Micro Device Audio Interface support for MT8365 SoC. Signed-off-by: Alexandre Mergnat Reviewed-by: AngeloGioacchino Del Regno

Re: [PATCH RESEND v5 05/16] ASoC: mediatek: mt8365: Add audio clock control support

2024-06-19 Thread AngeloGioacchino Del Regno
Il 14/06/24 09:27, Alexandre Mergnat ha scritto: Add audio clock wrapper and audio tuner control. Signed-off-by: Alexandre Mergnat Reviewed-by: AngeloGioacchino Del Regno

Re: [PATCH RESEND v5 06/16] ASoC: mediatek: mt8365: Add I2S DAI support

2024-06-19 Thread AngeloGioacchino Del Regno
Il 14/06/24 09:27, Alexandre Mergnat ha scritto: Add I2S Device Audio Interface support for MT8365 SoC. Signed-off-by: Alexandre Mergnat Reviewed-by: AngeloGioacchino Del Regno

Re: [PATCH RESEND v5 07/16] ASoC: mediatek: mt8365: Add ADDA DAI support

2024-06-19 Thread AngeloGioacchino Del Regno
Il 14/06/24 09:27, Alexandre Mergnat ha scritto: Add ADDA Device Audio Interface support for MT8365 SoC. Signed-off-by: Alexandre Mergnat Reviewed-by: AngeloGioacchino Del Regno

Re: [PATCH RESEND v5 01/16] ASoC: dt-bindings: mediatek,mt8365-afe: Add audio afe document

2024-06-19 Thread AngeloGioacchino Del Regno
Il 14/06/24 09:27, Alexandre Mergnat ha scritto: Add MT8365 audio front-end bindings Reviewed-by: Krzysztof Kozlowski Signed-off-by: Alexandre Mergnat Reviewed-by: AngeloGioacchino Del Regno

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

2024-06-19 Thread AngeloGioacchino Del Regno
Il 14/06/24 09:27, Alexandre Mergnat ha scritto: Add soundcard bindings for the MT8365 SoC with the MT6357 audio codec. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Alexandre Mergnat Reviewed-by: AngeloGioacchino Del Regno

Re: [PATCH RESEND v5 13/16] ASoC: mediatek: Add MT8365 support

2024-06-19 Thread AngeloGioacchino Del Regno
Il 14/06/24 09:27, Alexandre Mergnat ha scritto: - 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

Re: [PATCH RESEND v5 04/16] ASoC: mediatek: mt8365: Add common header

2024-06-19 Thread AngeloGioacchino Del Regno
Il 14/06/24 09:27, Alexandre Mergnat ha scritto: Add header files for register definition and structure. Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-afe-common.h | 491 + sound/soc/mediatek/mt8365/mt8365-reg.h| 991 ++ 2

Re: [PATCH RESEND v5 15/16] arm64: dts: mediatek: add afe support for mt8365 SoC

2024-06-19 Thread AngeloGioacchino Del Regno
Il 14/06/24 09:27, Alexandre Mergnat ha scritto: Add audio front end support of MT8365 SoC. Update the file header. Signed-off-by: Alexandre Mergnat Reviewed-by: AngeloGioacchino Del Regno

Re: [PATCH RESEND v5 16/16] arm64: dts: mediatek: add audio support for mt8365-evk

2024-06-19 Thread AngeloGioacchino Del Regno
Il 14/06/24 09:27, Alexandre Mergnat ha scritto: 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 | 89 + 1 file changed,

Re: [v11 3/7] iio: core: Add new DMABUF interface infrastructure

2024-06-19 Thread Markus Elfring
… > All errors (new ones prefixed by >>): > > >> drivers/iio/industrialio-buffer.c:1715:3: error: cannot jump from this > >> goto statement to its label > 1715 | goto err_dmabuf_unmap_attachment; … Would you dare to transform the remaining goto chain into further applications

RE: [Patch V3] i2c: imx-lpi2c: add eDMA mode support for LPI2C

2024-06-19 Thread Aisheng Dong
> From: Carlos Song > Sent: 2024年6月14日 12:56 > > Add eDMA mode support for LPI2C. > > There are some differences between TX DMA mode and RX DMA mode. > LPI2C MTDR register is Controller Transmit Data Register. > When lpi2c send data, it is tx cmd register and tx data fifo. > When lpi2c receive d

Re: [v11 3/7] iio: core: Add new DMABUF interface infrastructure

2024-06-19 Thread Paul Cercueil
Hi Markus, Le mercredi 19 juin 2024 à 12:03 +0200, Markus Elfring a écrit : > … > > All errors (new ones prefixed by >>): > > > > > > drivers/iio/industrialio-buffer.c:1715:3: error: cannot jump > > > > from this goto statement to its label > >     1715 | goto err_dmabuf_unmap_att

Re: [PATCH 1/9] drm: Add helpers for x16 fixed point values

2024-06-19 Thread Jani Nikula
On Fri, 14 Jun 2024, Imre Deak wrote: > Add helpers to convert between x16 fixed point and integer/fraction > values. Also add the format/argument macros required to printk x16 > fixed point variables. > > These are needed by later patches dumping the Display Stream Compression > configuration in

[PATCH 0/4] drm: rcar-du: Add support for R8A779H0

2024-06-19 Thread Jacopo Mondi
This series upports from Renesas BSP at revision rcar-5.2.0.rc18 the initial display support for the V4M SoC (R8A779H0). The series includes two small bugfixes and then adds support for the V4M SoC to the R-Car DU module and R-Car DSI encoder. Compile-tested only as I don't have a Gray Hawk board

[PATCH 1/4] drm: rcar-mipi-dsi: Fix CLOCKSET1_LOCK definition

2024-06-19 Thread Jacopo Mondi
From: Takeshi Kihara Version 0.51 of the Renesas R-Car Gen4 TRM reports bit 16 of the CLOCKSET1 register of the DSI transmitter module to be a reserved field. Fix this by correcting the CLOCKSET1_LOCK definition to match the TRM and remove the CLOCKSET1_LOCK_PHY definition, as the register is si

[PATCH 4/4] drm: rcar-du: Add support for R8A779H0

2024-06-19 Thread Jacopo Mondi
Add support for R-Car R8A779H0 V4M which has similar characteristics as the already supported R-Car V4H R8A779G0, but with a single output channel. Signed-off-by: Jacopo Mondi --- BSP patch https://github.com/renesas-rcar/linux-bsp/commit/f2fc3314dab2052240653c1a31ba3d7c7190038e --- --- .../bin

[PATCH 3/4] drm: rcar-mipi-dsi: Add support for R8A779H0

2024-06-19 Thread Jacopo Mondi
Add support for R-Car R8A779H0 V4M which has the same characteristics of the already supported R-Car V4H R8A779G0. Signed-off-by: Jacopo Mondi --- BSP patch: https://github.com/renesas-rcar/linux-bsp/commit/61b876a8fa2c5d0f8049ecf29f24e3dd73ba9f8b --- .../devicetree/bindings/display/bridge/rene

[PATCH 2/4] drm: ti-sn65dsi86: Check bridge connection failure

2024-06-19 Thread Jacopo Mondi
From: Phong Hoang Add a check to the register access function when attaching a bridge device. Signed-off-by: Phong Hoang Signed-off-by: Jacopo Mondi --- drivers/gpu/drm/bridge/ti-sn65dsi86.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/ti-sn6

Re: Linux 6.10-rc1

2024-06-19 Thread Pavel Machek
Hi! > > > Let's bring in the actual gpu people.. Dave/Jani/others - does any of > > > this sound familiar? Pavel says things have gotten much slower in > > > 6.10: "something was very wrong with the performance, likely to do > > > with graphics" > > > > Actually, maybe it's not graphics at all. R

[PULL] drm-intel-fixes

2024-06-19 Thread Jani Nikula
Hi Dave & Sima - Surprisingly few fixes lately, here's one for joiner+MSO. drm-intel-fixes-2024-06-19: drm/i915 fixes for v6.10-rc5: - Fix conditions for joiner usage, it's not possible with eDP MSO BR, Jani. The following changes since commit 6ba59ff4227927d3a8530fc2973b80e94b54d58f: Linu

Re: [PATCH v4 14/15] arm64: dts: mediatek: add display blocks support for the MT8365 SoC

2024-06-19 Thread AngeloGioacchino Del Regno
Il 23/05/24 14:49, Alexandre Mergnat ha scritto: - Add aliases for each display components to help display drivers. - Add the Display Pulse Width Modulation (DISP_PWM) to provide PWM signals for the LED driver of mobile LCM. - Add the MIPI Display Serial Interface (DSI) PHY support. (up to 4-l

Re: [PATCH 11/15] RDMA/hbl: add habanalabs RDMA driver

2024-06-19 Thread Leon Romanovsky
On Wed, Jun 19, 2024 at 09:27:54AM +, Omer Shpigelman wrote: > On 6/18/24 15:58, Leon Romanovsky wrote: > > On Tue, Jun 18, 2024 at 11:08:34AM +, Omer Shpigelman wrote: > >> On 6/17/24 22:04, Leon Romanovsky wrote: > >>> [Some people who received this message don't often get email from > >

Re: [PATCH] drm/i915/gt: Fix potential UAF by revoke of fence registers

2024-06-19 Thread Andi Shyti
Hi Janusz, On Mon, Jun 03, 2024 at 09:54:45PM +0200, Janusz Krzysztofik wrote: > CI has been sporadically reporting the following issue triggered by > igt@i915_selftest@live@hangcheck on ADL-P and similar machines: > > <6> [414.049203] i915: Running > intel_hangcheck_live_selftests/igt_reset_evi

Re: [PATCH v2 0/2] Sparse errors on the i915_gem_stolen

2024-06-19 Thread Andi Shyti
Hi, On Tue, Jun 18, 2024 at 07:34:22PM +, Cavitt, Jonathan wrote: > > Commit 05da7d9f717b ("drm/i915/gem: Downgrade stolen lmem setup > > warning") produces two sparse warnings. The first one being a bit > > more sever as it might cause a segmentation fault. > > > > The difference between v1

Re: [PATCH v8 0/3] drm/mediatek: Add support for OF graphs

2024-06-19 Thread AngeloGioacchino Del Regno
Il 18/06/24 12:17, AngeloGioacchino Del Regno ha scritto: Changes in v8: - Rebased on next-20240617 - Changed to allow probing a VDO with no available display outputs Hello CK, At the time of writing, this series was well reviewed and tested by multiple people on multiple SoCs and boards

Re: [PATCH 3/4] drm: rcar-mipi-dsi: Add support for R8A779H0

2024-06-19 Thread Krzysztof Kozlowski
On 19/06/2024 12:22, Jacopo Mondi wrote: > Add support for R-Car R8A779H0 V4M which has the same characteristics > of the already supported R-Car V4H R8A779G0. > > Signed-off-by: Jacopo Mondi > Please run scripts/checkpatch.pl and fix reported warnings. Then please run `scripts/checkpatch.pl --

Re: [v11 3/7] iio: core: Add new DMABUF interface infrastructure

2024-06-19 Thread Markus Elfring
>> Would you dare to transform the remaining goto chain into further >> applications >> of scope-based resource management? > > We discussed this after v6 or v7, DRM/DMABUF maintainers were not keen > on doing that *just yet*. * Would you like to add any links for corresponding development discus

RE: [RFC 0/5] Introduce drm sharpening property

2024-06-19 Thread Garg, Nemesa
> -Original Message- > From: Pekka Paalanen > Sent: Thursday, March 28, 2024 3:35 PM > To: Garg, Nemesa > Cc: Simon Ser ; intel-...@lists.freedesktop.org; dri- > de...@lists.freedesktop.org; G M, Adarsh > Subject: Re: [RFC 0/5] Introduce drm sharpening property > > On Wed, 27 Mar 202

Re: [v11 3/7] iio: core: Add new DMABUF interface infrastructure

2024-06-19 Thread Paul Cercueil
Le mercredi 19 juin 2024 à 13:13 +0200, Markus Elfring a écrit : > > > Would you dare to transform the remaining goto chain into further > > > applications > > > of scope-based resource management? > > > > We discussed this after v6 or v7, DRM/DMABUF maintainers were not > > keen > > on doing that

[PATCH v3 2/9] drm: Export drm_plane_has_format()

2024-06-19 Thread Ville Syrjala
From: Ville Syrjälä Export drm_plane_has_format() so that drivers can use it. v2: add kerneldoc Reviewed-by: Jani Nikula Reviewed-by: Daniel Vetter Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/drm_crtc_internal.h | 2 -- drivers/gpu/drm/drm_plane.c | 10 ++ include/drm/

Re: [PATCH v3 2/9] drm: Export drm_plane_has_format()

2024-06-19 Thread Daniel Stone
On Wed, 19 Jun 2024 at 12:31, Ville Syrjala wrote: > Export drm_plane_has_format() so that drivers can use it. Acked-by: Daniel Stone

Re: [PATCH v2 0/9] drm/i915: Polish plane surface alignment handling

2024-06-19 Thread Ville Syrjälä
On Wed, Jun 12, 2024 at 11:47:03PM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > intel_surf_alignment() in particular has devolved into > a complete mess. Redesign the code so that we can handle > alignment restrictions in a nicer. Also adjust alignment > for TGL+ to actually match the ha

Re: [PATCH 00/15] Introduce HabanaLabs network drivers

2024-06-19 Thread Omer Shpigelman
On 6/17/24 15:34, Alexander Lobakin wrote: > [Some people who received this message don't often get email from > aleksander.loba...@intel.com. Learn why this is important at > https://aka.ms/LearnAboutSenderIdentification ] > > From: Omer Shpigelman > Date: Thu, 13 Jun 2024 11:21:53 +0300 > >> T

Re: [PATCH v3 0/2] drm/panfrost: Add MT8188 support

2024-06-19 Thread Boris Brezillon
On Tue, 11 Jun 2024 10:56:00 +0200 AngeloGioacchino Del Regno wrote: > Changes in v3: > - Added comment stating that MT8188 uses same supplies as MT8183 >as requested by Steven > > Changes in v2: > - Fixed bindings to restrict number of power domains for MT8188's >GPU to three like MT8

Re: [PATCH v11 3/7] iio: core: Add new DMABUF interface infrastructure

2024-06-19 Thread Markus Elfring
… > +++ b/drivers/iio/industrialio-buffer.c … > +static void iio_buffer_dmabuf_release(struct kref *ref) > +{ … > + dma_resv_lock(dmabuf->resv, NULL); > + dma_buf_unmap_attachment(attach, priv->sgt, priv->dir); > + dma_resv_unlock(dmabuf->resv); … Under which circumstances will another

Re: [PATCH v3 02/10] drm/bridge: cdns-dsi: Fix the phy_initialized variable

2024-06-19 Thread Aradhya Bhatia
On 18/06/24 01:04, Dmitry Baryshkov wrote: > On Mon, 17 Jun 2024 at 17:16, Aradhya Bhatia wrote: >> >> Hi Dmitry, >> >> Thanks for reviewing the patches! >> >> On 17/06/24 17:29, Dmitry Baryshkov wrote: >>> On Mon, Jun 17, 2024 at 04:23:03PM GMT, Aradhya Bhatia wrote: Update the Phy initia

Re: [PATCH v6 0/8] drm: Support per-plane async flip configuration

2024-06-19 Thread Ville Syrjälä
On Fri, Jun 14, 2024 at 04:37:41PM -0300, André Almeida wrote: > Hi Dmitry, > > Em 14/06/2024 14:32, Dmitry Baryshkov escreveu: > > On Fri, Jun 14, 2024 at 12:35:27PM GMT, André Almeida wrote: > >> AMD hardware can do async flips with overlay planes, but currently there's > >> no > >> easy way to

Re: [v11 3/7] iio: core: Add new DMABUF interface infrastructure

2024-06-19 Thread Markus Elfring
… > https://lore.kernel.org/linux-iio/219abc43b4fdd4a13b307ed2efaa0e6869e68e3f.ca...@gmail.com/T/#eefd360069c4261aec9621fafde30924706571c94 > > (and responses below) > > It's more nuanced than I remembered. … >> * Will the desire grow for further collateral evolution according to >>   affected so

Re: [PATCH 1/9] drm: Add helpers for x16 fixed point values

2024-06-19 Thread Imre Deak
On Wed, Jun 19, 2024 at 01:10:09PM +0300, Jani Nikula wrote: > On Fri, 14 Jun 2024, Imre Deak wrote: > > Add helpers to convert between x16 fixed point and integer/fraction > > values. Also add the format/argument macros required to printk x16 > > fixed point variables. > > > > These are needed by

Re: [PATCH 3/4] drm: rcar-mipi-dsi: Add support for R8A779H0

2024-06-19 Thread Jacopo Mondi
Hi Krzysztof On Wed, Jun 19, 2024 at 01:07:24PM GMT, Krzysztof Kozlowski wrote: > On 19/06/2024 12:22, Jacopo Mondi wrote: > > Add support for R-Car R8A779H0 V4M which has the same characteristics > > of the already supported R-Car V4H R8A779G0. > > > > Signed-off-by: Jacopo Mondi > > > > Please

Re: [PATCH 09/15] net: hbl_en: add habanalabs Ethernet driver

2024-06-19 Thread Omer Shpigelman
On 6/15/24 03:10, Stephen Hemminger wrote: > [You don't often get email from step...@networkplumber.org. Learn why this is > important at https://aka.ms/LearnAboutSenderIdentification ] > > On Thu, 13 Jun 2024 11:22:02 +0300 > Omer Shpigelman wrote: > >> +static int hbl_en_ports_reopen(struct h

Re: [PATCH 3/4] drm: rcar-mipi-dsi: Add support for R8A779H0

2024-06-19 Thread Krzysztof Kozlowski
On 19/06/2024 14:00, Jacopo Mondi wrote: > Hi Krzysztof > > On Wed, Jun 19, 2024 at 01:07:24PM GMT, Krzysztof Kozlowski wrote: >> On 19/06/2024 12:22, Jacopo Mondi wrote: >>> Add support for R-Car R8A779H0 V4M which has the same characteristics >>> of the already supported R-Car V4H R8A779G0. >>>

Re: [PATCH 09/15] net: hbl_en: add habanalabs Ethernet driver

2024-06-19 Thread Omer Shpigelman
On 6/19/24 00:19, Stephen Hemminger wrote: > On Tue, 18 Jun 2024 19:37:36 + > Omer Shpigelman wrote: > >>> >>> Is there any reason in particular to call netif_receive_skb instead of >>> napi_gro_receive ? >>> >> >> As you can see, we also support polling mode which is a non-NAPI flow. >> W

Re: [PATCH] dma-buf/sw_sync: Add a reference when adding fence to timeline list

2024-06-19 Thread Tvrtko Ursulin
On 14/06/2024 19:00, Thadeu Lima de Souza Cascardo wrote: On Fri, Jun 14, 2024 at 11:52:03AM +0100, Tvrtko Ursulin wrote: On 24/03/2024 10:15, Thadeu Lima de Souza Cascardo wrote: commit e531fdb5cd5e ("dma-buf/sw_sync: Avoid recursive lock during fence signal") fixed a recursive locking when

Re: [PATCH v11 3/7] iio: core: Add new DMABUF interface infrastructure

2024-06-19 Thread Paul Cercueil
Le mercredi 19 juin 2024 à 13:43 +0200, Markus Elfring a écrit : > … > > +++ b/drivers/iio/industrialio-buffer.c > … > > +static void iio_buffer_dmabuf_release(struct kref *ref) > > +{ > … > > + dma_resv_lock(dmabuf->resv, NULL); > > + dma_buf_unmap_attachment(attach, priv->sgt, priv->dir); > >

Re: [PATCH 09/15] net: hbl_en: add habanalabs Ethernet driver

2024-06-19 Thread Omer Shpigelman
On 6/19/24 11:01, Przemek Kitszel wrote: > On 6/19/24 09:16, Omer Shpigelman wrote: >> On 6/18/24 17:19, Andrew Lunn wrote: > > [...] > >> +module_param(poll_enable, bool, 0444); >> +MODULE_PARM_DESC(poll_enable, >> + "Enable Rx polling rather than IRQ + NAPI (0 = no, 1 =

Re: [v11 3/7] iio: core: Add new DMABUF interface infrastructure

2024-06-19 Thread Paul Cercueil
Le mercredi 19 juin 2024 à 13:56 +0200, Markus Elfring a écrit : > … > > https://lore.kernel.org/linux-iio/219abc43b4fdd4a13b307ed2efaa0e6869e68e3f.ca...@gmail.com/T/#eefd360069c4261aec9621fafde30924706571c94 > > > > (and responses below) > > > > It's more nuanced than I remembered. > … > > > >

Re: [PATCH v11 6/7] Documentation: iio: Document high-speed DMABUF based API

2024-06-19 Thread Bagas Sanjaya
On Tue, Jun 18, 2024 at 12:03:01PM +0200, Paul Cercueil wrote: > +As part of this interface, three new IOCTLs have been added. These three > +IOCTLs have to be performed on the IIO buffer's file descriptor, > +obtained using the IIO_BUFFER_GET_FD_IOCTL() ioctl. "... which can be obtained using ..."

Re: [PATCH v11 7/7] Documentation: dmaengine: Document new dma_vec API

2024-06-19 Thread Bagas Sanjaya
On Tue, Jun 18, 2024 at 12:03:02PM +0200, Paul Cercueil wrote: > Document the dmaengine_prep_peripheral_dma_vec() API function, the > device_prep_peripheral_dma_vec() backend function, and the dma_vec > struct. > LGTM, thanks! Reviewed-by: Bagas Sanjaya -- An old man doll... just what I alway

Re: [v11 3/7] iio: core: Add new DMABUF interface infrastructure

2024-06-19 Thread Nuno Sá
On Wed, 2024-06-19 at 14:21 +0200, Paul Cercueil wrote: > Le mercredi 19 juin 2024 à 13:56 +0200, Markus Elfring a écrit : > > … > > > https://lore.kernel.org/linux-iio/219abc43b4fdd4a13b307ed2efaa0e6869e68e3f.ca...@gmail.com/T/#eefd360069c4261aec9621fafde30924706571c94 > > > > > > (and responses

[PATCH 6.6 216/267] drm/shmem-helper: Fix BUG_ON() on mmap(PROT_WRITE, MAP_PRIVATE)

2024-06-19 Thread Greg Kroah-Hartman
6.6-stable review patch. If anyone has any objections, please let me know. -- From: Wachowski, Karol commit 39bc27bd688066a63e56f7f64ad34fae03fbe3b8 upstream. Lack of check for copy-on-write (COW) mapping in drm_gem_shmem_mmap allows users to call mmap with PROT_WRITE and MAP_

[PATCH 6.9 257/281] drm/shmem-helper: Fix BUG_ON() on mmap(PROT_WRITE, MAP_PRIVATE)

2024-06-19 Thread Greg Kroah-Hartman
6.9-stable review patch. If anyone has any objections, please let me know. -- From: Wachowski, Karol commit 39bc27bd688066a63e56f7f64ad34fae03fbe3b8 upstream. Lack of check for copy-on-write (COW) mapping in drm_gem_shmem_mmap allows users to call mmap with PROT_WRITE and MAP_

Re: [PATCH v3 18/23] regulator: add s2dos05 regulator support

2024-06-19 Thread kernel test robot
Hi Dzmitry, kernel test robot noticed the following build warnings: [auto build test WARNING on 6906a84c482f098d31486df8dc98cead21cce2d0] url: https://github.com/intel-lab-lkp/linux/commits/Dzmitry-Sankouski/power-supply-add-undervoltage-health-status-property/20240618-222456 base: 6906a84

Re: [PATCH v3 11/23] drm/panel: Add support for S6E3HA8 panel driver

2024-06-19 Thread Dzmitry Sankouski
вт, 18 июн. 2024 г. в 21:39, Dmitry Baryshkov : > > > + ret = mipi_dsi_compression_mode(dsi, true); > > + if (ret < 0) { > > + dev_err(dev, "Failed to set compression mode: %d\n", ret); > > + return ret; > > + } > > Interesting, compression mode is being set befo

Re: [PATCH v11 3/7] iio: core: Add new DMABUF interface infrastructure

2024-06-19 Thread Markus Elfring
>> … >>> +++ b/drivers/iio/industrialio-buffer.c >> … >>> +static void iio_buffer_dmabuf_release(struct kref *ref) >>> +{ >> … >>> + dma_resv_lock(dmabuf->resv, NULL); >>> + dma_buf_unmap_attachment(attach, priv->sgt, priv->dir); >>> + dma_resv_unlock(dmabuf->resv); >> … >> >> Under which cir

Re: [PATCH v2 8/8] drm/amdgpu: Call drm_atomic_helper_shutdown() at shutdown time

2024-06-19 Thread Alex Deucher
On Tue, Jun 18, 2024 at 7:53 PM Doug Anderson wrote: > > Hi, > > On Tue, Jun 18, 2024 at 3:00 PM Alex Deucher wrote: > > > > On Tue, Jun 18, 2024 at 5:40 PM Doug Anderson wrote: > > > > > > Hi, > > > > > > > > > On Mon, Jun 17, 2024 at 8:01 AM Alex Deucher > > > wrote: > > > > > > > > On Wed,

Re: "firmware/sysfb: Set firmware-framebuffer parent device" breaks lightdm on Ubuntu 22.04 using amdgpu

2024-06-19 Thread Thomas Zimmermann
Hi Am 13.06.24 um 07:59 schrieb Marek Olšák: Hi Thomas, Commit 9eac534db0013aff9b9124985dab114600df9081 as per the title breaks (crashes?) lightdm (login screen) such that all I get is the terminal. It's also reproducible with tag v6.9 where the commit is present. I was able to reproduce the

Re: [PATCH v2 8/8] drm/amdgpu: Call drm_atomic_helper_shutdown() at shutdown time

2024-06-19 Thread Alex Deucher
On Wed, Jun 19, 2024 at 9:50 AM Alex Deucher wrote: > > On Tue, Jun 18, 2024 at 7:53 PM Doug Anderson wrote: > > > > Hi, > > > > On Tue, Jun 18, 2024 at 3:00 PM Alex Deucher wrote: > > > > > > On Tue, Jun 18, 2024 at 5:40 PM Doug Anderson > > > wrote: > > > > > > > > Hi, > > > > > > > > > > >

Re: [PATCH v3 01/21] iommu: Add iommu_paging_domain_alloc() interface

2024-06-19 Thread Jason Gunthorpe
On Mon, Jun 10, 2024 at 04:55:35PM +0800, Lu Baolu wrote: > Commit <17de3f5fdd35> ("iommu: Retire bus ops") removes iommu ops from > bus. The iommu subsystem no longer relies on bus for operations. So the > bus parameter in iommu_domain_alloc() is no longer relevant. > > Add a new interface named

Re: [PATCH v3 02/21] iommufd: Use iommu_paging_domain_alloc()

2024-06-19 Thread Jason Gunthorpe
On Mon, Jun 10, 2024 at 04:55:36PM +0800, Lu Baolu wrote: > If the iommu driver doesn't implement its domain_alloc_user callback, > iommufd_hwpt_paging_alloc() rolls back to allocate an iommu paging domain. > Replace iommu_domain_alloc() with iommu_user_domain_alloc() to pass the > device pointer a

Re: [PATCH v3 03/21] vfio/type1: Use iommu_paging_domain_alloc()

2024-06-19 Thread Jason Gunthorpe
On Mon, Jun 10, 2024 at 04:55:37PM +0800, Lu Baolu wrote: > Replace iommu_domain_alloc() with iommu_paging_domain_alloc(). > > Signed-off-by: Lu Baolu > --- > drivers/vfio/vfio_iommu_type1.c | 7 --- > 1 file changed, 4 insertions(+), 3 deletions(-) Reviewed-by: Jason Gunthorpe Jason

Re: [PATCH v3 04/21] vhost-vdpa: Use iommu_paging_domain_alloc()

2024-06-19 Thread Jason Gunthorpe
On Mon, Jun 10, 2024 at 04:55:38PM +0800, Lu Baolu wrote: > Replace iommu_domain_alloc() with iommu_paging_domain_alloc(). > > Signed-off-by: Lu Baolu > --- > drivers/vhost/vdpa.c | 14 ++ > 1 file changed, 6 insertions(+), 8 deletions(-) Reviewed-by: Jason Gunthorpe Jason

Re: [PATCH] drm/radeon: remove load callback

2024-06-19 Thread Thomas Zimmermann
Hi Am 07.06.24 um 03:14 schrieb wu hoi pok: this patch is to remove the load callback from the kms_driver, following closly to amdgpu, radeon_driver_load_kms and devm_drm_dev_alloc are used, most of the changes here are rdev->ddev to rdev_to_drm, which maps to adev_to_drm in amdgpu. however this

Re: [PATCH v3 07/21] gpu: host1x: Use iommu_paging_domain_alloc()

2024-06-19 Thread Jason Gunthorpe
On Mon, Jun 10, 2024 at 04:55:41PM +0800, Lu Baolu wrote: > An iommu domain is allocated in host1x_iommu_attach() and is attached to > host->dev. Use iommu_paging_domain_alloc() to make it explicit. > > Signed-off-by: Lu Baolu > --- > drivers/gpu/host1x/dev.c | 7 --- > 1 file changed, 4 ins

Re: [PATCH v3 08/21] media: nvidia: tegra: Use iommu_paging_domain_alloc()

2024-06-19 Thread Jason Gunthorpe
On Mon, Jun 10, 2024 at 04:55:42PM +0800, Lu Baolu wrote: > An iommu domain is allocated in tegra_vde_iommu_init() and is attached to > vde->dev. Use iommu_paging_domain_alloc() to make it explicit. > > Signed-off-by: Lu Baolu > --- > drivers/media/platform/nvidia/tegra-vde/iommu.c | 7 --- >

Re: [PATCH v3 09/21] media: venus: firmware: Use iommu_paging_domain_alloc()

2024-06-19 Thread Jason Gunthorpe
On Mon, Jun 10, 2024 at 04:55:43PM +0800, Lu Baolu wrote: > An iommu domain is allocated in venus_firmware_init() and is attached to > core->fw.dev in the same function. Use iommu_paging_domain_alloc() to > make it explicit. > > Signed-off-by: Lu Baolu > --- > drivers/media/platform/qcom/venus/f

[PATCH v2 05/14] drm/mediatek: Turn off the layers with zero width or height

2024-06-19 Thread Hsiao Chien Sung via B4 Relay
From: Hsiao Chien Sung We found that IGT (Intel GPU Tool) will try to commit layers with zero width or height and lead to undefined behaviors in hardware. Disable the layers in such a situation. Fixes: 453c3364632a ("drm/mediatek: Add ovl_adaptor support for MT8195") Fixes: d886c0009bd0 ("drm/me

[PATCH v2 06/14] drm/mediatek: Add OVL compatible name for MT8195

2024-06-19 Thread Hsiao Chien Sung via B4 Relay
From: Hsiao Chien Sung Add OVL compatible name for MT8195. Without this commit, DRM won't work after modifying the device tree. Reviewed-by: CK Hu Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Hsiao Chien Sung --- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 2 ++ 1 file changed, 2 ins

[PATCH v2 07/14] drm/mediatek: Add DRM_MODE_ROTATE_0 to rotation property

2024-06-19 Thread Hsiao Chien Sung via B4 Relay
From: Hsiao Chien Sung Always add DRM_MODE_ROTATE_0 to rotation property to meet IGT's (Intel GPU Tools) requirement. Reviewed-by: CK Hu Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Hsiao Chien Sung --- drivers/gpu/drm/mediatek/mtk_ddp_comp.h | 6 +- drivers/gpu/drm/mediatek/

[PATCH v2 08/14] drm/mediatek: Add new color format MACROs in OVL

2024-06-19 Thread Hsiao Chien Sung via B4 Relay
From: Hsiao Chien Sung Define new color formats to hide the bit operation in the MACROs to make the switch statement more concise. Change the MACROs to align the naming rule in DRM. Reviewed-by: CK Hu Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Hsiao Chien Sung --- drivers/gpu/dr

[PATCH v2 02/14] drm/mediatek: Disable 9-bit alpha in ETHDR

2024-06-19 Thread Hsiao Chien Sung via B4 Relay
From: Hsiao Chien Sung When 9-bit alpha is enabled, its value will be converted from 0-255 to 0-256 (255 = not defined). This is designed for special HDR related calculation, which should be disabled by default, otherwise, alpha blending will not work correctly. Fixes: 119f5173628a ("drm/mediate

[PATCH v2 01/14] drm/mediatek: Add missing plane settings when async update

2024-06-19 Thread Hsiao Chien Sung via B4 Relay
From: Hsiao Chien Sung Fix an issue that plane coordinate was not saved when calling async update. Fixes: 920fffcc8912 ("drm/mediatek: update cursors by using async atomic update") Reviewed-by: CK Hu Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Hsiao Chien Sung --- drivers/gpu/d

[PATCH v2 04/14] drm/mediatek: Fix XRGB setting error in Mixer

2024-06-19 Thread Hsiao Chien Sung via B4 Relay
From: Hsiao Chien Sung Although the alpha channel in XRGB formats can be ignored, ALPHA_CON must be configured accordingly when using XRGB formats or it will still affects CRC generation. Fixes: d886c0009bd0 ("drm/mediatek: Add ETHDR support for MT8195") Reviewed-by: CK Hu Reviewed-by: AngeloGi

[PATCH v2 11/14] drm/mediatek: Support RGBA8888 and RGBX8888 in OVL on MT8195

2024-06-19 Thread Hsiao Chien Sung via B4 Relay
From: Hsiao Chien Sung Support RGBA and RGBX formats in OVL on MT8195. Reviewed-by: CK Hu Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Hsiao Chien Sung --- drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/mediate

[PATCH v2 03/14] drm/mediatek: Fix XRGB setting error in OVL

2024-06-19 Thread Hsiao Chien Sung via B4 Relay
From: Hsiao Chien Sung CONST_BLD must be enabled for XRGB formats although the alpha channel can be ignored, or OVL will still read the value from memory. This error only affects CRC generation. Fixes: 119f5173628a ("drm/mediatek: Add DRM Driver for Mediatek SoC MT8173.") Reviewed-by: CK Hu Rev

[PATCH v2 13/14] drm/mediatek: Support DRM plane alpha in Mixer

2024-06-19 Thread Hsiao Chien Sung via B4 Relay
From: Hsiao Chien Sung Set the plane alpha according to DRM plane property. Reviewed-by: CK Hu Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Hsiao Chien Sung --- drivers/gpu/drm/mediatek/mtk_ethdr.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/g

[PATCH v2 14/14] drm/mediatek: Fix XRGB setting error in OVL

2024-06-19 Thread Hsiao Chien Sung via B4 Relay
From: Hsiao Chien Sung CONST_BLD must be enabled for XRGB formats although the alpha channel can be ignored, or OVL will still read the value from memory. This error only affects CRC generation. Fixes: 119f5173628a ("drm/mediatek: Add DRM Driver for Mediatek SoC MT8173.") Reviewed-by: AngeloGioa

  1   2   3   >