[PATCH v3 24/43] drm/imx/lcdc: Use fbdev-dma

2024-04-19 Thread Thomas Zimmermann
Implement fbdev emulation with fbdev-dma. Fbdev-dma now supports damage handling, which is required by lcdc. Avoids the overhead of fbdev-generic's additional shadow buffering. No functional changes. Signed-off-by: Thomas Zimmermann Cc: Shawn Guo Cc: Sascha Hauer Cc: Pengutronix Kernel Team

[PATCH v3 00/43] drm: Provide fbdev emulation per memory manager

2024-04-19 Thread Thomas Zimmermann
DRM provides 3 different memory managers with slightly different characteristics: DMA-based, SHMEM-based and TTM. This affects fbdev emulation as each requires different handling of mmap(). This series reworks fbdev emulation to provide an optimized emulation for each of the memory managers.

[PATCH v3 34/43] drm/tiny/ili9225: Use fbdev-dma

2024-04-19 Thread Thomas Zimmermann
Implement fbdev emulation with fbdev-dma. Fbdev-dma now supports damage handling, which is required by ili9225. Avoids the overhead of fbdev-generic's additional shadow buffering. No functional changes. Signed-off-by: Thomas Zimmermann Cc: David Lechner Acked-by: David Lechner ---

[PATCH v3 25/43] drm/ingenic: Use fbdev-dma

2024-04-19 Thread Thomas Zimmermann
Implement fbdev emulation with fbdev-dma. Fbdev-dma now supports damage handling, which is required by ingenic. Avoids the overhead of fbdev-generic's additional shadow buffering. No functional changes. Signed-off-by: Thomas Zimmermann Cc: Paul Cercueil Acked-by: Paul Cercueil ---

[PATCH v3 21/43] drm/fbdev-dma: Implement damage handling and deferred I/O

2024-04-19 Thread Thomas Zimmermann
Add support for damage handling and deferred I/O to fbdev-dma. This enables fbdev-dma to support all DMA-memory-based DRM drivers, even such with a dirty callback in their framebuffers. The patch adds the code for deferred I/O and also sets a dedicated helper for struct fb_ops.fb_mmap that

[PATCH v3 15/43] drm/tiny/gm12u320: Use fbdev-shmem

2024-04-19 Thread Thomas Zimmermann
Implement fbdev emulation with fbdev-shmem. Avoids the overhead of fbdev-generic's additional shadow buffering. No functional changes. Signed-off-by: Thomas Zimmermann Cc: Hans de Goede Reviewed-by: Hans de Goede --- drivers/gpu/drm/tiny/gm12u320.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH v3 19/43] drm/virtio: Use fbdev-shmem

2024-04-19 Thread Thomas Zimmermann
Implement fbdev emulation with fbdev-shmem. Avoids the overhead of fbdev-generic's additional shadow buffering. No functional changes. Signed-off-by: Thomas Zimmermann Cc: David Airlie Cc: Gerd Hoffmann Cc: Gurchetan Singh Cc: Chia-I Wu Tested-by: Dmitry Osipenko Reviewed-by: Javier

[PATCH v3 20/43] drm/vkms: Use fbdev-shmem

2024-04-19 Thread Thomas Zimmermann
Implement fbdev emulation with fbdev-shmem. Avoids the overhead of fbdev-generic's additional shadow buffering. No functional changes. Signed-off-by: Thomas Zimmermann Cc: Rodrigo Siqueira Cc: Melissa Wen Cc: "Maíra Canal" Cc: Haneen Mohammed Cc: Daniel Vetter Reviewed-by: Javier Martinez

[PATCH v2 3/4] drm/xe: Extract xe_gt_idle() helper

2024-04-19 Thread Aravind Iddamsetty
This would be used in other places outside of gt_reset path. v2: 1. Add kernel doc for xe_gt_idle (Michal) 2. fix return as no actual error is reported by xe_uc_stop (Himal) Cc: Lucas De Marchi Cc: Michal Wajdeczko Cc: Himal Prasad Ghimiray Reviewed-by: Rodrigo Vivi Signed-off-by: Aravind

[PATCH v3 4/4] drm/xe/FLR: Support PCIe FLR

2024-04-19 Thread Aravind Iddamsetty
PCI subsystem provides callbacks to inform the driver about a request to do function level reset by user, initiated by writing to sysfs entry /sys/bus/pci/devices/.../reset. This will allow the driver to handle FLR without the need to do unbind and rebind as the driver needs to reinitialize the

[PATCH v2 1/4] drm: add devm release action

2024-04-19 Thread Aravind Iddamsetty
In scenarios where drm_dev_put is directly called by driver we want to release devm_drm_dev_init_release action associated with struct drm_device. v2: Directly expose the original function, instead of introducing a helper (Rodrigo) Cc: Thomas Hellstr_m Cc: Rodrigo Vivi Reviewed-by: Rodrigo

[PATCH 2/4] drm/xe: Save and restore PCI state

2024-04-19 Thread Aravind Iddamsetty
Save and restore PCI states where ever needed. Cc: Lucas De Marchi Reviewed-by: Rodrigo Vivi Signed-off-by: Aravind Iddamsetty --- drivers/gpu/drm/xe/xe_device_types.h | 3 ++ drivers/gpu/drm/xe/xe_pci.c | 48 ++-- drivers/gpu/drm/xe/xe_pci.h | 4

[PATCH v3 0/4] drm/xe: Support PCIe FLR

2024-04-19 Thread Aravind Iddamsetty
PCI subsystem provides callbacks to inform the driver about a request to do function level reset by user, initiated by writing to sysfs entry /sys/bus/pci/devices/.../reset. This will allow the driver to handle FLR without the need to do unbind and rebind as the driver needs to reinitialize the

Re: [PATCH v2 1/4] drm: add devm release action

2024-04-19 Thread Maxime Ripard
On Fri, Apr 19, 2024 at 02:28:23PM +0530, Aravind Iddamsetty wrote: > In scenarios where drm_dev_put is directly called by driver we want to > release devm_drm_dev_init_release action associated with struct > drm_device. > > v2: Directly expose the original function, instead of introducing a >

Re: [PATCH 3/3] drm/i915: Fix gt reset with GuC submission disabled

2024-04-19 Thread Nirmoy Das
Hi John, On 4/19/2024 1:38 AM, John Harrison wrote: On 4/18/2024 10:10, Nirmoy Das wrote: Currently intel_gt_reset() happens as follows: reset_prepare() ---> Sends GDRST to GuC, GuC is in GS_MIA_IN_RESET do_reset()    intel_gt_reset_all_engines() *_engine_reset_prepare() -->RESET_CTL

Re: [bug-report] task info hung problem in fb_deferred_io_work()

2024-04-19 Thread Takashi Iwai
On Thu, 18 Apr 2024 21:29:57 +0200, Helge Deller wrote: > > On 4/18/24 16:26, Takashi Iwai wrote: > > On Thu, 18 Apr 2024 16:06:52 +0200, > > Nam Cao wrote: > >> > >> On 2024-04-18 Harshit Mogalapalli wrote: > >>> While fuzzing 5.15.y kernel with Syzkaller, we noticed a INFO: task hung > >>> bug

Re: [PATCH v3 12/17] clk: mediatek: mt8365-mm: fix DPI0 parent

2024-04-19 Thread AngeloGioacchino Del Regno
Il 18/04/24 16:17, Alexandre Mergnat ha scritto: To have a working display through DPI, a workaround has been implemented downstream to add "mm_dpi0_dpi0" and "dpi0_sel" to the DPI node. Shortly, that add an extra clock. It seems consistent to have the "dpi0_sel" as parent. Additionnaly,

Re: [bug-report] task info hung problem in fb_deferred_io_work()

2024-04-19 Thread Takashi Iwai
On Fri, 19 Apr 2024 09:39:09 +0200, Harshit Mogalapalli wrote: > > Hi Takashi, > > On 19/04/24 12:14, Takashi Iwai wrote: > > On Thu, 18 Apr 2024 21:29:57 +0200, > > Helge Deller wrote: > >> > >> On 4/18/24 16:26, Takashi Iwai wrote: > >>> On Thu, 18 Apr 2024 16:06:52 +0200, > >>> Nam Cao

Re: [PATCH v3 07/17] dt-bindings: display: mediatek: dpi: add compatible for MT8365

2024-04-19 Thread AngeloGioacchino Del Regno
Il 18/04/24 16:16, Alexandre Mergnat ha scritto: Add dt-binding documentation of dpi for MediaTek MT8365 SoC. Signed-off-by: Alexandre Mergnat Reviewed-by: AngeloGioacchino Del Regno

Re: [bug-report] task info hung problem in fb_deferred_io_work()

2024-04-19 Thread Harshit Mogalapalli
Hi Patrik, On 18/04/24 18:44, Patrik Jakobsson wrote: On Thu, Apr 18, 2024 at 2:40 PM Harshit Mogalapalli wrote: Hi, While fuzzing 5.15.y kernel with Syzkaller, we noticed a INFO: task hung bug in fb_deferred_io_work() This is in 5.15.149 tag, and this is introduced by a set of commits:

Re: [bug-report] task info hung problem in fb_deferred_io_work()

2024-04-19 Thread Harshit Mogalapalli
Hi Nam, On 18/04/24 19:36, Nam Cao wrote: On 2024-04-18 Harshit Mogalapalli wrote: While fuzzing 5.15.y kernel with Syzkaller, we noticed a INFO: task hung bug in fb_deferred_io_work() Which framebuffer device are you using exactly? It is possible that the problem is with the device driver,

Re: [PATCH v2 1/3] dt-bindings: display: mediatek: Add OF graph support for board path

2024-04-19 Thread AngeloGioacchino Del Regno
Il 09/04/24 17:45, Dmitry Baryshkov ha scritto: On Tue, 9 Apr 2024 at 18:41, AngeloGioacchino Del Regno wrote: Il 09/04/24 17:20, Dmitry Baryshkov ha scritto: On Tue, Apr 09, 2024 at 02:02:09PM +0200, AngeloGioacchino Del Regno wrote: The display IPs in MediaTek SoCs support being

Re: [bug-report] task info hung problem in fb_deferred_io_work()

2024-04-19 Thread Harshit Mogalapalli
Hi Takashi, On 19/04/24 12:14, Takashi Iwai wrote: On Thu, 18 Apr 2024 21:29:57 +0200, Helge Deller wrote: On 4/18/24 16:26, Takashi Iwai wrote: On Thu, 18 Apr 2024 16:06:52 +0200, Nam Cao wrote: On 2024-04-18 Harshit Mogalapalli wrote: While fuzzing 5.15.y kernel with Syzkaller, we

Re: [PATCH v2 2/3] dt-bindings: arm: mediatek: mmsys: Add OF graph support for board path

2024-04-19 Thread AngeloGioacchino Del Regno
Il 10/04/24 21:15, Rob Herring ha scritto: On Tue, Apr 09, 2024 at 02:02:10PM +0200, AngeloGioacchino Del Regno wrote: Document OF graph on MMSYS/VDOSYS: this supports up to three DDP paths per HW instance (so potentially up to six displays for multi-vdo SoCs). The MMSYS or VDOSYS is always

Re: [PATCH v2 29/43] drm/renesas/rz-du: Use fbdev-dma

2024-04-19 Thread Javier Martinez Canillas
Thomas Zimmermann writes: > Implement fbdev emulation with fbdev-dma. Fbdev-dma now supports > damage handling, which is required by rz-du. Avoids the overhead of > fbdev-generic's additional shadow buffering. No functional changes. > > Signed-off-by: Thomas Zimmermann > Cc: Biju Das >

Re: [PATCH v2 19/43] drm/virtio: Use fbdev-shmem

2024-04-19 Thread Javier Martinez Canillas
Thomas Zimmermann writes: > Implement fbdev emulation with fbdev-shmem. Avoids the overhead of > fbdev-generic's additional shadow buffering. No functional changes. > > Signed-off-by: Thomas Zimmermann > Cc: David Airlie > Cc: Gerd Hoffmann > Cc: Gurchetan Singh > Cc: Chia-I Wu > Tested-by:

Re: [PATCH] i2c: mux: Remove class argument from i2c_mux_add_adapter()

2024-04-19 Thread Thomas Zimmermann
Hi Am 18.04.24 um 22:55 schrieb Heiner Kallweit: 99a741aa7a2d ("i2c: mux: gpio: remove support for class-based device instantiation") removed the last call to i2c_mux_add_adapter() with a non-null class argument. Therefore the class argument can be removed. Note: Class-based device

Re: [PATCH 0/4] gpu: Convert to platform remove callback returning void

2024-04-19 Thread Uwe Kleine-König
Hello, On Tue, Apr 09, 2024 at 07:02:47PM +0200, Uwe Kleine-König wrote: > with some patches sent earlier[1], this series converts all platform > drivers below drivers/gpu to not use struct platform_device::remove() > any more. > > See commit 5c5a7680e67b ("platform: Provide a remove callback

Re: [PATCH v2 1/3] dt-bindings: display: mediatek: Add OF graph support for board path

2024-04-19 Thread AngeloGioacchino Del Regno
Il 10/04/24 21:03, Rob Herring ha scritto: On Tue, Apr 09, 2024 at 02:02:09PM +0200, AngeloGioacchino Del Regno wrote: The display IPs in MediaTek SoCs support being interconnected with different instances of DDP IPs (for example, merge0 or merge1) and/or with different DDP IPs (for example,

[PULL] drm-misc-next

2024-04-19 Thread Maarten Lankhorst
Hi Dave, Sima, Bit late, but with slightly more content. Cheers, ~Maarten drm-misc-next-2024-04-19: drm-misc-next for v6.10-rc1: UAPI Changes: - Add SIZE_HINTS property for cursor planes. Cross-subsystem Changes: Core Changes: - Document the requirements and expectations of adding new

Re: [PATCH v2 1/4] drm: add devm release action

2024-04-19 Thread Maxime Ripard
On Wed, Apr 17, 2024 at 09:55:55AM -0400, Rodrigo Vivi wrote: > On Wed, Apr 17, 2024 at 02:11:42PM +0530, Aravind Iddamsetty wrote: > > In scenarios where drm_dev_put is directly called by driver we want to > > release devm_drm_dev_init_release action associated with struct > > drm_device. > > >

Re: [PULL] drm-intel-next

2024-04-19 Thread Maxime Ripard
Hi, On Wed, Apr 17, 2024 at 09:38:55AM -0400, Rodrigo Vivi wrote: > Another thing that it is important to highlight is that we have 3 drm level > patches in this pull request where I didn't see any explicit recorded > ack from you (drm maintainers) nor from drm-misc maintainers. > The patches

Re: [PATCH v17 0/9] Enable Adaptive Sync SDP Support for DP

2024-04-19 Thread Jani Nikula
On Thu, 04 Apr 2024, "Nautiyal, Ankit K" wrote: > On 3/19/2024 3:16 PM, Maxime Ripard wrote: >> On Mon, Mar 18, 2024 at 04:37:58PM +0200, Jani Nikula wrote: >>> On Mon, 11 Mar 2024, Mitul Golani >>> wrote: An Adaptive-Sync-capable DP protocol converter indicates its support by

Re: [PATCH] drm/dp: Fix documentation of DP tunnel functions

2024-04-19 Thread Jani Nikula
On Wed, 28 Feb 2024, Imre Deak wrote: > Fix the documentation issues below, also reported by 'make htmldocs': > > drivers/gpu/drm/display/drm_dp_tunnel.c:447: warning: Function parameter or > struct member 'tunnel' not described in 'drm_dp_tunnel_put' >

Re: [PATCH v17 0/9] Enable Adaptive Sync SDP Support for DP

2024-04-19 Thread Maxime Ripard
On Fri, Apr 19, 2024 at 03:35:55PM +0300, Jani Nikula wrote: > On Thu, 04 Apr 2024, "Nautiyal, Ankit K" wrote: > > On 3/19/2024 3:16 PM, Maxime Ripard wrote: > >> On Mon, Mar 18, 2024 at 04:37:58PM +0200, Jani Nikula wrote: > >>> On Mon, 11 Mar 2024, Mitul Golani > >>> wrote: > An

Re: [PATCH v11 15/28] drm/connector: hdmi: Compute bpc and format automatically

2024-04-19 Thread Maxime Ripard
On Tue, Apr 16, 2024 at 04:50:58PM +0300, Ville Syrjälä wrote: > On Tue, Mar 26, 2024 at 04:40:19PM +0100, Maxime Ripard wrote: > > Now that we have all the infrastructure needed, we can add some code > > that will, for a given connector state and mode, compute the best output > > format and bpc.

[PATCH] lib/fonts: Allow to select fonts for drm_panic

2024-04-19 Thread Jocelyn Falempe
drm_panic has been introduced recently, and uses the same fonts as FRAMEBUFFER_CONSOLE. Signed-off-by: Jocelyn Falempe --- lib/fonts/Kconfig | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/fonts/Kconfig b/lib/fonts/Kconfig index

Re: [PATCH 3/4] gpu: host1x: Convert to platform remove callback returning void

2024-04-19 Thread Thierry Reding
On Tue Apr 9, 2024 at 7:02 PM CEST, Uwe Kleine-König wrote: > The .remove() callback for a platform driver returns an int which makes > many driver authors wrongly assume it's possible to do error handling by > returning an error code. However the value returned is ignored (apart > from emitting a

Re: [PATCH v11 17/28] drm/connector: hdmi: Add Broadcast RGB property

2024-04-19 Thread Maxime Ripard
On Tue, Apr 16, 2024 at 05:00:26PM +0300, Ville Syrjälä wrote: > On Tue, Mar 26, 2024 at 04:40:21PM +0100, Maxime Ripard wrote: > > The i915 driver has a property to force the RGB range of an HDMI output. > > The vc4 driver then implemented the same property with the same > > semantics. KWin has

[PATCH] drm: bridge: cdns-mhdp8546: Fix missing mutex unlock on error path

2024-04-19 Thread Aleksandr Mishin
In cdns_mhdp_atomic_enable(), there is an error return on failure of drm_mode_duplicate() which leads to the mutex remaining locked. Add a mutex unlock call. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: 935a92a1c400 ("drm: bridge: cdns-mhdp8546: Fix possible null

Re: [PATCH 15/15] drm/rockchip: rk3066_hdmi: switch to struct drm_edid

2024-04-19 Thread Heiko Stuebner
Am Dienstag, 16. April 2024, 15:22:29 CEST schrieb Jani Nikula: > Prefer struct drm_edid based functions over struct edid. > > Signed-off-by: Jani Nikula Acked-by: Heiko Stuebner

Re: [PATCH 14/15] drm/rockchip: inno_hdmi: switch to struct drm_edid

2024-04-19 Thread Heiko Stuebner
Am Dienstag, 16. April 2024, 15:22:28 CEST schrieb Jani Nikula: > Prefer struct drm_edid based functions over struct edid. > > Signed-off-by: Jani Nikula Acked-by: Heiko Stuebner

Re: [PATCH 13/15] drm/rockchip: cdn-dp: switch to struct drm_edid

2024-04-19 Thread Heiko Stuebner
Am Dienstag, 16. April 2024, 15:22:27 CEST schrieb Jani Nikula: > Prefer struct drm_edid based functions over struct edid. > > Signed-off-by: Jani Nikula Acked-by: Heiko Stuebner

Re: [PATCH][next] drivers: video: Simplify device_node cleanup using __free

2024-04-19 Thread Daniel Thompson
^^^ Please fix the subject line to be "backlight: : ...". I came very close to deleting this patch without reading it ;-) . On Fri, Apr 19, 2024 at 01:13:02AM +0530, Shresth Prasad wrote: > diff --git a/drivers/video/backlight/sky81452-backlight.c >

Re: [PATCH] drm/rockchip: lvds: Remove include of drm_dp_helper.h

2024-04-19 Thread Heiko Stuebner
On Sun, 14 Apr 2024 20:08:41 +0800, Andy Yan wrote: > From: Andy Yan > > drm_dp_helper.h is not used by lvds driver > > Applied, thanks! [1/1] drm/rockchip: lvds: Remove include of drm_dp_helper.h commit: 685ba01ebedb8f87673f587f540ba84c42d4 Best regards, -- Heiko Stuebner

Re: [PATCH v1 1/3] dt-bindings: display: add #sound-dai-cells property to rockchip dw hdmi

2024-04-19 Thread Heiko Stuebner
On Sat, 13 Apr 2024 17:38:05 +0200, Johan Jonker wrote: > The Rockchip DWC HDMI TX Encoder can take one I2S input and transmit it > over the HDMI output. Add #sound-dai-cells (= 0) to the binding for it. > > Applied, thanks! [1/3] dt-bindings: display: add #sound-dai-cells property to rockchip

Re: [PATCH] drm: vop2: Do not divide height twice for YUV

2024-04-19 Thread Heiko Stuebner
On Sun, 14 Apr 2024 14:27:06 -0400, Detlev Casanova wrote: > For the cbcr format, gt2 and gt4 are computed again after src_h has been > divided by vsub. > > As src_h as already been divided by 2 before, introduce cbcr_src_h and > cbcr_src_w to keep a copy of those values to be used for cbcr gt2

Re: [PATCH] drm/rockchip: cdn-dp: drop driver owner assignment

2024-04-19 Thread Heiko Stuebner
On Sat, 30 Mar 2024 21:27:54 +0100, Krzysztof Kozlowski wrote: > Core in platform_driver_register() already sets the .owner, so driver > does not need to. Whatever is set here will be anyway overwritten by > main driver calling platform_driver_register(). > > Applied, thanks! [1/1]

Re: [PATCH v5 1/1] UPSTREAM: drm/bridge: it6505: fix hibernate to resume no display issue

2024-04-19 Thread Dmitry Baryshkov
On Fri, Apr 19, 2024 at 03:38:07PM +0800, kuro wrote: > From: Kuro > > ITE added a FIFO reset bit for input video. When system power resume, > the TTL input of it6505 may get some noise before video signal stable > and the hardware function reset is required. > But the input FIFO reset will also

Re: [PATCH 0/4] gpu: Convert to platform remove callback returning void

2024-04-19 Thread Thierry Reding
On Fri Apr 19, 2024 at 9:20 AM CEST, Uwe Kleine-König wrote: > Hello, > > On Tue, Apr 09, 2024 at 07:02:47PM +0200, Uwe Kleine-König wrote: > > with some patches sent earlier[1], this series converts all platform > > drivers below drivers/gpu to not use struct platform_device::remove() > > any

Re: [PATCH] gpu: host1x: mipi: Benefit from devm_clk_get_prepared()

2024-04-19 Thread Thierry Reding
On Tue Apr 9, 2024 at 6:50 PM CEST, Uwe Kleine-König wrote: > When using devm_clk_get_prepared() instead of devm_clk_get() the clock > is already returned prepared. So probe doesn't need to call > clk_prepare() and at remove time the call to clk_unprepare() can be > dropped. The latter makes the

Re: [PATCH] component: Support masters with no subcomponents

2024-04-19 Thread Dmitry Baryshkov
On Fri, Apr 19, 2024 at 10:22:19AM +0200, Linus Walleij wrote: > On Thu, Apr 18, 2024 at 1:36 AM Dmitry Baryshkov > wrote: > > > I have LVDS working on apq8064, but it requires fixes in the MMCC > > driver, in the MDP4 driver and in DTS. I need to clean up them first > > before even attempting

Re: [PATCH v3 31/43] drm/rockchip: Use fbdev-dma

2024-04-19 Thread Heiko Stuebner
Am Freitag, 19. April 2024, 10:29:24 CEST schrieb Thomas Zimmermann: > Implement fbdev emulation with fbdev-dma. Fbdev-dma now supports > damage handling, which is required by rockchip. Avoids the overhead of > fbdev-generic's additional shadow buffering. No functional changes. > > Signed-off-by:

Re: [bug-report] task info hung problem in fb_deferred_io_work()

2024-04-19 Thread Nam Cao
On 2024-04-18 Harshit Mogalapalli wrote: > While fuzzing 5.15.y kernel with Syzkaller, we noticed a INFO: task hung > bug in fb_deferred_io_work() I think the problem is because of improper offset address calculation. The kernel calculate address offset with: offset = vmf->address -

Re: [PATCH] drm: bridge: cdns-mhdp8546: Fix missing mutex unlock on error path

2024-04-19 Thread Dmitry Baryshkov
On Fri, Apr 19, 2024 at 02:36:37PM +0300, Aleksandr Mishin wrote: > In cdns_mhdp_atomic_enable(), there is an error return on failure of > drm_mode_duplicate() which leads to the mutex remaining locked. > Add a mutex unlock call. > > Found by Linux Verification Center (linuxtesting.org) with

Re: [PATCH] drm/msm: Fix gen_header.py for older python3 versions

2024-04-19 Thread Dmitry Baryshkov
On Fri, Apr 12, 2024 at 05:54:07PM +0100, Jon Hunter wrote: > The gen_header.py script is failing for older versions of python3 such > as python 3.5. Two issues observed with python 3.5 are ... > > 1. Python 3 versions prior to 3.6 do not support the f-string format. > 2. Early python 3

Re: [PATCH] drm/atomic-helper: fix parameter order in drm_format_conv_state_copy() call

2024-04-19 Thread Thomas Zimmermann
Hi, thanks for this fix. Am 04.04.24 um 10:17 schrieb Lucas Stach: Old and new state parameters are swapped, so the old state was cleared instead of the new duplicated state. Fixes: 903674588a48 ("drm/atomic-helper: Add format-conversion state to shadow-plane state") Signed-off-by: Lucas

Re: [bug-report] task info hung problem in fb_deferred_io_work()

2024-04-19 Thread Nam Cao
On 2024-04-18 Patrik Jakobsson wrote: > On Thu, Apr 18, 2024 at 4:05 PM Nam Cao wrote: > > > > On 2024-04-18 Patrik Jakobsson wrote: > > > This sounds similar to the SUSE bug [1]. We fixed it by reverting [2] > > > in the SUSE kernel. The problem seems to be that flush_delayed_work() > > >

[PATCH] Fix for kernel doc warning [linux-next]

2024-04-19 Thread sundar
Fixed the kernel doc warning due to typo error in field name. ./include/drm/drm_mode_config.h:973: warning: Function parameter or struct member 'size_hints_property' not described in 'drm_mode_config' ./include/drm/drm_mode_config.h:973: warning: Excess struct member 'size_hints_propertty'

Re: [bug-report] task info hung problem in fb_deferred_io_work()

2024-04-19 Thread Nam Cao
On 2024-04-19 Patrik Jakobsson wrote: > Neither cancel_delayed_work_sync() or flush_delayed_work() prevent new > work from being scheduled after they return. flush_delayed_work() is called during device closing. And because no writes are performed after the device has been closed, no new work

Re: [PATCH] drm/amd/display: Remove duplicate dcn32/dcn32_clk_mgr.h header

2024-04-19 Thread Alex Deucher
Reviewed-by: Alex Deucher And applied. Thanks! Alex On Thu, Apr 18, 2024 at 10:37 PM Jiapeng Chong wrote: > > ./drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/dcn32_clk_mgr.c: > dcn32/dcn32_clk_mgr.h is included more than once. > > Reported-by: Abaci Robot > Closes:

Re: [PATCH v2 0/3] Move blender setup from individual planes to crtc commit in sun4i-drm

2024-04-19 Thread Ondřej Jirman
Hi, On Sat, Feb 24, 2024 at 04:05:57PM GMT, megi xff wrote: > From: Ondrej Jirman > > This series refactors blender setup from individual planes to a common > place where it can be performed at once and is easier to reason about. > > In the process this fixes a few bugs that allowed blender

Re: [PATCH] drm/dp: Fix documentation of DP tunnel functions

2024-04-19 Thread Imre Deak
On Fri, Apr 19, 2024 at 03:40:39PM +0300, Jani Nikula wrote: > On Wed, 28 Feb 2024, Imre Deak wrote: > > Fix the documentation issues below, also reported by 'make htmldocs': > > > > drivers/gpu/drm/display/drm_dp_tunnel.c:447: warning: Function parameter or > > struct member 'tunnel' not

Re: [PATCH v17 0/9] Enable Adaptive Sync SDP Support for DP

2024-04-19 Thread Maxime Ripard
On Fri, Apr 19, 2024 at 05:09:29PM +0300, Jani Nikula wrote: > On Fri, 19 Apr 2024, Maxime Ripard wrote: > > On Fri, Apr 19, 2024 at 03:35:55PM +0300, Jani Nikula wrote: > >> On Thu, 04 Apr 2024, "Nautiyal, Ankit K" > >> wrote: > >> > On 3/19/2024 3:16 PM, Maxime Ripard wrote: > >> >> On Mon,

Re: [PATCH v17 0/9] Enable Adaptive Sync SDP Support for DP

2024-04-19 Thread Jani Nikula
On Fri, 19 Apr 2024, Maxime Ripard wrote: > On Fri, Apr 19, 2024 at 03:35:55PM +0300, Jani Nikula wrote: >> On Thu, 04 Apr 2024, "Nautiyal, Ankit K" wrote: >> > On 3/19/2024 3:16 PM, Maxime Ripard wrote: >> >> On Mon, Mar 18, 2024 at 04:37:58PM +0200, Jani Nikula wrote: >> >>> On Mon, 11 Mar

Re: [PATCH] drm/msm: Fix gen_header.py for older python3 versions

2024-04-19 Thread Jon Hunter
Hi all, On 12/04/2024 17:54, Jon Hunter wrote: The gen_header.py script is failing for older versions of python3 such as python 3.5. Two issues observed with python 3.5 are ... 1. Python 3 versions prior to 3.6 do not support the f-string format. 2. Early python 3 versions do not support

Re: [bug-report] task info hung problem in fb_deferred_io_work()

2024-04-19 Thread Harshit Mogalapalli
Hi Takashi, On 19/04/24 13:15, Takashi Iwai wrote: On Fri, 19 Apr 2024 09:39:09 +0200, Then later on, the commit 33cd6ea9c067 changed cancel_*() to flush_delayed_work() blindly, and the known problem resurfaced again. I have reverted that commit, but still could see some other task hung

Re: ✗ Fi.CI.IGT: failure for drm/i915/dp: Few MTL/DSC and a UHBR monitor fix (rev4)

2024-04-19 Thread Imre Deak
On Thu, Apr 18, 2024 at 12:22:53PM +, Patchwork wrote: > == Series Details == > > Series: drm/i915/dp: Few MTL/DSC and a UHBR monitor fix (rev4) > URL : https://patchwork.freedesktop.org/series/131386/ > State : failure I pushed the patchset to drm-intel-next, amending the code comment in

Re: [bug-report] task info hung problem in fb_deferred_io_work()

2024-04-19 Thread Harshit Mogalapalli
Hi Nam, +CC stable( heads up as this is a regression affecting 5.15.y and probably others, Greg: this was reproducible upstream so reported everything w.r.t upstream code but initially found on 5.15.y) On 19/04/24 20:29, Nam Cao wrote: On 2024-04-18 Harshit Mogalapalli wrote: While

Re: [bug-report] task info hung problem in fb_deferred_io_work()

2024-04-19 Thread Nam Cao
On 2024-04-19 Harshit Mogalapalli wrote: > +CC stable( heads up as this is a regression affecting 5.15.y and > probably others, Greg: this was reproducible upstream so reported > everything w.r.t upstream code but initially found on 5.15.y) No worry about this, I will add a "Cc: " tag to the

Re: [bug-report] task info hung problem in fb_deferred_io_work()

2024-04-19 Thread Harshit Mogalapalli
On 19/04/24 21:53, Nam Cao wrote: On 2024-04-19 Harshit Mogalapalli wrote: +CC stable( heads up as this is a regression affecting 5.15.y and probably others, Greg: this was reproducible upstream so reported everything w.r.t upstream code but initially found on 5.15.y) No worry about this, I

<    1   2