Re: ✗ Fi.CI.IGT: failure for series starting with [1/4] drm/dp_mst: Fix NULL dereference during payload addition

2023-09-18 Thread Imre Deak
On Thu, Sep 14, 2023 at 06:01:49AM +, Patchwork wrote: > == Series Details == > > Series: series starting with [1/4] drm/dp_mst: Fix NULL dereference during > payload addition > URL : https://patchwork.freedesktop.org/series/123652/ > State : failure Thanks for the reviews, patches 1-3

[PATCH v2] drm/etnaviv: refactor deprecated strncpy

2023-09-18 Thread Justin Stitt
`strncpy` is deprecated for use on NUL-terminated destination strings [1]. We should prefer more robust and less ambiguous string interfaces. A suitable replacement is `strscpy_pad` due to the fact that it guarantees NUL-termination on the destination buffer whilst maintaining the NUL-padding

[PATCH][V3] drm/amd/display: Remove unwanted drm edid references

2023-09-18 Thread Alex Hung
[WHY] edid_override and drm_edid_override_connector_update, according to drm documentation, should not be referred outside drm_edid. [HOW] Remove and replace them accordingly. This can tested by IGT's kms_hdmi_inject test. Signed-off-by: Alex Hung ---

Re: [PATCH v3 1/4] drm/ttm/tests: Add tests for ttm_resource and ttm_sys_man

2023-09-18 Thread Karolina Stolarek
On 18.09.2023 13:48, Karolina Stolarek wrote: On 12.09.2023 14:54, Christian König wrote: Am 12.09.23 um 13:49 schrieb Karolina Stolarek: Test initialization of ttm_resource using different memory domains. Add tests for a system memory manager and functions that can be tested without a

Re: [V11 1/8] ACPI: Add support for AMD ACPI based Wifi band RFI mitigation feature

2023-09-18 Thread Mario Limonciello
On 8/31/2023 01:20, Evan Quan wrote: Due to electrical and mechanical constraints in certain platform designs there may be likely interference of relatively high-powered harmonics of the (G-)DDR memory clocks with local radio module frequency bands used by Wifi 6/6e/7. To mitigate this, AMD has

Re: [PATCH v5 5/6] drm/panfrost: Implement generic DRM object RSS reporting function

2023-09-18 Thread Steven Price
On 18/09/2023 11:32, Boris Brezillon wrote: > On Mon, 18 Sep 2023 11:01:43 +0100 > Steven Price wrote: > >> On 14/09/2023 23:38, Adrián Larumbe wrote: >>> BO's RSS is updated every time new pages are allocated on demand and mapped >>> for the object at GPU page fault's IRQ handler, but only for

Re: [PATCH v3 1/4] drm/ttm/tests: Add tests for ttm_resource and ttm_sys_man

2023-09-18 Thread Christian König
Am 18.09.23 um 13:48 schrieb Karolina Stolarek: On 12.09.2023 14:54, Christian König wrote: Am 12.09.23 um 13:49 schrieb Karolina Stolarek: Test initialization of ttm_resource using different memory domains. Add tests for a system memory manager and functions that can be tested without a

Re: [PATCH][V2] drm/amd/display: Remove unwanted drm edid references

2023-09-18 Thread Alex Hung
On 2023-09-18 04:25, Jani Nikula wrote: On Fri, 15 Sep 2023, Alex Hung wrote: [WHY] edid_override and drm_edid_override_connector_update, according to drm documentation, should not be referred outside drm_edid. [HOW] Remove and replace them accordingly. This can tested by IGT's

Re: [RFC PATCH 8/8] dt-bindings: display: panel: add Fascontek FS035VG158 panel

2023-09-18 Thread Krzysztof Kozlowski
On 17/09/2023 22:24, John Watts wrote: > On Mon, Sep 11, 2023 at 11:41:12AM +0200, Krzysztof Kozlowski wrote: >> Missing reg. Probably also port. > > Hello again, > > I've been working on v2 of this series and done some initial cleanup. > > Right now it looks a bit like this: > >> allOf: >>

Re: [PATCH v3 1/4] drm/ttm/tests: Add tests for ttm_resource and ttm_sys_man

2023-09-18 Thread Karolina Stolarek
On 12.09.2023 14:54, Christian König wrote: Am 12.09.23 um 13:49 schrieb Karolina Stolarek: Test initialization of ttm_resource using different memory domains. Add tests for a system memory manager and functions that can be tested without a fully-featured resource manager. Update

Re: [Nouveau] [PATCH drm-misc-next v3 6/7] drm/gpuvm: generalize dma_resv/extobj handling and GEM validation

2023-09-18 Thread Danilo Krummrich
On 9/14/23 19:15, Danilo Krummrich wrote: On 9/14/23 19:13, Thomas Hellström wrote: On Thu, 2023-09-14 at 17:27 +0200, Danilo Krummrich wrote: On 9/14/23 13:32, Thomas Hellström wrote: On 9/14/23 12:57, Danilo Krummrich wrote: On 9/13/23 14:16, Danilo Krummrich wrote: And validate() can

Re: [PATCH v3 11/13] drm/sched: Waiting for pending jobs to complete in scheduler kill

2023-09-18 Thread Christian König
Am 16.09.23 um 19:52 schrieb Danilo Krummrich: On 9/12/23 16:47, Matthew Brost wrote: On Tue, Sep 12, 2023 at 11:57:30AM +0200, Christian König wrote: Am 12.09.23 um 04:16 schrieb Matthew Brost: Wait for pending jobs to be complete before signaling queued jobs. This ensures dma-fence

Re: [PATCH] drm/mediatek: Add spinlock for setting vblank event in atomic_begin

2023-09-18 Thread Fei Shao
Hi Angelo, On Wed, Sep 13, 2023 at 4:35 PM AngeloGioacchino Del Regno wrote: > > Il 22/08/23 15:26, Jason-JH.Lin ha scritto: > > Add spinlock protection to avoid race condition on vblank event > > between mtk_drm_crtc_atomic_begin() and mtk_drm_finish_page_flip(). > > > > Hello Jason, > > Can

Re: [PATCH 8/9] dt-bindings: reserved-memory: MediaTek: Add reserved memory for SVP

2023-09-18 Thread 吴勇
On Tue, 2023-09-12 at 10:53 -0500, Rob Herring wrote: > > External email : Please do not click links or open attachments until > you have verified the sender or the content. > On Tue, Sep 12, 2023 at 11:13:50AM +0100, Robin Murphy wrote: > > On 12/09/2023 9:28 am, Krzysztof Kozlowski

Re: [PATCH 3/9] dma-heap: Provide accessors so that in-kernel drivers can allocate dmabufs from specific heaps

2023-09-18 Thread 吴勇
On Tue, 2023-09-12 at 11:05 -0400, Nicolas Dufresne wrote: > > External email : Please do not click links or open attachments until > you have verified the sender or the content. > Le mardi 12 septembre 2023 à 08:47 +, Yong Wu (吴勇) a écrit : > > On Mon, 2023-09-11 at 12:12 -0400,

Re: [PATCH v5 5/6] drm/panfrost: Implement generic DRM object RSS reporting function

2023-09-18 Thread Boris Brezillon
On Mon, 18 Sep 2023 11:01:43 +0100 Steven Price wrote: > On 14/09/2023 23:38, Adrián Larumbe wrote: > > BO's RSS is updated every time new pages are allocated on demand and mapped > > for the object at GPU page fault's IRQ handler, but only for heap buffers. > > The reason this is unnecessary

Re: [PATCH][V2] drm/amd/display: Remove unwanted drm edid references

2023-09-18 Thread Jani Nikula
On Fri, 15 Sep 2023, Alex Hung wrote: > [WHY] > edid_override and drm_edid_override_connector_update, according to drm > documentation, should not be referred outside drm_edid. > > [HOW] > Remove and replace them accordingly. This can tested by IGT's > kms_hdmi_inject test. > > Signed-off-by:

Re: [PATCH] drm/bridge/analogix/anx78xx: Add missing definition

2023-09-18 Thread Robert Foss
On Sat, Sep 9, 2023 at 4:43 AM Alicja Michalska wrote: > > Analogix ANX78XX driver is missing definitions for anx7816. > It uses the same I2C register set as anx7818. > > Signed-off-by: Alicja Michalska > --- > drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c | 2 ++ > 1 file changed, 2

Re: [PATCH v5 6/6] drm/drm-file: Show finer-grained BO sizes in drm_show_memory_stats

2023-09-18 Thread Steven Price
On 14/09/2023 23:38, Adrián Larumbe wrote: > The current implementation will try to pick the highest available size > display unit as soon as the BO size exceeds that of the previous > multiplier. That can lead to loss of precision in contexts of low memory > usage. > > The new selection criteria

Re: [PATCH] drm/bridge: dw-hdmi-cec: Add arbitration lost event

2023-09-18 Thread Robert Foss
On Sat, 9 Sep 2023 16:44:32 +0200, Jernej Skrabec wrote: > Add handling of arbitration lost event. > > Applied, thanks! [1/1] drm/bridge: dw-hdmi-cec: Add arbitration lost event https://cgit.freedesktop.org/drm/drm-misc/commit/?id=484281d5436c Rob

Re: [PATCH v5 5/6] drm/panfrost: Implement generic DRM object RSS reporting function

2023-09-18 Thread Steven Price
On 14/09/2023 23:38, Adrián Larumbe wrote: > BO's RSS is updated every time new pages are allocated on demand and mapped > for the object at GPU page fault's IRQ handler, but only for heap buffers. > The reason this is unnecessary for non-heap buffers is that they are mapped > onto the GPU's VA

Re: [PATCH v5 4/6] drm/drm_file: Add DRM obj's RSS reporting function for fdinfo

2023-09-18 Thread Steven Price
On 14/09/2023 23:38, Adrián Larumbe wrote: > Some BO's might be mapped onto physical memory chunkwise and on demand, > like Panfrost's tiler heap. In this case, even though the > drm_gem_shmem_object page array might already be allocated, only a very > small fraction of the BO is currently backed

Re: [PATCH v5 3/6] drm/panfrost: Add fdinfo support for memory stats

2023-09-18 Thread Steven Price
On 14/09/2023 23:38, Adrián Larumbe wrote: > A new DRM GEM object function is added so that drm_show_memory_stats can > provide more accurate memory usage numbers. > > Ideally, in panfrost_gem_status, the BO's purgeable flag would be checked > after locking the driver's shrinker mutex, but

Re: [PATCH for-next v2 03/10] iio: accel: fxls8962af: convert to EXPORT_NS_GPL_RUNTIME_PM_OPS()

2023-09-18 Thread Richard Fitzgerald
On 18/9/23 09:09, Raag Jadav wrote: With original macro being renamed to EXPORT_NS_GPL_RUNTIME_PM_OPS(), use the new macro. Signed-off-by: Raag Jadav --- drivers/iio/accel/fxls8962af-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v5 2/6] drm/panfrost: Add fdinfo support GPU load metrics

2023-09-18 Thread Steven Price
On 14/09/2023 23:38, Adrián Larumbe wrote: > The drm-stats fdinfo tags made available to user space are drm-engine, > drm-cycles, drm-max-freq and drm-curfreq, one per job slot. > > This deviates from standard practice in other DRM drivers, where a single > set of key:value pairs is provided for

Re: [RFC][PATCH v2 0/2] drm/panic: Add a drm panic handler

2023-09-18 Thread Jocelyn Falempe
On 16/09/2023 15:09, nerdopolis wrote: On Friday, September 15, 2023 4:28:20 AM EDT Jocelyn Falempe wrote: This introduces a new drm panic handler, which displays a message when a panic occurs. So when fbcon is disabled, you can still see a kernel panic. This is one of the missing feature,

Re: [PATCH] fbdev/sh7760fb: Depend on FB=y

2023-09-18 Thread Javier Martinez Canillas
Thomas Zimmermann writes: Hello Thomas, > Fix linker error if FB=m about missing fb_io_read and fb_io_write. The > linker's error message suggests that this config setting has already > been broken for other symbols. > > All errors (new ones prefixed by >>): > > sh4-linux-ld:

Re: [PATCH v2 04/11] drm/mediatek: Add OVL compatible name for MT8195

2023-09-18 Thread 胡俊光

Re: [PATCH v2 06/11] drm/mediatek: Support alpha blending in display driver

2023-09-18 Thread 胡俊光

Re: [PATCH v2 04/11] drm/mediatek: Add OVL compatible name for MT8195

2023-09-18 Thread AngeloGioacchino Del Regno
Il 18/09/23 11:09, CK Hu (胡俊光) ha scritto: On Mon, 2023-09-18 at 16:42 +0800, Hsiao Chien Sung wrote: Add OVL compatible name for MT8195. Reviewed-by: CK Hu but it's weird to put this patch into IGT series. Without this patch, mt8195 drm driver does not work not only IGT. The driver does

[PATCH 13/14] accel/habanalabs: export dma-buf only if size/offset multiples of PAGE_SIZE

2023-09-18 Thread Oded Gabbay
From: Tomer Tayar It is currently allowed for a user to export dma-buf with size and offset that are not multiples of PAGE_SIZE. The exported memory is mapped for the importer device, and there it will be rounded to PAGE_SIZE, leading to actually exporting more than the user intended to. To make

[PATCH 14/14] accel/habanalabs: tiny refactor of hl_map_dmabuf()

2023-09-18 Thread Oded Gabbay
From: Tomer Tayar alloc_sgt_from_device_pages() includes relatively many parameters, and in a subsequent change another offset parameter is going to be added. Using structure fields directly when calling this function, and in hl_map_dmabuf() it is done twice, makes it a little bit difficult to

Re: [PATCH v2 1/5] string.h: add array-wrappers for (v)memdup_user()

2023-09-18 Thread Philipp Stanner
On Sat, 2023-09-16 at 17:32 +0300, Dan Carpenter wrote: > On Fri, Sep 08, 2023 at 09:59:40PM +0200, Philipp Stanner wrote: > > +static inline void *memdup_array_user(const void __user *src, > > size_t n, size_t size) > > +{ > > +   size_t nbytes; > > + > > +   if

[PATCH 08/14] accel/habanalabs/gaudi2: handle eq health heartbeat check

2023-09-18 Thread Oded Gabbay
From: farah kassabri Add mechanism for fw eq health check. this will be done using two flows: using the heartbeat mechanism and raising a dedicated interrupt to indicate an eq failure like EQ full. This patch will add implementation for the eq heartbeat for gaudi2 asic. More info about the

[PATCH 09/14] accel/habanalabs/gaudi2: add eq health check using irq

2023-09-18 Thread Oded Gabbay
From: farah kassabri This is the second patch for applying the eq health check mechanism which will add support for the interrupt flow for gaudi2 asic. More info about the interrupt mechanism: set a dedicated msix for the eq error interrupt, and add interrupt handler for it. when FW detects

[PATCH 03/14] accel/habanalabs: move cpucp interface to linux/habanalabs

2023-09-18 Thread Oded Gabbay
From: David Meriin The CPUCP interface is moved to a shared folder outside of accel as a pre-requisite to upstream the NIC drivers that will also include this file. Signed-off-by: David Meriin Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay --- MAINTAINERS

[PATCH 12/14] accel/habanalabs: use exported size from dma_buf and not from phys_pg_pack

2023-09-18 Thread Oded Gabbay
From: Tomer Tayar The 'exported_size' member in 'struct hl_vm_phys_pg_pack' is used to keep the exported dma-buf size, to be later used when the buffer is mapped. However it is possible that the same phys_pg_pack will be exported more than once, and independently of when the mapping takes place.

[PATCH 07/14] accel/habanalabs/gaudi2: print power-mode changes

2023-09-18 Thread Oded Gabbay
From: Moti Haimovski Print to kernel log any device power mode changes events reported by the FW. Signed-off-by: Moti Haimovski Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay --- drivers/accel/habanalabs/gaudi2/gaudi2.c | 12

[PATCH 10/14] accel/habanalabs: prevent sending heartbeat before events are enabled

2023-09-18 Thread Oded Gabbay
From: farah kassabri After the heartbeat mechanism is now expanded to be used also for EQ health check, we shouldn't send heartbeat messages to FW before driver allow events to be received from FW. Because if the driver will send two heartbeats before it enables events to be received from FW,

[PATCH 11/14] accel/habanalabs: always pass exported size to alloc_sgt_from_device_pages()

2023-09-18 Thread Oded Gabbay
From: Tomer Tayar For Gaudi1 the exported dma-buf is always composed of a single page, and therefore the exported size is equal to this page's size. When calling alloc_sgt_from_device_pages(), we pass 0 as the exported size and internally calculate it as "number of pages * page size". This makes

[PATCH 06/14] accel/habanalabs: add tsc clock sampling to clock sync info

2023-09-18 Thread Oded Gabbay
From: Hen Alon Add tsc clock to clock sync info, to enable using this clock for sampling and sync it with device time. Signed-off-by: Hen Alon Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay --- drivers/accel/habanalabs/common/habanalabs_ioctl.c | 1 +

[PATCH 05/14] accel/habanalabs: fix inline doc typos

2023-09-18 Thread Oded Gabbay
From: Dafna Hirschfeld Fix two typos Signed-off-by: Dafna Hirschfeld Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay --- drivers/accel/habanalabs/common/device.c | 2 +- drivers/accel/habanalabs/common/habanalabs.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 04/14] accel/habanalabs: disable events ioctls on control device

2023-09-18 Thread Oded Gabbay
From: Dafna Hirschfeld Because it is not used and also, for graceful reset to work those ioctls should run on the compute device. Signed-off-by: Dafna Hirschfeld Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay --- drivers/accel/habanalabs/common/device.c | 13 -

[PATCH 01/14] accel/habanalabs: improve etf configuration

2023-09-18 Thread Oded Gabbay
From: Benjamin Dotan coresight ETF blocks have different size. As a result, sync packets need to be aligned based on fifo size. Signed-off-by: Benjamin Dotan Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay --- drivers/accel/habanalabs/gaudi2/gaudi2_coresight.c | 9 - 1 file

[PATCH 02/14] accel/habanalabs/gaudi2: include block id in ECC error reporting

2023-09-18 Thread Oded Gabbay
From: Ofir Bitton During ECC event handling, Memory wrapper id was mistakenly printed as block id. Fix the print and in addition fetch the actual block-id from firmware. Signed-off-by: Ofir Bitton Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay ---

Re: [PATCH v2 04/11] drm/mediatek: Add OVL compatible name for MT8195

2023-09-18 Thread 胡俊光

Re: [PATCH v2 01/11] soc: mediatek: Add register definitions for GCE

2023-09-18 Thread AngeloGioacchino Del Regno
Il 18/09/23 10:41, Hsiao Chien Sung ha scritto: Add register definitions for GCE so users can use them as a buffer to store data. Signed-off-by: Hsiao Chien Sung Reviewed-by: AngeloGioacchino Del Regno

Re: [PATCH v2 03/11] soc: mediatek: Disable 9-bit alpha in ETHDR

2023-09-18 Thread AngeloGioacchino Del Regno
Il 18/09/23 10:41, Hsiao Chien Sung ha scritto: ETHDR 9-bit alpha should be disabled by default, otherwise alpha blending will not work. Signed-off-by: Hsiao Chien Sung Reviewed-by: AngeloGioacchino Del Regno

Re: [PATCH v2 05/11] drm/mediatek: Adjust DRM mode configs for IGT

2023-09-18 Thread 胡俊光

[PATCH] fbdev/sh7760fb: Depend on FB=y

2023-09-18 Thread Thomas Zimmermann
Fix linker error if FB=m about missing fb_io_read and fb_io_write. The linker's error message suggests that this config setting has already been broken for other symbols. All errors (new ones prefixed by >>): sh4-linux-ld: drivers/video/fbdev/sh7760fb.o: in function `sh7760fb_probe':

Re: [PATCH 1/1] drm/mediatek: Fix errors when reporting rotation capability

2023-09-18 Thread AngeloGioacchino Del Regno
Il 18/09/23 09:10, Hsiao Chien Sung ha scritto: For CRTCs that doesn't support rotation should still return DRM_MODE_ROTATE_0. Since both OVL and OVL adaptor on MTK chip doesn't support rotation, return the capability of the hardware accordingly. Fixes: df577118 ("drm/mediatek: Support 180

Re: [PATCH] drm: fix up fbdev Kconfig defaults

2023-09-18 Thread Javier Martinez Canillas
Thomas Zimmermann writes: > Hi > > Am 11.09.23 um 22:52 schrieb Arnd Bergmann: >> From: Arnd Bergmann >> >> As a result of the recent Kconfig reworks, the default settings for the >> framebuffer interfaces changed in unexpected ways: >> >> Configurations that leave CONFIG_FB disabled but use

Re: [PATCH for-next v2 02/10] PM: Update EXPORT_*_DEV_PM_OPS() to EXPORT_*_RUNTIME_PM_OPS()

2023-09-18 Thread Raag Jadav
On Mon, Sep 18, 2023 at 10:20:29AM +0200, Paul Cercueil wrote: > Le lundi 18 septembre 2023 à 13:39 +0530, Raag Jadav a écrit : > > Rename EXPORT_*_DEV_PM_OPS() macros to EXPORT_*_RUNTIME_PM_OPS() > > and while at it, move them to pm_runtime.h. > > This is done in conjunction with the introduction

Re: [PATCH 1/1] drm/mediatek: Add missing plane settings when async update

2023-09-18 Thread AngeloGioacchino Del Regno
Il 18/09/23 09:00, Hsiao Chien Sung ha scritto: Fix an issue that plane coordinate was not saved when calling async update. Fixes: 920fffcc8912 ("drm/mediatek: update cursors by using async atomic update") Signed-off-by: Hsiao Chien Sung Reviewed-by: AngeloGioacchino Del Regno

Re: [PATCH v2 02/11] soc: mediatek: Support GCE jump to absolute

2023-09-18 Thread 胡俊光

RE: [PATCH 3/5] drm/bridge: samsung-dsim: update PLL reference clock

2023-09-18 Thread SR
> -Original Message- > From: Michael Tretter > Sent: Friday, September 8, 2023 6:48 PM > To: 대인기/Tizen Platform Lab(SR)/삼성전자 > Cc: 'Inki Dae' ; 'Neil Armstrong' > ; 'Robert Foss' ; 'Jonas > Karlman' ; dri-devel@lists.freedesktop.org; linux- > ker...@vger.kernel.org; 'Jernej Skrabec' ;

Re: [PATCH for-next v2 02/10] PM: Update EXPORT_*_DEV_PM_OPS() to EXPORT_*_RUNTIME_PM_OPS()

2023-09-18 Thread Paul Cercueil
Hi Raag, Le lundi 18 septembre 2023 à 13:39 +0530, Raag Jadav a écrit : > Rename EXPORT_*_DEV_PM_OPS() macros to EXPORT_*_RUNTIME_PM_OPS() > and while at it, move them to pm_runtime.h. > This is done in conjunction with the introduction of > EXPORT_*_SIMPLE_PM_OPS() set of macros, to make things

[PATCH for-next v2 10/10] ASoC: cs35l41: convert to EXPORT_GPL_RUNTIME_PM_OPS()

2023-09-18 Thread Raag Jadav
With original macro being renamed to EXPORT_GPL_RUNTIME_PM_OPS(), use the new macro. Signed-off-by: Raag Jadav --- sound/soc/codecs/cs35l41.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/cs35l41.c b/sound/soc/codecs/cs35l41.c index

[PATCH for-next v2 09/10] mfd: cs42l43: convert to EXPORT_NS_GPL_RUNTIME_PM_OPS()

2023-09-18 Thread Raag Jadav
With original macro being renamed to EXPORT_NS_GPL_RUNTIME_PM_OPS(), use the new macro. Signed-off-by: Raag Jadav --- drivers/mfd/cs42l43.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/cs42l43.c b/drivers/mfd/cs42l43.c index 37b23e9bae82..b84adde9f89e 100644

[PATCH for-next v2 08/10] mfd: arizona: convert to EXPORT_GPL_RUNTIME_PM_OPS()

2023-09-18 Thread Raag Jadav
With original macro being renamed to EXPORT_GPL_RUNTIME_PM_OPS(), use the new macro. Signed-off-by: Raag Jadav --- drivers/mfd/arizona-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/arizona-core.c b/drivers/mfd/arizona-core.c index

[PATCH for-next v2 07/10] drm/imx/dcss: convert to EXPORT_GPL_RUNTIME_PM_OPS()

2023-09-18 Thread Raag Jadav
With original macro being renamed to EXPORT_GPL_RUNTIME_PM_OPS(), use the new macro. Signed-off-by: Raag Jadav --- drivers/gpu/drm/imx/dcss/dcss-dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/imx/dcss/dcss-dev.c b/drivers/gpu/drm/imx/dcss/dcss-dev.c

[PATCH for-next v2 06/10] iio: imu: inv_mpu: convert to EXPORT_NS_GPL_RUNTIME_PM_OPS()

2023-09-18 Thread Raag Jadav
With original macro being renamed to EXPORT_NS_GPL_RUNTIME_PM_OPS(), use the new macro. Signed-off-by: Raag Jadav --- drivers/iio/imu/inv_mpu6050/inv_mpu_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/imu/inv_mpu6050/inv_mpu_core.c

[PATCH for-next v2 05/10] iio: imu: inv_icm42600: convert to EXPORT_NS_GPL_RUNTIME_PM_OPS()

2023-09-18 Thread Raag Jadav
With original macro being renamed to EXPORT_NS_GPL_RUNTIME_PM_OPS(), use the new macro. Signed-off-by: Raag Jadav --- drivers/iio/imu/inv_icm42600/inv_icm42600_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/imu/inv_icm42600/inv_icm42600_core.c

[PATCH for-next v2 04/10] iio: gyro: fxas21002c: convert to EXPORT_NS_GPL_RUNTIME_PM_OPS()

2023-09-18 Thread Raag Jadav
With original macro being renamed to EXPORT_NS_GPL_RUNTIME_PM_OPS(), use the new macro. Signed-off-by: Raag Jadav --- drivers/iio/gyro/fxas21002c_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/gyro/fxas21002c_core.c b/drivers/iio/gyro/fxas21002c_core.c

[PATCH for-next v2 03/10] iio: accel: fxls8962af: convert to EXPORT_NS_GPL_RUNTIME_PM_OPS()

2023-09-18 Thread Raag Jadav
With original macro being renamed to EXPORT_NS_GPL_RUNTIME_PM_OPS(), use the new macro. Signed-off-by: Raag Jadav --- drivers/iio/accel/fxls8962af-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/accel/fxls8962af-core.c

[PATCH for-next v2 02/10] PM: Update EXPORT_*_DEV_PM_OPS() to EXPORT_*_RUNTIME_PM_OPS()

2023-09-18 Thread Raag Jadav
Rename EXPORT_*_DEV_PM_OPS() macros to EXPORT_*_RUNTIME_PM_OPS() and while at it, move them to pm_runtime.h. This is done in conjunction with the introduction of EXPORT_*_SIMPLE_PM_OPS() set of macros, to make things less confusing. This makes both _RUNTIME_ and _SIMPLE_ variants of export macros

[PATCH for-next v2 01/10] PM: Introduce export macros for _SIMPLE_ variants of _PM_OPS()

2023-09-18 Thread Raag Jadav
Introduce a new set of export macros for _SIMPLE_ variants of _PM_OPS(), which export dev_pm_ops symbol only in case CONFIG_PM_SLEEP=y and discard it otherwise. Fixes: 34e1ed189fab ("PM: Improve EXPORT_*_DEV_PM_OPS macros") Signed-off-by: Raag Jadav --- include/linux/pm.h | 43

[PATCH for-next v2 00/10] Fix symbol export for _SIMPLE_ variants of _PM_OPS()

2023-09-18 Thread Raag Jadav
Currently EXPORT_*_SIMPLE_DEV_PM_OPS() use EXPORT_*_DEV_PM_OPS() set of macros to export dev_pm_ops symbol, which export the symbol in case CONFIG_PM=y but don't take CONFIG_PM_SLEEP into consideration. Since _SIMPLE_ variants of _PM_OPS() do not include runtime PM handles and are only used in

RE: [PATCH v10 3/4] drm: renesas: Add RZ/G2L DU Support

2023-09-18 Thread Biju Das
Hi Jacopo Mondi, Looks like you are happy with my response for V10. I will send V11 soon. Cheers, Biju > -Original Message- > From: Biju Das > Sent: Friday, September 8, 2023 2:24 PM > Subject: RE: [PATCH v10 3/4] drm: renesas: Add RZ/G2L DU Support > > Hi Jacopo Mondi, > > Thanks

Re: [PATCH 0/4] drm/i915/vlv_dsi: Add quirks for x86 android tablets (v2)

2023-09-18 Thread Ville Syrjälä
On Sat, Sep 16, 2023 at 02:54:51PM +0200, Hans de Goede wrote: > Hi All, > > Some vlv/chv tablets ship with Android as factory OS. The factory OS > BSP style kernel on these tablets does not use the normal x86 hw > autodetection instead it hardcodes a whole bunch of things including > using panel

Re: [PATCH] accel/habanalabs: refactor deprecated strncpy

2023-09-18 Thread Oded Gabbay
On Fri, Aug 25, 2023 at 12:19 PM Stanislaw Gruszka wrote: > > On Wed, Aug 23, 2023 at 12:23:08AM +, Justin Stitt wrote: > > `strncpy` is deprecated for use on NUL-terminated destination strings [1]. > > > > A suitable replacement is `strscpy` [2] due to the fact that it > > guarantees

Re: Blank screen on boot of Linux 6.5 and later on Lenovo ThinkPad L570

2023-09-18 Thread Bagas Sanjaya
On Wed, Sep 13, 2023 at 03:02:26PM +0300, Jaak Ristioja wrote: > Hello, > > Upgrading to Linux 6.5 on a Lenovo ThinkPad L570 (Integrated Intel HD > Graphics 620 (rev 02), Intel(R) Core(TM) i7-7500U) results in a blank screen > after boot until the display manager starts... if it does start at

Re: [PATCH v4 0/5] ppc, fbdev: Clean up fbdev mmap helper

2023-09-18 Thread Thomas Zimmermann
Ping for a review. I'd like to get at least the first two patches into the DRM git tree. The PPC patches could later be merged through another tree. Best regards Thomas Am 12.09.23 um 15:48 schrieb Thomas Zimmermann: Clean up and rename fb_pgprotect() to work without struct file. Then

Re: [PATCH] drm: fix up fbdev Kconfig defaults

2023-09-18 Thread Thomas Zimmermann
Hi Am 11.09.23 um 22:52 schrieb Arnd Bergmann: From: Arnd Bergmann As a result of the recent Kconfig reworks, the default settings for the framebuffer interfaces changed in unexpected ways: Configurations that leave CONFIG_FB disabled but use DRM now get DRM_FBDEV_EMULATION by default. This

Re: [PATCH v9 4/7] drm/mediatek: Add encoder_index function to mtk_ddp_comp_funcs for dpi

2023-09-18 Thread 胡俊光

Re: [PATCH] drm/ssd130x: Drop _helper prefix from struct drm_*_helper_funcs callbacks

2023-09-18 Thread Javier Martinez Canillas
Thomas Zimmermann writes: > Hi > > Am 14.09.23 um 21:51 schrieb Javier Martinez Canillas: >> The driver uses a naming convention where functions for struct drm_*_funcs >> callbacks are named ssd130x_$object_$operation, while the callbacks for >> struct drm_*_helper_funcs are named

Re: [PATCH v2] drm/simpledrm: Add support for multiple "power-domains"

2023-09-18 Thread Neal Gompa
On Tue, Sep 12, 2023 at 4:22 PM Janne Grunau via B4 Relay wrote: > > From: Janne Grunau > > Multiple power domains need to be handled explicitly in each driver. The > driver core can not handle it automatically since it is not aware of > power sequencing requirements the hardware might have.

Re: [PATCH] staging: fbtft: Removed unnecessary parenthesis around conditions to comply with the checkpatch coding style.

2023-09-18 Thread angus gardner
Thanks for the feedback Bagas, "Then checkpatch is wrong, " lol Ill double check my SoB. Angus On Wed, Sep 13, 2023 at 11:32 AM Bagas Sanjaya wrote: > On Wed, Sep 13, 2023 at 11:02:13AM +1000, Angus Gardner wrote: > > --- > > drivers/staging/fbtft/fb_ra8875.c | 11 --- > > 1 file

Re: [RFC PATCH 1/8] drm/panel: nv3052c: Document known register names

2023-09-18 Thread John Watts
On Wed, Sep 13, 2023 at 02:43:43PM -0700, Jessica Zhang wrote: > Hi John, > > Just curious, what do you mean by these registers being mostly unknown? > > I do see them specified in the online specs -- some even seem to map to > existing MIPI_DCS_* enums (ex. 0x01 to MIPI_DCS_SOFT_RESET, and 0x04

[PATCH v5 1/3] dt-binding: mediatek: correct MDP3 node with generic names

2023-09-18 Thread Moudy Ho
The DMA-related nodes RDMA/WROT in MDP3 should be changed to generic names. In addition, fix improper space indent in example. Fixes: 4ad7b39623ab ("media: dt-binding: mediatek: add bindings for MediaTek MDP3 components") Signed-off-by: Moudy Ho Acked-by: Rob Herring ---

Re: [RFC PATCH 8/8] dt-bindings: display: panel: add Fascontek FS035VG158 panel

2023-09-18 Thread John Watts
On Mon, Sep 11, 2023 at 11:41:12AM +0200, Krzysztof Kozlowski wrote: > Missing reg. Probably also port. Hello again, I've been working on v2 of this series and done some initial cleanup. Right now it looks a bit like this: > allOf: > - $ref: panel-common.yaml# > - $ref:

Re: [PATCH v5 11/14] media: platform: mtk-mdp3: add mt8195 platform configuration

2023-09-18 Thread 何宗原
On Tue, 2023-09-12 at 10:21 +0200, Krzysztof Kozlowski wrote: > > External email : Please do not click links or open attachments until > you have verified the sender or the content. > On 12/09/2023 09:58, Moudy Ho wrote: > > Add MT8195 MDP3 basic configuration in file "mdp_cfg_data.c" > >

[PATCH v5 11/14] media: platform: mtk-mdp3: add mt8195 platform configuration

2023-09-18 Thread Moudy Ho
Add MT8195 MDP3 basic configuration in file "mdp_cfg_data.c" and corresponding driver data. Signed-off-by: Moudy Ho --- .../platform/mediatek/mdp3/mdp_cfg_data.c | 666 ++ .../platform/mediatek/mdp3/mtk-mdp3-cfg.h | 1 + .../platform/mediatek/mdp3/mtk-mdp3-comp.c|

Re: [PATCH] drm/gma500: refactor deprecated strncpy

2023-09-18 Thread Patrik Jakobsson
On Thu, Sep 14, 2023 at 09:37:31PM -0700, Kees Cook wrote: > On Thu, Sep 14, 2023 at 08:52:21PM +, Justin Stitt wrote: > > `strncpy` is deprecated for use on NUL-terminated destination strings [1]. > > > > We should prefer more robust and less ambiguous string interfaces. > > > > Since

[PATCH v5 01/14] arm64: dts: mediatek: mt8183: correct MDP3 DMA-related nodes

2023-09-18 Thread Moudy Ho
In order to generalize the node names, the DMA-related nodes corresponding to MT8183 MDP3 need to be corrected. Fixes: 60a2fb8d202a ("arm64: dts: mt8183: add MediaTek MDP3 nodes") Signed-off-by: Moudy Ho --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 6 -- 1 file changed, 4 insertions(+), 2

[PATCH v1] drm/dp/mst: fix missing modeset unlock for MST port detect

2023-09-18 Thread Ramya SR
Modeset mutex unlock is missing in drm_dp_mst_detect_port function. This will lead to deadlock if calling the function multiple times in an atomic operation, for example, getting imultiple MST ports status for a DP MST bonding scenario. Signed-off-by: Ramya SR ---

[PATCH v5 02/14] arm64: dts: mediatek: mt8195: add MDP3 nodes

2023-09-18 Thread Moudy Ho
Add device nodes for Media Data Path 3 (MDP3) modules. Signed-off-by: Moudy Ho --- arch/arm64/boot/dts/mediatek/mt8195.dtsi | 378 +++ 1 file changed, 378 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi b/arch/arm64/boot/dts/mediatek/mt8195.dtsi index

[PATCH v5 09/14] media: platform: mtk-mdp3: extend GCE event waiting in RDMA and WROT

2023-09-18 Thread Moudy Ho
Support for multiple RDMA/WROT waits for GCE events. Signed-off-by: Moudy Ho --- .../media/platform/mediatek/mdp3/mdp_cfg_data.c | 2 ++ .../platform/mediatek/mdp3/mtk-mdp3-comp.c | 17 +++-- .../platform/mediatek/mdp3/mtk-mdp3-core.h | 2 ++ 3 files changed, 15

Re: [PATCH] drm/tests: provide exit function

2023-09-18 Thread José Pekkarinen
On 2023-09-13 12:50, Maxime Ripard wrote: Hi, On Wed, Sep 13, 2023 at 11:32:23AM +0300, José Pekkarinen wrote: Running drm_exec_test by modprobing the module I observe the following output: [ 424.471936] KTAP version 1 [ 424.471942] 1..1 [ 424.472446] KTAP version 1 [ 424.472450]

[PATCH] drm/tests: provide exit function

2023-09-18 Thread José Pekkarinen
Running drm_exec_test by modprobing the module I observe the following output: [ 424.471936] KTAP version 1 [ 424.471942] 1..1 [ 424.472446] KTAP version 1 [ 424.472450] # Subtest: drm_exec [ 424.472453] # module: drm_exec_test [ 424.472459] 1..7 [ 424.479082]

[PATCH v5 10/14] media: platform: mtk-mdp3: add support for blending multiple components

2023-09-18 Thread Moudy Ho
Certain chips can combine several components to form complex virtual units with advanced functions. These components require simultaneous configuration of their MODs and clocks. Signed-off-by: Moudy Ho --- .../platform/mediatek/mdp3/mtk-mdp3-cmdq.c| 10 +-

Re: [PATCH] drm/tests: provide exit function

2023-09-18 Thread José Pekkarinen
On 2023-09-13 17:41, mrip...@kernel.org wrote: On Wed, Sep 13, 2023 at 05:01:40PM +0300, José Pekkarinen wrote: On 2023-09-13 12:50, Maxime Ripard wrote: > Hi, > > On Wed, Sep 13, 2023 at 11:32:23AM +0300, José Pekkarinen wrote: > > Running drm_exec_test by modprobing the module I > > observe

Blank screen on boot of Linux 6.5 and later on Lenovo ThinkPad L570

2023-09-18 Thread Jaak Ristioja
Hello, Upgrading to Linux 6.5 on a Lenovo ThinkPad L570 (Integrated Intel HD Graphics 620 (rev 02), Intel(R) Core(TM) i7-7500U) results in a blank screen after boot until the display manager starts... if it does start at all. Using the nomodeset kernel parameter seems to be a workaround.

[PATCH] drm/tests: provide exit function

2023-09-18 Thread José Pekkarinen
Similarly to the drm_exec_test module, the drm_modes_test shows the following output on dmesg on load: [ 5556.674834] KTAP version 1 [ 5556.674841] 1..1 [ 5556.675317] KTAP version 1 [ 5556.675321] # Subtest: drm_modes_analog_tv [ 5556.675323] # module: drm_modes_test [ 5556.675327]

[PATCH v5 04/14] media: platform: mtk-mdp3: add support second sets of MUTEX

2023-09-18 Thread Moudy Ho
After setting up the second set of MMSYS (VPPSYS1), it is necessary to have a corresponding second set of MUTEX (MUTEX2) to assist in handling SOF/EOF. Signed-off-by: Moudy Ho --- .../platform/mediatek/mdp3/mtk-mdp3-cmdq.c| 64 --- .../platform/mediatek/mdp3/mtk-mdp3-core.c

[PATCH v5 12/14] media: platform: mtk-mdp3: add mt8195 shared memory configurations

2023-09-18 Thread Moudy Ho
The configuration of the MT8195 components in the shared memory is defined in the header file "mdp_sm_mt8195.h". Signed-off-by: Moudy Ho --- .../platform/mediatek/mdp3/mdp_sm_mt8195.h| 283 ++ .../platform/mediatek/mdp3/mtk-img-ipi.h | 4 + 2 files changed, 287

drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bit.c and bus.c with a series of the non-existing config "NOUVEAU_I2C_INTERNAL"

2023-09-18 Thread sunying
In the source files drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bit.c:26 and drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c:214 refer to configuration options "CONFIG_NOUVEAU_I2C_INTERNAL" and "CONFIG_NOUVEAU_I2C_INTERNAL_DEFAULT" for conditional compilation, but these configuration options are not

[PATCH v2 1/2] dt-bindings: backlight: Add MPS MP3309C

2023-09-18 Thread Flavio Suligoi
The Monolithic Power (MPS) MP3309C is a WLED step-up converter, featuring a programmable switching frequency to optimize efficiency. The brightness can be controlled either by I2C commands (called "analog" mode) or by a PWM input signal (PWM mode). This driver supports both modes. For device

Re: [RFC PATCH 5/8] drm/panel: nv3052c: Allow specifying registers per panel

2023-09-18 Thread John Watts
On Wed, Sep 13, 2023 at 02:34:38PM -0700, Jessica Zhang wrote: > Hi John, > > Having a separate panel_regs_len field seems a bit unnecessary to me. > > Looks like it's only being called in the panel prepare() and I don't seen > any reason why we shouldn't just call the ARRAY_SIZE() macro there.

[PATCH v5 08/14] media: platform: mtk-mdp3: avoid multiple driver registrations

2023-09-18 Thread Moudy Ho
The amount of MDP3 driver probes is determined by the registered clocks of MMSYS. Since MT8195 MDP3 utilizes VPPSYS0 and VPPSYS1, it's necessary to prevent multiple driver registrations. Signed-off-by: Moudy Ho --- drivers/media/platform/mediatek/mdp3/mdp_cfg_data.c | 1 +

<    1   2   3   >