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

2024-04-18 Thread Jiapeng Chong
./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: https://bugzilla.openanolis.cn/show_bug.cgi?id=8789 Signed-off-by: Jiapeng Chong --- drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/dcn32_clk_mgr.c

Re: [PATCH] drm/i915/hwmon: Get rid of devm

2024-04-18 Thread Dixit, Ashutosh
On Thu, 18 Apr 2024 14:56:58 -0700, Andi Shyti wrote: > > > v2: Change commit message and other minor code changes > > v3: Cleanup from i915_hwmon_register on error (Armin Wolf) > > v4: Eliminate potential static analyzer warning (Rodrigo) > > Eliminate fetch_and_zero (Jani) > > v5: Restore

[git pull] drm fixes for 6.9-rc5

2024-04-18 Thread Dave Airlie
Hi Linus, Regular week of fixes, seems to be about right for this time in the release cycle, amdgpu, and nouveau are the main one with some scattered fixes otherwise. Dave. drm-fixes-2024-04-19: drm fixes for v6.9-rc5 ttm: - Stop pooling cached NUMA pages amdgpu: - Fix invalid resource->start

Re: [PATCH v1 2/4] drm/panel: boe-tv101wum-nl6: Support for BOE nv110wum-l60 MIPI-DSI panel

2024-04-18 Thread cong yang
Hi, Linus Walleij 于2024年4月18日周四 22:00写道: > > On Thu, Apr 18, 2024 at 2:42 PM cong yang > wrote: > > > I learned from himax that even if the same controller is used with > > different glasses, the corresponding parameters are not fixed. > > > > For example: _INIT_DCS_CMD(0xB9, 0x83, 0x10, 0x21,

Re: [PATCH v1 1/2] dt-bindings: input: i2c-hid: Introduce Ilitek ili2900

2024-04-18 Thread kernel test robot
Hi lvzhaoxiong, kernel test robot noticed the following build warnings: [auto build test WARNING on hid/for-next] [also build test WARNING on robh/for-next linus/master v6.9-rc4 next-20240418] [cannot apply to dtor-input/next dtor-input/for-linus] [If your patch is applied to the wrong git tree

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

2024-04-18 Thread John Harrison
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 expects running GuC Not technically correct. There is no

Re: [PATCH 2/3] drm/i915 Rename intel_engine_reset to intel_gt_engine_recover

2024-04-18 Thread John Harrison
On 4/18/2024 10:10, Nirmoy Das wrote: intel_engine_reset() not only reset a engine but also tries to recover it so give it a proper name without any functional changes. Not seeing what the difference is. If this was a super low level function (with an __ prefix for example) then one might

Re: [PATCH 1/3] drm/i915: Refactor confusing __intel_gt_reset()

2024-04-18 Thread John Harrison
On 4/18/2024 10:10, Nirmoy Das wrote: __intel_gt_reset() is really for resetting engines though the name might suggest something else. So add two helper functions to remove confusions with no functional changes. Technically you only added one and just moved the other :). It already existed, it

Re: [PATCH 1/2] drm/panel: panel-simple: Add generic panel-dsi driver

2024-04-18 Thread Krzysztof Kozlowski
On 18/04/2024 16:01, Johan Adolfsson wrote: > Add generic panel-dsi panel, similar to panel-dpi that can have it's > timing, lanes and flags overridden by devicetree. > Add some dev_err() and dev_warn() calls. > ... > /* sentinel */ > } > @@ -4992,17 +5051,28 @@ static int

Re: [PATCH 2/2] dt-bindings: panel-simple-dsi: Add generic panel-dsi

2024-04-18 Thread Krzysztof Kozlowski
On 18/04/2024 16:01, Johan Adolfsson wrote: > panel-dsi is similar to panel-dpi with overridable timings ??? > > Signed-off-by: Johan Adolfsson > --- > Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git >

Re: [PATCH v1 1/2] dt-bindings: display: panel: Add KD101NE3-40TI support

2024-04-18 Thread Krzysztof Kozlowski
On 18/04/2024 10:15, lvzhaoxiong wrote: > Create a new dt-scheam for the kd101ne3-40ti. There is another thread like this, which is confusing. Please version your patches. patman solves it. b4 as well. Read the guidelines provided to you by Google. > > Signed-off-by: lvzhaoxiong Same comment

Re: [PATCH v1 1/2] dt-bindings: input: i2c-hid: Introduce Ilitek ili2900

2024-04-18 Thread Krzysztof Kozlowski
On 18/04/2024 14:48, lvzhaoxiong wrote: > The ili2900 touch screen chip same as ilitek ili9882t controller > has a reset gpio. > > Signed-off-by: lvzhaoxiong Except that this was not tested, please use full name, not login, if possible. Best regards, Krzysztof

Re: [PATCH] drm/i915/hwmon: Get rid of devm

2024-04-18 Thread Andi Shyti
Hi Ashutosh, On Wed, Apr 17, 2024 at 07:56:46AM -0700, Ashutosh Dixit wrote: > When both hwmon and hwmon drvdata (on which hwmon depends) are device > managed resources, the expectation, on device unbind, is that hwmon will be > released before drvdata. However, in i915 there are two separate

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

2024-04-18 Thread 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 instantiation is a legacy mechanism which shouldn't be used in

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

2024-04-18 Thread Shresth Prasad
Add `__free` function attribute to `np` device_node pointer initialisation and remove of_node_put cleanup for this pointer. The `__free` attribute is used for scope based cleanup instead of manually freeing the resource using `of_node_put`, making cleanup simpler and safer. Suggested-by: Julia

Re: [PATCH] drm/mst: Fix NULL pointer dereference at drm_dp_add_payload_part2

2024-04-18 Thread Harry Wentland
On 2024-03-07 01:29, Wayne Lin wrote: > [Why] > Commit: > - commit 5aa1dfcdf0a4 ("drm/mst: Refactor the flow for payload > allocation/removement") > accidently overwrite the commit > - commit 54d217406afe ("drm: use mgr->dev in drm_dbg_kms in > drm_dp_add_payload_part2") > which cause

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

2024-04-18 Thread Helge Deller
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 in fb_deferred_io_work() Which framebuffer device are you using exactly? It is

[linux-next:master] BUILD REGRESSION 7b4f2bc91c15fdcf948bb2d9741a9d7d54303f8d

2024-04-18 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 7b4f2bc91c15fdcf948bb2d9741a9d7d54303f8d Add linux-next specific files for 20240418 Error/Warning reports: https://lore.kernel.org/oe-kbuild-all/202404190103.llm8ltup-...@intel.com Error

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

2024-04-18 Thread Nirmoy Das
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 expects running GuC *_reset_engines() intel_gt_init_hw() --> GuC comes out of GS_MIA_IN_RESET

[PATCH 2/3] drm/i915 Rename intel_engine_reset to intel_gt_engine_recover

2024-04-18 Thread Nirmoy Das
intel_engine_reset() not only reset a engine but also tries to recover it so give it a proper name without any functional changes. Signed-off-by: Nirmoy Das --- .../drm/i915/gem/selftests/i915_gem_context.c | 2 +- .../drm/i915/gt/intel_execlists_submission.c | 2 +-

[PATCH 1/3] drm/i915: Refactor confusing __intel_gt_reset()

2024-04-18 Thread Nirmoy Das
__intel_gt_reset() is really for resetting engines though the name might suggest something else. So add two helper functions to remove confusions with no functional changes. Signed-off-by: Nirmoy Das --- drivers/gpu/drm/i915/gt/intel_engine_cs.c | 2 +-

Re: [PATCH v2 0/2] drm/panel: add Khadas TS050 V2 panel support

2024-04-18 Thread Krzysztof Kozlowski
On 18/04/2024 03:14, Jacobe Zang wrote: > Hi Krzysztof, > >> You must say that you ignored/dropped received tags. > > I don't know which tags you mean and where should I fix. Please tell me in > detail.

Re: [PATCH v11 09/28] drm/display: hdmi: Add HDMI compute clock helper

2024-04-18 Thread Maxime Ripard
On Tue, Apr 16, 2024 at 04:44:14PM +0300, Ville Syrjälä wrote: > On Tue, Mar 26, 2024 at 04:40:13PM +0100, Maxime Ripard wrote: > > A lot of HDMI drivers have some variation of the formula to calculate > > the TMDS character rate from a mode, but few of them actually take all > > parameters into

Re: [PATCH v2 12/18] dt-bindings: pwm: mediatek,pwm-disp: add compatible for mt8365 SoC

2024-04-18 Thread Uwe Kleine-König
Hello Alexandre, On Thu, Apr 18, 2024 at 11:46:11AM +0200, Alexandre Mergnat wrote: > On 17/04/2024 10:06, Uwe Kleine-König wrote: > > On Tue, Apr 16, 2024 at 05:53:13PM +0200, Alexandre Mergnat wrote: > > > Add a compatible string for MediaTek Genio 350 MT8365's display PWM > > > block: this is

Re: [PATCH v3 11/17] dt-bindings: pwm: mediatek,pwm-disp: add compatible for mt8365 SoC

2024-04-18 Thread Uwe Kleine-König
Hello, On Thu, Apr 18, 2024 at 04:16:59PM +0200, Alexandre Mergnat wrote: > Add a compatible string for MediaTek Genio 350 MT8365's display PWM > block: this is the same as MT8183. > > Reviewed-by: AngeloGioacchino Del Regno > > Acked-by: Uwe Kleine-König > Acked-by: Rob Herring (Arm) >

[PULL] drm-xe-fixes

2024-04-18 Thread Lucas De Marchi
Hi Dave and Sima, Please pull the drm-xe-fixes for this week targeting v6.9-rc5. thanks Lucas De Marchi drm-xe-fixes-2024-04-18: - Fix bo leak on error path during fb init - Fix use-after-free due to order vm is put and destroyed The following changes since commit

Re: [PATCH v2] doc: dma-buf: fix grammar typo

2024-04-18 Thread Baruch Siach
Hi Christian, On Thu, Apr 18 2024, Christian König wrote: > Well checkpatch.pl still complained: > > ERROR: trailing whitespace > #157: FILE: Documentation/driver-api/dma-buf.rst:80: > +  If llseek on dma-buf FDs isn't supported the kernel will report -ESPIPE for > all^M$ > > That actually looks

Re: [PATCH v2 1/2] drm/print: drop include debugfs.h and include where needed

2024-04-18 Thread Jani Nikula
On Thu, 18 Apr 2024, Robert Foss wrote: > I'm seeing build errors for drivers/gpu/drm/bridge/ite-it6505.c, is > this expected? No, but it's possible my configs didn't catch all configs. :( BR, Jani. -- Jani Nikula, Intel

Re: [PATCH] drm: Fix plane SIZE_HINTS property docs

2024-04-18 Thread Dmitry Baryshkov
On Thu, Apr 18, 2024 at 02:42:18PM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Fix the typos in the plane SIZE_HINTS kernel docs. > > Reported-by: Stephen Rothwell > Fixes: 9677547d8362 ("drm: Introduce plane SIZE_HINTS property") > Signed-off-by: Ville Syrjälä > --- >

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

2024-04-18 Thread Patrik Jakobsson
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() > > kills the timer and re-queues the work but doesn't

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

2024-04-18 Thread Takashi Iwai
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 in fb_deferred_io_work() > > Which framebuffer device are you using exactly? It is possible that > the problem is

Re: [PATCH net-next v9 0/3] Add minimal XDP support to TI AM65 CPSW Ethernet driver

2024-04-18 Thread Siddharth Vadapalli
On Thu, Apr 18, 2024 at 04:03:15PM +0200, Julien Panis wrote: > On 4/18/24 13:25, Siddharth Vadapalli wrote: > > On Thu, Apr 18, 2024 at 01:17:47PM +0200, Julien Panis wrote: > > > On 4/18/24 13:00, Siddharth Vadapalli wrote: > > > > On 12-04-2024 21:08, Julien Panis wrote: > > > > > This patch

Re: [PATCH v2] doc: dma-buf: fix grammar typo

2024-04-18 Thread Christian König
Well checkpatch.pl still complained: ERROR: trailing whitespace #157: FILE: Documentation/driver-api/dma-buf.rst:80: +  If llseek on dma-buf FDs isn't supported the kernel will report -ESPIPE for all^M$ That actually looks like you used a Windows line ending. I fixed it up and pushed the

[PATCH v3 14/17] drm/mediatek: add MT8365 SoC support

2024-04-18 Thread amergnat
From: Fabien Parent Add DRM support for MT8365 SoC. Signed-off-by: Fabien Parent Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 30 ++ 1 file changed, 30 insertions(+) diff --git

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

2024-04-18 Thread Alexandre Mergnat
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, "vpll_dpix" isn't used/managed. Then, set the

[PATCH v3 11/17] dt-bindings: pwm: mediatek,pwm-disp: add compatible for mt8365 SoC

2024-04-18 Thread Alexandre Mergnat
Add a compatible string for MediaTek Genio 350 MT8365's display PWM block: this is the same as MT8183. Reviewed-by: AngeloGioacchino Del Regno Acked-by: Uwe Kleine-König Acked-by: Rob Herring (Arm) Signed-off-by: Alexandre Mergnat ---

Re: [PATCH v1 1/2] dt-bindings: input: i2c-hid: Introduce Ilitek ili2900

2024-04-18 Thread Rob Herring
On Thu, 18 Apr 2024 20:48:14 +0800, lvzhaoxiong wrote: > The ili2900 touch screen chip same as ilitek ili9882t controller > has a reset gpio. > > Signed-off-by: lvzhaoxiong > --- > Documentation/devicetree/bindings/input/ilitek,ili9882t.yaml | 1 + > 1 file changed, 1 insertion(+) > My bot

[PATCH v3 13/17] drm/mediatek: dsi: Improves the DSI lane setup robustness

2024-04-18 Thread Alexandre Mergnat
Currently, mtk_dsi_lane_ready (which setup the DSI lane) is triggered before mtk_dsi_poweron. lanes_ready flag toggle to true during mtk_dsi_lane_ready function, and the DSI module is set up during mtk_dsi_poweron. Later, during panel driver init, mtk_dsi_lane_ready is triggered but does nothing

[PATCH v3 17/17] arm64: dts: mediatek: add display support for mt8365-evk

2024-04-18 Thread Alexandre Mergnat
MIPI DSI: - Add "vsys_lcm_reg" regulator support and setup the "mt6357_vsim1_reg", to power the pannel plugged to the DSI connector. - Setup the Display Parallel Interface. - Add the startek kd070fhfid015 pannel support. HDMI: - Add HDMI connector support. - Add the "ite,it66121" HDMI bridge

[PATCH v3 04/17] dt-bindings: display: mediatek: dither: add compatible for MT8365 SoC

2024-04-18 Thread Alexandre Mergnat
Document the display Dither on MT8365, which is compatible with that of the MT8183. Acked-by: Rob Herring (Arm) Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,dither.yaml | 1 + 1 file changed, 1

[PATCH v3 15/17] arm64: defconfig: enable display connector support

2024-04-18 Thread Alexandre Mergnat
Enable this feature for the i350-evk HDMI connector support. Signed-off-by: Alexandre Mergnat --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index fce98a150014..1df337882835 100644 ---

[PATCH v3 16/17] arm64: dts: mediatek: add display blocks support for the MT8365 SoC

2024-04-18 Thread Alexandre Mergnat
- 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-lane output) - Add the display mutex support. -

[PATCH v3 10/17] dt-bindings: display: mediatek: rdma: add compatible for MT8365 SoC

2024-04-18 Thread Alexandre Mergnat
Document the display Data Path Read DMA on MT8365, which is compatible with that of the MT8183. Reviewed-by: AngeloGioacchino Del Regno Acked-by: Rob Herring (Arm) Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,rdma.yaml | 1 + 1 file

[PATCH v3 09/17] dt-bindings: display: mediatek: ovl: add compatible for MT8365 SoC

2024-04-18 Thread Alexandre Mergnat
Document the display Overlay on MT8365, which is compatible with that of the MT8192. Reviewed-by: AngeloGioacchino Del Regno Acked-by: Rob Herring (Arm) Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,ovl.yaml | 1 + 1 file changed, 1

[PATCH v3 08/17] dt-bindings: display: mediatek: gamma: add compatible for MT8365 SoC

2024-04-18 Thread Alexandre Mergnat
Document the display Gamma on MT8365, which is compatible with that of the MT8183. Reviewed-by: AngeloGioacchino Del Regno Acked-by: Rob Herring (Arm) Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml | 1 + 1 file changed, 1

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

2024-04-18 Thread Alexandre Mergnat
Add dt-binding documentation of dpi for MediaTek MT8365 SoC. Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml

[PATCH v3 06/17] dt-bindings: display: mediatek: dpi: add power-domains property

2024-04-18 Thread amergnat
From: Fabien Parent DPI is part of the display / multimedia block in MediaTek SoCs, and always have a power-domain (at least in the upstream device-trees). Add the power-domains property to the binding documentation. Fixes: 9273cf7d3942 ("dt-bindings: display: mediatek: convert the dpi bindings

[PATCH v3 03/17] dt-bindings: display: mediatek: color: add compatible for MT8365 SoC

2024-04-18 Thread Alexandre Mergnat
Document the display Color on MT8365, which is compatible with that of the MT8173. Acked-by: Rob Herring (Arm) Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,color.yaml | 1 + 1 file changed, 1

[PATCH v3 05/17] dt-bindings: display: mediatek: dsi: add compatible for MT8365 SoC

2024-04-18 Thread Alexandre Mergnat
Document the Display Serial Interface on MT8365, which is compatible with that of the MT8183. Reviewed-by: AngeloGioacchino Del Regno Acked-by: Rob Herring (Arm) Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,dsi.yaml | 1 + 1 file changed, 1

[PATCH v3 01/17] dt-bindings: display: mediatek: aal: add compatible for MT8365 SoC

2024-04-18 Thread Alexandre Mergnat
Document the display Adaptive Ambient Light on MT8365, which is compatible with that of the MT8183. Reviewed-by: AngeloGioacchino Del Regno Acked-by: Rob Herring (Arm) Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,aal.yaml | 1 + 1 file

[PATCH v3 02/17] dt-bindings: display: mediatek: ccorr: add compatible for MT8365 SoC

2024-04-18 Thread Alexandre Mergnat
Document the display Color Correction on MT8365, which is compatible with that of the MT8183. Acked-by: Rob Herring (Arm) Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml | 3 +++ 1 file

[PATCH v3 00/17] Add display support for the MT8365-EVK board

2024-04-18 Thread Alexandre Mergnat
The purpose of this series is to add the display support for the mt8365-evk. This is the list of HWs / IPs support added: - Connectors (HW): - HDMI - MIPI DSI (Mobile Industry Processor Interface Display Serial Interface) - HDMI bridge (it66121) - DSI pannel (startek,kd070fhfid015) - SoC

Re: [PATCH v6.6] drm/amd/display: Wake DMCUB before executing GPINT commands

2024-04-18 Thread Alex Deucher
On Wed, Apr 17, 2024 at 11:14 PM wangzhu wrote: > > The CVE-2023-52624 is fixed in linux-6.7 stable, while it is not fixed in > 6.6, this commit is presented to fix it in linux-6.6 stable. Why is there a CVE in the first place? Is this actually an issue you have seen? It seems like you just

Re: [PATCH v1 2/2] drm/panel: kd101ne3: add new panel driver

2024-04-18 Thread Dmitry Baryshkov
On Thu, Apr 18, 2024 at 09:11:37PM +0800, Hsin-Yi Wang wrote: > On Thu, Apr 18, 2024 at 7:46 PM Dmitry Baryshkov > wrote: > > > > On Thu, Apr 18, 2024 at 04:15:48PM +0800, lvzhaoxiong wrote: > > > The kingdisplay panel is based on JD9365DA controller. > > > Add a driver for it. > > > > > >

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

2024-04-18 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() Which framebuffer device are you using exactly? It is possible that the problem is with the device driver, not core framebuffer. Best regards, Nam

[PATCH 1/2] drm/panel: panel-simple: Add generic panel-dsi driver

2024-04-18 Thread Johan Adolfsson
Add generic panel-dsi panel, similar to panel-dpi that can have it's timing, lanes and flags overridden by devicetree. Add some dev_err() and dev_warn() calls. Signed-off-by: Johan Adolfsson --- drivers/gpu/drm/panel/panel-simple.c | 76 ++-- 1 file changed, 73

[PATCH 2/2] dt-bindings: panel-simple-dsi: Add generic panel-dsi

2024-04-18 Thread Johan Adolfsson
panel-dsi is similar to panel-dpi with overridable timings Signed-off-by: Johan Adolfsson --- Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml

[PATCH 0/2] Add generic panel-dsi to panel-simple

2024-04-18 Thread Johan Adolfsson
Adds a generic panel-dsi panel similar to panel-dpi to panel-simple. Allows override of timings, flags and lanes using devicetree. Signed-off-by: Johan Adolfsson --- Johan Adolfsson (2): drm/panel: panel-simple: Add generic panel-dsi driver dt-bindings: panel-simple-dsi: Add generic

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

2024-04-18 Thread Nam Cao
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() > kills the timer and re-queues the work but doesn't guarantee that it > is finished when returning. So when the

Re: [PATCH net-next v9 0/3] Add minimal XDP support to TI AM65 CPSW Ethernet driver

2024-04-18 Thread Julien Panis
On 4/18/24 13:25, Siddharth Vadapalli wrote: On Thu, Apr 18, 2024 at 01:17:47PM +0200, Julien Panis wrote: On 4/18/24 13:00, Siddharth Vadapalli wrote: On 12-04-2024 21:08, Julien Panis wrote: This patch adds XDP support to TI AM65 CPSW Ethernet driver. The following features are

Re: [PATCH v1 2/4] drm/panel: boe-tv101wum-nl6: Support for BOE nv110wum-l60 MIPI-DSI panel

2024-04-18 Thread Linus Walleij
On Thu, Apr 18, 2024 at 2:42 PM cong yang wrote: > I learned from himax that even if the same controller is used with > different glasses, the corresponding parameters are not fixed. > > For example: _INIT_DCS_CMD(0xB9, 0x83, 0x10, 0x21, 0x55, 0x00), > > even in the group initial code, the same

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

2024-04-18 Thread Patrik Jakobsson
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: > > 2655757a3f10 fbdev: flush deferred IO

Re: [PATCH v1 2/2] drm/panel: kd101ne3: add new panel driver

2024-04-18 Thread Hsin-Yi Wang
On Thu, Apr 18, 2024 at 7:46 PM Dmitry Baryshkov wrote: > > On Thu, Apr 18, 2024 at 04:15:48PM +0800, lvzhaoxiong wrote: > > The kingdisplay panel is based on JD9365DA controller. > > Add a driver for it. > > > > Signed-off-by: lvzhaoxiong > > --- > > drivers/gpu/drm/panel/Kconfig

Re: [PATCH v2 18/18] arm64: dts: mediatek: add display support for mt8365-evk

2024-04-18 Thread Alexandre Mergnat
On 17/04/2024 12:27, AngeloGioacchino Del Regno wrote: +    irq_ite_pins { Did you run dtbs_check?!? :-) Yes without error, here my command: dt-validate -s Documentation/devicetree/bindings arch/arm64/boot/dts/mediatek/mt8365-evk.dtb Also I've done a "make dtbs_check" just to be

Re: [PATCH v4 1/2] dt-bindings: display: panel: Add Raydium RM69380

2024-04-18 Thread Rob Herring
On Wed, 17 Apr 2024 18:29:33 +0200, David Wronek wrote: > Raydium RM69380 is a display driver IC used to drive OLED DSI panels. > Add a dt-binding for it. > > Signed-off-by: David Wronek > --- > Note: > Depends on commit 48a516363e29 ("dt-bindings: display: panel: add common > dual-link

[PATCH v1 2/2] HID: i2c-hid: elan: Add ili2900 timing

2024-04-18 Thread lvzhaoxiong
ILI2900 requires reset to pull down time greater than 10ms, so the configuration post_power_delay_ms is 10, and the chipset initial time is required to be greater than 100ms, so the post_gpio_reset_on_delay_ms is set to 100. Signed-off-by: lvzhaoxiong --- drivers/hid/i2c-hid/i2c-hid-of-elan.c |

[PATCH v1 1/2] dt-bindings: input: i2c-hid: Introduce Ilitek ili2900

2024-04-18 Thread lvzhaoxiong
The ili2900 touch screen chip same as ilitek ili9882t controller has a reset gpio. Signed-off-by: lvzhaoxiong --- Documentation/devicetree/bindings/input/ilitek,ili9882t.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/input/ilitek,ili9882t.yaml

[PATCH v1 0/2] Add ili2900 timing

2024-04-18 Thread lvzhaoxiong
ILI2900 requires reset to pull down time greater than 10ms, so the configuration post_power_delay_ms is 10, and the chipset initial time is required to be greater than 100ms, so the post_gpio_reset_on_delay_ms is set to 100. lvzhaoxiong (2): dt-bindings: input: i2c-hid: Introduce Ilitek ili2900

Re: [PATCH v1 2/4] drm/panel: boe-tv101wum-nl6: Support for BOE nv110wum-l60 MIPI-DSI panel

2024-04-18 Thread cong yang
Hi, Linus Walleij 于2024年4月11日周四 16:25写道: > > On Thu, Apr 11, 2024 at 9:40 AM Doug Anderson wrote: > > On Wed, Apr 10, 2024 at 12:15 AM Cong Yang > > wrote: > > > > > > The BOE nv110wum-l60 is a 11.0" WUXGA TFT LCD panel, which fits in nicely > > > with the existing panel-boe-tv101wum-nl6

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

2024-04-18 Thread Harshit Mogalapalli
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: 2655757a3f10 fbdev: flush deferred IO before closing 15492bab7393 fbdev: Fix incorrect page mapping clearance at

Re: [PATCH] drm/ttm: Print the memory decryption status just once

2024-04-18 Thread Christian König
Sorry haven't seen your reply. Feel free to add my rb to the patch. Regards, Christian. Am 18.04.24 um 13:38 schrieb Zack Rusin: Ping on this one. If we don't want the "_once" then I can quickly prepare a patch that just removes the logging altogether, because while useful it's polluting up

Re: [PATCH v2 1/2] drm/print: drop include debugfs.h and include where needed

2024-04-18 Thread Robert Foss
Hey Jani, Thanks for doing this cleanup. On Thu, Apr 18, 2024 at 12:13 PM Jani Nikula wrote: > > Surprisingly many places depend on debugfs.h to be included via > drm_print.h. Fix them. > > v2: Also fix ivpu and vmwgfx > > Reviewed-by: Andrzej Hajda > Acked-by: Maxime Ripard > Link: >

Re: [PATCH 07/15] drm/vc4: hdmi: switch to struct drm_edid

2024-04-18 Thread Maxime Ripard
On Tue, 16 Apr 2024 16:22:21 +0300, Jani Nikula wrote: > Prefer struct drm_edid based functions over struct edid. > > Signed-off-by: Jani Nikula > Acked-by: Maxime Ripard Thanks! Maxime

Re: [PATCH 06/15] drm/sun4i: hdmi: switch to struct drm_edid

2024-04-18 Thread Maxime Ripard
On Tue, 16 Apr 2024 16:22:20 +0300, Jani Nikula wrote: > Prefer struct drm_edid based functions over struct edid. > > Signed-off-by: Jani Nikula > Acked-by: Maxime Ripard Thanks! Maxime

Re: [PATCH v2 3/7] drm/msm/adreno: Implement SMEM-based speed bin

2024-04-18 Thread Dmitry Baryshkov
On Thu, 18 Apr 2024 at 14:31, Konrad Dybcio wrote: > > On 18.04.2024 1:07 PM, Dmitry Baryshkov wrote: > > On Thu, Apr 18, 2024 at 11:51:16AM +0200, Konrad Dybcio wrote: > >> On 18.04.2024 1:43 AM, Dmitry Baryshkov wrote: > >>> On Wed, Apr 17, 2024 at 10:02:55PM +0200, Konrad Dybcio wrote: >

Re: [PATCH v1 2/2] drm/panel: kd101ne3: add new panel driver

2024-04-18 Thread Dmitry Baryshkov
On Thu, Apr 18, 2024 at 04:15:48PM +0800, lvzhaoxiong wrote: > The kingdisplay panel is based on JD9365DA controller. > Add a driver for it. > > Signed-off-by: lvzhaoxiong > --- > drivers/gpu/drm/panel/Kconfig | 9 + > drivers/gpu/drm/panel/Makefile| 1 + >

[PATCH] drm: Fix plane SIZE_HINTS property docs

2024-04-18 Thread Ville Syrjala
From: Ville Syrjälä Fix the typos in the plane SIZE_HINTS kernel docs. Reported-by: Stephen Rothwell Fixes: 9677547d8362 ("drm: Introduce plane SIZE_HINTS property") Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/drm_plane.c | 2 +- include/drm/drm_mode_config.h | 2 +- 2 files changed,

Re: [PATCH net-next v9 0/3] Add minimal XDP support to TI AM65 CPSW Ethernet driver

2024-04-18 Thread Siddharth Vadapalli
On Thu, Apr 18, 2024 at 01:17:47PM +0200, Julien Panis wrote: > On 4/18/24 13:00, Siddharth Vadapalli wrote: > > On 12-04-2024 21:08, Julien Panis wrote: > > > This patch adds XDP support to TI AM65 CPSW Ethernet driver. > > > > > > The following features are implemented: NETDEV_XDP_ACT_BASIC, >

Re: [PATCH] drm/ttm: Print the memory decryption status just once

2024-04-18 Thread Zack Rusin
Ping on this one. If we don't want the "_once" then I can quickly prepare a patch that just removes the logging altogether, because while useful it's polluting up the kernel logs too much right now so getting a fix in for 6.9 for this would be great. z On Mon, Apr 8, 2024 at 1:46 PM Zack Rusin

Re: [PATCH net-next v9 0/3] Add minimal XDP support to TI AM65 CPSW Ethernet driver

2024-04-18 Thread Siddharth Vadapalli
On 12-04-2024 21:08, Julien Panis wrote: > This patch adds XDP support to TI AM65 CPSW Ethernet driver. > > The following features are implemented: NETDEV_XDP_ACT_BASIC, > NETDEV_XDP_ACT_REDIRECT, and NETDEV_XDP_ACT_NDO_XMIT. > > Zero-copy and non-linear XDP buffer supports are NOT implemented.

Re: [PATCH v2 3/7] drm/msm/adreno: Implement SMEM-based speed bin

2024-04-18 Thread Konrad Dybcio
On 18.04.2024 1:07 PM, Dmitry Baryshkov wrote: > On Thu, Apr 18, 2024 at 11:51:16AM +0200, Konrad Dybcio wrote: >> On 18.04.2024 1:43 AM, Dmitry Baryshkov wrote: >>> On Wed, Apr 17, 2024 at 10:02:55PM +0200, Konrad Dybcio wrote: On recent (SM8550+) Snapdragon platforms, the GPU speed bin data

Re: [PATCH v2 6/7] drm/msm/adreno: Redo the speedbin assignment

2024-04-18 Thread Dmitry Baryshkov
On Thu, Apr 18, 2024 at 11:57:35AM +0200, Konrad Dybcio wrote: > On 18.04.2024 1:49 AM, Dmitry Baryshkov wrote: > > On Wed, Apr 17, 2024 at 10:02:58PM +0200, Konrad Dybcio wrote: > >> There is no need to reinvent the wheel for simple read-match-set logic. > >> > >> Make speedbin discovery and

Re: [PATCH net-next v9 0/3] Add minimal XDP support to TI AM65 CPSW Ethernet driver

2024-04-18 Thread Julien Panis
On 4/18/24 13:00, Siddharth Vadapalli wrote: On 12-04-2024 21:08, Julien Panis wrote: This patch adds XDP support to TI AM65 CPSW Ethernet driver. The following features are implemented: NETDEV_XDP_ACT_BASIC, NETDEV_XDP_ACT_REDIRECT, and NETDEV_XDP_ACT_NDO_XMIT. Zero-copy and non-linear XDP

Re: [PATCH v2 3/7] drm/msm/adreno: Implement SMEM-based speed bin

2024-04-18 Thread Dmitry Baryshkov
On Thu, Apr 18, 2024 at 11:51:16AM +0200, Konrad Dybcio wrote: > On 18.04.2024 1:43 AM, Dmitry Baryshkov wrote: > > On Wed, Apr 17, 2024 at 10:02:55PM +0200, Konrad Dybcio wrote: > >> On recent (SM8550+) Snapdragon platforms, the GPU speed bin data is > >> abstracted through SMEM, instead of being

Re: [PATCH v2 2/7] soc: qcom: smem: Add a feature code getter

2024-04-18 Thread Dmitry Baryshkov
On Thu, Apr 18, 2024 at 11:53:31AM +0200, Konrad Dybcio wrote: > On 18.04.2024 1:39 AM, Dmitry Baryshkov wrote: > > On Wed, Apr 17, 2024 at 10:02:54PM +0200, Konrad Dybcio wrote: > >> Recent (SM8550+ ish) Qualcomm SoCs have a new mechanism for precisely > >> identifying the specific SKU and the

Re: [PATCH 1/5] drm/vblank: Introduce drm_crtc_vblank_crtc()

2024-04-18 Thread Ville Syrjälä
On Tue, Apr 09, 2024 at 06:02:49PM +0300, Dmitry Baryshkov wrote: > On Mon, Apr 08, 2024 at 10:06:07PM +0300, Ville Syrjala wrote: > > From: Ville Syrjälä > > > > Make life easier by providing a function that hands > > out the the correct drm_vblank_crtc for a given a drm_crtc. > > > > Also

[PATCH v2 2/2] drm/print: drop include seq_file.h

2024-04-18 Thread Jani Nikula
Never include where a forward declaration will suffice. Reviewed-by: Andrzej Hajda Acked-by: Maxime Ripard Link: https://patchwork.freedesktop.org/patch/msgid/20240410141434.157908-2-jani.nik...@intel.com Signed-off-by: Jani Nikula --- include/drm/drm_print.h | 2 +- 1 file changed, 1

[PATCH v2 1/2] drm/print: drop include debugfs.h and include where needed

2024-04-18 Thread Jani Nikula
Surprisingly many places depend on debugfs.h to be included via drm_print.h. Fix them. v2: Also fix ivpu and vmwgfx Reviewed-by: Andrzej Hajda Acked-by: Maxime Ripard Link: https://patchwork.freedesktop.org/patch/msgid/20240410141434.157908-1-jani.nik...@intel.com Signed-off-by: Jani Nikula

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

2024-04-18 Thread Aravind Iddamsetty
On 17/04/24 19:20, Michal Wajdeczko wrote: > > On 17.04.2024 10:41, Aravind Iddamsetty wrote: >> This would be used in other places outside of gt_reset path. >> >> Cc: Lucas De Marchi >> >> Reviewed-by: Rodrigo Vivi >> Signed-off-by: Aravind Iddamsetty >> --- >> drivers/gpu/drm/xe/xe_gt.c |

[PATCH v1 1/2] dt-bindings: display: panel: Add KD101NE3-40TI support

2024-04-18 Thread lvzhaoxiong
Create a new dt-scheam for the kd101ne3-40ti. Signed-off-by: lvzhaoxiong --- .../panel/kingdisplay,kd101ne3-40ti.yaml | 63 +++ 1 file changed, 63 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/kingdisplay,kd101ne3-40ti.yaml diff --git

[PATCH v1 0/2] Add kd101ne3 bindings and driver.

2024-04-18 Thread lvzhaoxiong
Add bindings and driver for kd101ne3. lvzhaoxiong (2): dt-bindings: display: panel: Add KD101NE3-40TI support drm/panel: kd101ne3: add new panel driver .../panel/kingdisplay,kd101ne3-40ti.yaml | 63 ++ drivers/gpu/drm/panel/Kconfig | 9 +

[PATCH v1 2/2] drm/panel: kd101ne3: add new panel driver

2024-04-18 Thread lvzhaoxiong
The kingdisplay panel is based on JD9365DA controller. Add a driver for it. Signed-off-by: lvzhaoxiong --- drivers/gpu/drm/panel/Kconfig | 9 + drivers/gpu/drm/panel/Makefile| 1 + .../drm/panel/panel-kingdisplay-kd101ne3.c| 607 ++ 3

Re: [PATCH v2 4/4] drm/xe/FLR: Support PCIe FLR

2024-04-18 Thread Aravind Iddamsetty
On 17/04/24 19:29, Michal Wajdeczko wrote: > > On 17.04.2024 10:41, Aravind Iddamsetty wrote: >> 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

Re: [PATCH v2 6/7] drm/msm/adreno: Redo the speedbin assignment

2024-04-18 Thread Konrad Dybcio
On 18.04.2024 1:49 AM, Dmitry Baryshkov wrote: > On Wed, Apr 17, 2024 at 10:02:58PM +0200, Konrad Dybcio wrote: >> There is no need to reinvent the wheel for simple read-match-set logic. >> >> Make speedbin discovery and assignment generation independent. >> >> This implicitly removes the bogus

Re: [PATCH v2 2/7] soc: qcom: smem: Add a feature code getter

2024-04-18 Thread Konrad Dybcio
On 18.04.2024 1:39 AM, Dmitry Baryshkov wrote: > On Wed, Apr 17, 2024 at 10:02:54PM +0200, Konrad Dybcio wrote: >> Recent (SM8550+ ish) Qualcomm SoCs have a new mechanism for precisely >> identifying the specific SKU and the precise speed bin (in the general >> meaning of this word, anyway): a

Re: 答复: [PATCH v5.10] drm/amd/display: Wake DMCUB before executing GPINT commands

2024-04-18 Thread Greg KH
On Thu, Apr 18, 2024 at 03:19:46AM +, wangzhu wrote: > Hi Greg, thanks for your reply. Since there is no patch to fix CVE-2023-52624 > in linux-5.10, there is a patch in the linux-6.7 branch to fix it, its commit > is 2ef98c6d753a744e333b7e34b9cf687040fba57d ("drm/amd/display: Wake DMCUB >

Re: [PATCH v2 3/7] drm/msm/adreno: Implement SMEM-based speed bin

2024-04-18 Thread Konrad Dybcio
On 18.04.2024 1:43 AM, Dmitry Baryshkov wrote: > On Wed, Apr 17, 2024 at 10:02:55PM +0200, Konrad Dybcio wrote: >> On recent (SM8550+) Snapdragon platforms, the GPU speed bin data is >> abstracted through SMEM, instead of being directly available in a fuse. >> >> Add support for SMEM-based speed

Re: [PATCH v2 12/18] dt-bindings: pwm: mediatek,pwm-disp: add compatible for mt8365 SoC

2024-04-18 Thread Alexandre Mergnat
Hi Uwe On 17/04/2024 10:06, Uwe Kleine-König wrote: Hello, On Tue, Apr 16, 2024 at 05:53:13PM +0200, Alexandre Mergnat wrote: Add a compatible string for MediaTek Genio 350 MT8365's display PWM block: this is the same as MT8183. Reviewed-by: AngeloGioacchino Del Regno Acked-by: Uwe

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

2024-04-18 Thread Dharma Balasubiramani
Enable LVDS serializer support for display pipeline. Signed-off-by: Dharma Balasubiramani Acked-by: Hari Prasath Gujulan Elango Acked-by: Nicolas Ferre --- Changelog v6 -> v7 v5 -> v6 v4 -> v5 v3 -> v4 v2 -> v3 - No Changes. --- arch/arm/configs/at91_dt_defconfig | 1 + 1 file changed, 1

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

2024-04-18 Thread Dharma Balasubiramani
Add the newly added LVDS controller for the SAM9X7 SoC to the existing MAINTAINERS entry. Signed-off-by: Dharma Balasubiramani Reviewed-by: Neil Armstrong Acked-by: Nicolas Ferre --- Changelog v6 -> v7 - No changes. v5 -> v6 - Correct the file name sam9x7-lvds.yaml -> sam9x75-lvds.yaml. v4 ->

  1   2   >