[PATCH 2/3] drm/gud: use devm_add_action_or_reset() helper

2024-09-07 Thread He Lugang
Use devm_add_action_or_reset() to release resources in case of failure, because the cleanup function will be automatically called. Signed-off-by: He Lugang --- drivers/gpu/drm/gud/gud_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/gud/gud_drv.c b/driver

[PATCH 3/3] drm/i2c/tda9950: use devm_add_action_or_reset() helper

2024-09-07 Thread He Lugang
Use devm_add_action_or_reset() to release resources in case of failure, because the cleanup function will be automatically called. Signed-off-by: He Lugang --- drivers/gpu/drm/i2c/tda9950.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/i2c/tda99

Re: [PATCH 1/3] drm/xe: use devm_add_action_or_reset() helper

2024-09-07 Thread HeLuang
sorry, pls just pass over this email. Best Regards, Lugang 在 2024/9/7 14:51, He Lugang 写道: Use devm_add_action_or_reset() to release resources in case of failure, because the cleanup function will be automatically called. Signed-off-by: He Lugang --- drivers/gpu/drm/xe/xe_gt_freq.c | 2

Re: [PATCH 1/3] drm/xe: use devm_add_action_or_reset() helper

2024-09-07 Thread HeLuang
sorry pls just pass over this email. -- Sincerely, Lugang 在 2024/9/7 14:51, He Lugang 写道: Use devm_add_action_or_reset() to release resources in case of failure, because the cleanup function will be automatically called. Signed-off-by: He Lugang --- drivers/gpu/drm/xe/xe_gt_freq.c | 2 +-

Re: [PATCH v4] devres: Refactor using guards

2024-09-07 Thread Michael Nazzareno Trimarchi
Hi Andrea +cc Lucas On Mon, Jul 22, 2024 at 10:43 AM Andrea Calabrese wrote: > > Hi all, > > just a small push on this, since I received no notifications. > > On 13/06/2024 09:26, Andrea Calabrese wrote: > > Code refactoring using the recent guard and scoped_guard macros > > for automatic cleanu

Re: [PATCH] drm/panel: himax-hx83112a: transition to mipi_dsi wrapped functions

2024-09-07 Thread Tejas Vipin
On 9/7/24 3:53 AM, Jessica Zhang wrote: > > > On 9/6/2024 3:14 PM, Jessica Zhang wrote: >> >> >> On 9/4/2024 7:15 AM, Tejas Vipin wrote: >>> Changes the himax-hx83112a panel to use multi style functions for >>> improved error handling. >>> >>> Signed-off-by: Tejas Vipin >> >> Reviewed-by: Jes

Re: [PATCH v2 8/8] Documentation: add howto build in macos

2024-09-07 Thread Masahiro Yamada
On Fri, Sep 6, 2024 at 8:01 PM Daniel Gomez via B4 Relay wrote: > > From: Daniel Gomez > > Add documentation under kbuild/llvm to inform about the experimental > support for building the Linux kernel in macOS hosts environments. > > Signed-off-by: Daniel Gomez Instead, you can add this instruc

Re: [PATCH] drm/rockchip: include rockchip_drm_drv.h

2024-09-07 Thread Diederik de Haas
On Sat Sep 7, 2024 at 5:02 AM CEST, Min-Hua Chen wrote: > >FWIW: I didn't see it either, but I assumed I was missing the right > >context (i.e. patches) needed to trigger that warning. > > I triggered the warning by the following step: > > install 'sparse' first > > ARCH=arm64 LLVM=1 make C=1 CF='-

Re:Re: [PATCH] drm/rockchip: include rockchip_drm_drv.h

2024-09-07 Thread Andy Yan
Hi , At 2024-09-07 16:47:18, "Diederik de Haas" wrote: >On Sat Sep 7, 2024 at 5:02 AM CEST, Min-Hua Chen wrote: >> >FWIW: I didn't see it either, but I assumed I was missing the right >> >context (i.e. patches) needed to trigger that warning. >> >> I triggered the warning by the following step:

Re: [PATCH v2 4/8] arm64: nvhe: add bee-headers support

2024-09-07 Thread Daniel Gomez (Samsung)
On Fri, Sep 6, 2024 at 4:03 PM Masahiro Yamada wrote: > > On Fri, Sep 6, 2024 at 8:01 PM Daniel Gomez via B4 Relay > wrote: > > > > From: Daniel Gomez > > > > endian.h header is not provided by default in macOS. Use pkg-config with > > the new development package 'bee-headers' [1] to find the pa

Re: [PATCH 1/1] drm/imx: Add missing DRM_BRIDGE_CONNECTOR dependency

2024-09-07 Thread kernel test robot
kernel.org/r/20240906063857.2223442-1-alexander.stein%40ew.tq-group.com patch subject: [PATCH 1/1] drm/imx: Add missing DRM_BRIDGE_CONNECTOR dependency config: alpha-kismet-CONFIG_DRM_BRIDGE_CONNECTOR-CONFIG_DRM_IMX_LDB-0-0 (https://download.01.org/0day-ci/archive/20240907/202409071746.fbgs0kyw-...

Re: [PATCH v2 8/8] Documentation: add howto build in macos

2024-09-07 Thread Daniel Gomez (Samsung)
On Sat, Sep 7, 2024 at 10:33 AM Masahiro Yamada wrote: > > On Fri, Sep 6, 2024 at 8:01 PM Daniel Gomez via B4 Relay > wrote: > > > > From: Daniel Gomez > > > > Add documentation under kbuild/llvm to inform about the experimental > > support for building the Linux kernel in macOS hosts environmen

Re: [PATCH v4 1/3] drm: Introduce device wedged event

2024-09-07 Thread Asahi Lina
On 9/6/24 6:42 PM, Raag Jadav wrote: > Introduce device wedged event, which will notify userspace of wedged > (hanged/unusable) state of the DRM device through a uevent. This is > useful especially in cases where the device is in unrecoverable state > and requires userspace intervention for reco

[PATCH v2] drm/bridge: imx8mp-hdmi-tx: allow 0.5% margin with selected clock

2024-09-07 Thread Dominique Martinet
k is 1/1000) +*/ + if (abs(round_rate - mode->clock * 1000) > mode->clock * 5) return MODE_CLOCK_RANGE; /* We don't support double-clocked and Interlaced modes */ --- base-commit: 67784a74e258a467225f0e68335df77acd67b7ab change-id: 2

[PATCH] drm/panel: raydium-rm69380: transition to mipi_dsi wrapped functions

2024-09-07 Thread Tejas Vipin
Changes the raydium-rm69380 panel to use multi style functions for improved error handling. Signed-off-by: Tejas Vipin --- drivers/gpu/drm/panel/panel-raydium-rm69380.c | 95 ++- 1 file changed, 30 insertions(+), 65 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-raydium-r

Re: [PATCH 1/1] drm/imx: Add missing DRM_BRIDGE_CONNECTOR dependency

2024-09-07 Thread kernel test robot
kernel.org/r/20240906063857.2223442-1-alexander.stein%40ew.tq-group.com patch subject: [PATCH 1/1] drm/imx: Add missing DRM_BRIDGE_CONNECTOR dependency config: alpha-kismet-CONFIG_DRM_BRIDGE_CONNECTOR-CONFIG_DRM_IMX_PARALLEL_DISPLAY-0-0 (https://download.01.org/0day-ci/archive/20240907/20240907215

Re: [PATCH v4 1/3] drm: Introduce device wedged event

2024-09-07 Thread Lucas De Marchi
On Sat, Sep 07, 2024 at 08:38:30PM GMT, Asahi Lina wrote: On 9/6/24 6:42 PM, Raag Jadav wrote: Introduce device wedged event, which will notify userspace of wedged (hanged/unusable) state of the DRM device through a uevent. This is useful especially in cases where the device is in unrecoverabl

Re: [PATCH] treewide: Correct the typo 'retun'

2024-09-07 Thread Markus Elfring
… > should be instead of 'return'. “return” instead? Can a corresponding imperative wording be preferred for a better change description? https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.11-rc6#n94 Regards, Ma

Re: [PATCH for-next] drm/ttm: make ttm_swap_ops static

2024-09-07 Thread Matthew Brost
On Sat, Sep 07, 2024 at 11:36:41AM +0800, Min-Hua Chen wrote: > make ttm_swap_ops static to fix the following sparse warning: > > drivers/gpu/drm/ttm/ttm_bo.c:1142:31: sparse: warning: symbol > 'ttm_swap_ops' was not declared. Should it be static? > This looks correct. I'd drop the 'Should it be

Re: [PATCH v2 2/8] file2alias: fix uuid_t definitions for macos

2024-09-07 Thread Masahiro Yamada
On Fri, Sep 6, 2024 at 8:01 PM Daniel Gomez via B4 Relay wrote: > > From: Daniel Gomez > > The uuid_t struct defined in sys/types.h on macOS hosts conflicts with > the one defined in file2alias, resulting in the typedef redefinition > error below. To resolve this conflict, define the _UUID_T and

Re: [PATCH v2 4/8] arm64: nvhe: add bee-headers support

2024-09-07 Thread Masahiro Yamada
On Sat, Sep 7, 2024 at 6:28 PM Daniel Gomez (Samsung) wrote: > > On Fri, Sep 6, 2024 at 4:03 PM Masahiro Yamada wrote: > > > > On Fri, Sep 6, 2024 at 8:01 PM Daniel Gomez via B4 Relay > > wrote: > > > > > > From: Daniel Gomez > > > > > > endian.h header is not provided by default in macOS. Use

Re: [PATCH v2 8/8] Documentation: add howto build in macos

2024-09-07 Thread Masahiro Yamada
On Sat, Sep 7, 2024 at 6:32 PM Daniel Gomez (Samsung) wrote: > > On Sat, Sep 7, 2024 at 10:33 AM Masahiro Yamada wrote: > > > > On Fri, Sep 6, 2024 at 8:01 PM Daniel Gomez via B4 Relay > > wrote: > > > > > > From: Daniel Gomez > > > > > > Add documentation under kbuild/llvm to inform about the

[Bug 206309] Experimental amdgpu w/ Dell E6540 with HD 8790M (MARS XTX), massive performance improvement after ACPI suspend

2024-09-07 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=206309 --- Comment #5 from jerbear3.14...@gmail.com --- It's a Linux bug! I finally set aside a day to waste on Windows installation to check whether it behaves the same way. Windows 10 repeatedly crashed and bricked itself because of course it did. It

[Bug 206309] Experimental amdgpu w/ Dell E6540 with HD 8790M (MARS XTX), massive performance improvement after ACPI suspend

2024-09-07 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=206309 --- Comment #6 from Travis Juntara (changhaitra...@gmail.com) --- I ended up upgrading to a slightly newer dell business laptop with an AMD GPU (with none of these issues) and getting rid of my Latitude E6540. As such, I can't really help test an