Re: On community influencing (was Re: [PATCH v8 2/2] rust: add dma coherent allocator abstraction.)

2025-02-08 Thread Hector Martin
On 2025/02/08 13:26, Steven Rostedt wrote: > On Fri, Feb 07, 2025 at 06:16:38AM -0600, Dr. Greg wrote: >> >> Not sure what the fix is, from a project management perspective the >> technology industry has never faced a challenge like this. The fork >> model, which was the classic protection in o

Re: On community influencing (was Re: [PATCH v8 2/2] rust: add dma coherent allocator abstraction.)

2025-02-07 Thread Hector Martin
On 2025/02/08 3:33, Linus Torvalds wrote: > On Fri, 7 Feb 2025 at 10:02, Hector Martin wrote: >> >> Meanwhile, for better or worse, much of Linux infra *is* centralized - >> for example, the mailing lists themselves, and a lot of the Git hosting. > > The mailing lis

Re: On community influencing (was Re: [PATCH v8 2/2] rust: add dma coherent allocator abstraction.)

2025-02-07 Thread Hector Martin
On 2025/02/08 2:14, Konstantin Ryabitsev wrote: > On Fri, Feb 07, 2025 at 05:16:28AM +0900, Hector Martin wrote: >> And what I see, is very little effort to improve that status quo, or at >> least very little that yields any actual change that isn't just >> band-aids (e

Re: On community influencing (was Re: [PATCH v8 2/2] rust: add dma coherent allocator abstraction.)

2025-02-07 Thread Hector Martin
On 2025/02/07 22:49, Simona Vetter wrote: > On Fri, Feb 07, 2025 at 07:20:03PM +0900, Hector Martin wrote: >> On 2025/02/07 18:41, Hector Martin wrote: >>> On 2025/02/06 3:52, Simona Vetter wrote: >>>> On Tue, Feb 04, 2025 at 03:46:14AM +0900, Hector Ma

Re: On community influencing (was Re: [PATCH v8 2/2] rust: add dma coherent allocator abstraction.)

2025-02-07 Thread Hector Martin
On 2025/02/07 18:41, Hector Martin wrote: > On 2025/02/06 3:52, Simona Vetter wrote: >> On Tue, Feb 04, 2025 at 03:46:14AM +0900, Hector Martin wrote: >>> Adding Linus >>> >>> My 2c: If Linus doesn't pipe up with an authoritative answer to this >>&

Re: On community influencing (was Re: [PATCH v8 2/2] rust: add dma coherent allocator abstraction.)

2025-02-07 Thread Hector Martin
On 2025/02/06 3:52, Simona Vetter wrote: > On Tue, Feb 04, 2025 at 03:46:14AM +0900, Hector Martin wrote: >> Adding Linus >> >> My 2c: If Linus doesn't pipe up with an authoritative answer to this >> thread, Miguel and the other Rust folks should just merge this s

Re: On community influencing (was Re: [PATCH v8 2/2] rust: add dma coherent allocator abstraction.)

2025-02-06 Thread Hector Martin
On 2025/02/07 4:37, Danilo Krummrich wrote: > On Thu, Feb 06, 2025 at 06:19:42PM +0900, Hector Martin wrote: >> >> If shaming on social media does not work, then tell me what does, > > Most importantly be *consistent* with good technical arguments, calmly focus >

Re: On community influencing (was Re: [PATCH v8 2/2] rust: add dma coherent allocator abstraction.)

2025-02-06 Thread Hector Martin
On 2025/02/06 5:36, Dave Airlie wrote: > On Thu, 6 Feb 2025 at 04:52, Simona Vetter wrote: >> >> On Tue, Feb 04, 2025 at 03:46:14AM +0900, Hector Martin wrote: >>> Adding Linus >>> >>> My 2c: If Linus doesn't pipe up with an authoritative answer to t

Unified Type C PHYs and top-level port management

2025-01-14 Thread Hector Martin
Hi all, We're implementing Type C port support for Apple systems and we're running into impedance mismatches with the existing Linux subsystems. I want to throw a quick overview of the problem here and see if we can come up with solutions. The short version is that Linux has a pile of (sub)subsys

Re: [PATCH v2 1/5] dt-bindings: display: Add Apple pre-DCP display controller bindings

2024-11-26 Thread Hector Martin
On 2024/11/27 2:20, Krzysztof Kozlowski wrote: > On 26/11/2024 18:00, Sasha Finkelstein wrote: >> On Tue, 26 Nov 2024 at 17:46, Krzysztof Kozlowski wrote: +properties: + compatible: +items: + - enum: + - apple,j293-summit + - apple,j493-

Re: [PATCH 2/5] gpu: drm: adp: Add Apple Display Pipe driver

2024-11-25 Thread Hector Martin
On November 25, 2024 4:28:00 PM GMT+01:00, Maxime Ripard wrote: >On Mon, Nov 25, 2024 at 11:24:25PM +0900, Hector Martin wrote: >> >> >> On 2024/11/25 20:24, Sasha Finkelstein wrote: >> > On Mon, 25 Nov 2024 at 09:50, Neil Armstrong >> > wrote: >>

Re: [PATCH 1/5] dt-bindgins: display: Add Apple pre-DCP display controller bindings

2024-11-25 Thread Hector Martin
On 2024/11/25 23:53, Krzysztof Kozlowski wrote: > On 25/11/2024 15:14, Hector Martin wrote: >>>> + >>>> + "#address-cells": >>>> +const: 1 >>>> + >>>> + "#size-cells": >>>> +

Re: [PATCH 2/5] gpu: drm: adp: Add Apple Display Pipe driver

2024-11-25 Thread Hector Martin
On 2024/11/25 20:24, Sasha Finkelstein wrote: > On Mon, 25 Nov 2024 at 09:50, Neil Armstrong > wrote: >> >> So this controller only supports a single mode ??? >> > Most likely. On all devices it is connected to a single built-in display. More specifically, the controller obviously support

Re: [PATCH 1/5] dt-bindgins: display: Add Apple pre-DCP display controller bindings

2024-11-25 Thread Hector Martin
On 2024/11/25 16:45, Krzysztof Kozlowski wrote: > On Sun, Nov 24, 2024 at 11:29:24PM +0100, Sasha Finkelstein wrote: >> Add bindings for a secondary display controller present on certain >> Apple laptops. >> >> Signed-off-by: Sasha Finkelstein >> --- >> .../bindings/display/apple,display-pipe.yam

Re: [PATCH v2] drm/format-helper: Only advertise supported formats for conversion

2022-10-31 Thread Hector Martin
On 01/11/2022 01.15, Justin Forbes wrote: > On Thu, Oct 27, 2022 at 8:57 AM Hector Martin wrote: >> >> drm_fb_build_fourcc_list() currently returns all emulated formats >> unconditionally as long as the native format is among them, even though >> not all combinati

Re: [PATCH v2] drm/format-helper: Only advertise supported formats for conversion

2022-10-28 Thread Hector Martin
On 28/10/2022 17.07, Thomas Zimmermann wrote: > In yesterday's discussion on IRC, it was said that several devices > advertise ARGB framebuffers when the hardware actually uses XRGB? Is > there hardware that supports transparent primary planes? ARGB hardware probably exists in the form of embedd

[PATCH v2] drm/format-helper: Only advertise supported formats for conversion

2022-10-27 Thread Hector Martin
11e8f5fd223b ("drm: Add simpledrm driver") Cc: sta...@vger.kernel.org Signed-off-by: Hector Martin --- I'm proposing this alternative approach after a heated discussion on IRC. I'm out of ideas, if y'all don't like this one you can figure it out for yourseves :-) Changes

Re: [PATCH] drm/simpledrm: Only advertise formats that are supported

2022-10-27 Thread Hector Martin
On 27/10/2022 20.08, Thomas Zimmermann wrote: > We currently have two DRM drivers that call drm_fb_build_fourcc_list(): > simpledrm and ofdrm. I've been very careful to keep the format selection > in sync between them. (That's the reason why the helper exists at all.) > If the drivers start to u

Re: [PATCH] drm/simpledrm: Only advertise formats that are supported

2022-10-27 Thread Hector Martin
On 27/10/2022 19.13, Hector Martin wrote: > Until now, simpledrm unconditionally advertised all formats that can be > supported natively as conversions. However, we don't actually have a > full conversion matrix of helpers. Although the list is arguably > provided to userspace in

[PATCH] drm/simpledrm: Only advertise formats that are supported

2022-10-27 Thread Hector Martin
d conversions at all. Acked-by: Pekka Paalanen Fixes: 6ea966fca084 ("drm/simpledrm: Add [AX]RGB2101010 formats") Fixes: 11e8f5fd223b ("drm: Add simpledrm driver") Cc: sta...@vger.kernel.org Signed-off-by: Hector Martin --- drivers/gpu/drm/drm_format_helper.c | 1

Re: [PATCH v3 1/3] of: Move simple-framebuffer device handling from simplefb to of

2021-12-13 Thread Hector Martin
On 13/12/2021 20.30, Javier Martinez Canillas wrote: On Mon, Dec 13, 2021 at 11:46 AM Hector Martin wrote: On 13/12/2021 17.44, Javier Martinez Canillas wrote: Hello Hector, On Sun, Dec 12, 2021 at 7:24 AM Hector Martin wrote: This code is required for both simplefb and simpledrm, so

Re: [PATCH v3 1/3] of: Move simple-framebuffer device handling from simplefb to of

2021-12-13 Thread Hector Martin
On 13/12/2021 17.44, Javier Martinez Canillas wrote: Hello Hector, On Sun, Dec 12, 2021 at 7:24 AM Hector Martin wrote: This code is required for both simplefb and simpledrm, so let's move it into the OF core instead of having it as an ad-hoc initcall in the drivers. Acked-by: T

[PATCH v3 3/3] drm/simpledrm: Add [AX]RGB2101010 formats

2021-12-11 Thread Hector Martin
This is the format used by the bootloader framebuffer on Apple ARM64 platforms. Reviewed-by: Thomas Zimmermann Signed-off-by: Hector Martin --- drivers/gpu/drm/tiny/simpledrm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/tiny/simpledrm.c b/drivers

[PATCH v3 2/3] drm/format-helper: Add drm_fb_xrgb8888_to_xrgb2101010_toio()

2021-12-11 Thread Hector Martin
Add XRGB emulation support for devices that can only do XRGB2101010. This is chiefly useful for simpledrm on Apple devices where the bootloader-provided framebuffer is 10-bit. Signed-off-by: Hector Martin --- drivers/gpu/drm/drm_format_helper.c | 64 + include

[PATCH v3 1/3] of: Move simple-framebuffer device handling from simplefb to of

2021-12-11 Thread Hector Martin
This code is required for both simplefb and simpledrm, so let's move it into the OF core instead of having it as an ad-hoc initcall in the drivers. Acked-by: Thomas Zimmermann Signed-off-by: Hector Martin --- drivers/of/platform.c | 4 drivers/video/fbdev/simplefb.c

[PATCH v3 0/3] drm/simpledrm: Apple M1 / DT platform support fixes

2021-12-11 Thread Hector Martin
when simpledrm is selected to replace simplefb, as these FBs always seem to be 10-bit (at least when a real screen is attached). Changes since v2: - Made 10-bit conversion code fill the LSBs - Added ARGB2101010 to supported formats list - Simplified OF core code per review feedback Hector Martin (3

Re: [PATCH v2 2/3] drm/format-helper: Add drm_fb_xrgb8888_to_xrgb2101010_toio()

2021-12-07 Thread Hector Martin
Hi, thanks for the review! On 07/12/2021 18.40, Thomas Zimmermann wrote: Hi Am 07.12.21 um 08:29 schrieb Hector Martin: Add XRGB emulation support for devices that can only do XRGB2101010. This is chiefly useful for simpledrm on Apple devices where the bootloader-provided framebuffer is

[PATCH v2 3/3] drm/simpledrm: Add XRGB2101010 format

2021-12-06 Thread Hector Martin
This is the format used by the bootloader framebuffer on Apple ARM64 platforms. Reviewed-by: Thomas Zimmermann Signed-off-by: Hector Martin --- drivers/gpu/drm/tiny/simpledrm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/tiny/simpledrm.c b/drivers/gpu

[PATCH v2 2/3] drm/format-helper: Add drm_fb_xrgb8888_to_xrgb2101010_toio()

2021-12-06 Thread Hector Martin
Add XRGB emulation support for devices that can only do XRGB2101010. This is chiefly useful for simpledrm on Apple devices where the bootloader-provided framebuffer is 10-bit. Signed-off-by: Hector Martin --- drivers/gpu/drm/drm_format_helper.c | 62 + include

[PATCH v2 1/3] of: Move simple-framebuffer device handling from simplefb to of

2021-12-06 Thread Hector Martin
This code is required for both simplefb and simpledrm, so let's move it into the OF core instead of having it as an ad-hoc initcall in the drivers. Signed-off-by: Hector Martin --- drivers/of/platform.c | 5 + drivers/video/fbdev/simplefb.c | 21 + 2

[PATCH v2 0/3] drm/simpledrm: Apple M1 / DT platform support fixes

2021-12-06 Thread Hector Martin
when simpledrm is selected to replace simplefb, as these FBs always seem to be 10-bit (at least when a real screen is attached). Changes since v1: - Moved the OF platform device setup code from simplefb into common code, instead of duplicating it in simpledrm - Rebased on drm-tip Hector Martin (3

Re: [PATCH 2/3] drm/format-helper: Add drm_fb_xrgb8888_to_xrgb2101010_dstclip()

2021-11-22 Thread Hector Martin
On 22/11/2021 18.52, Pekka Paalanen wrote: On Wed, 17 Nov 2021 23:58:28 +0900 Hector Martin wrote: Add XRGB emulation support for devices that can only do XRGB2101010. This is chiefly useful for simpledrm on Apple devices where the bootloader-provided framebuffer is 10-bit, which already

Re: [PATCH 1/3] drm/simpledrm: Bind to OF framebuffers in /chosen

2021-11-19 Thread Hector Martin
On 18/11/2021 18.19, Thomas Zimmermann wrote: Hi Am 17.11.21 um 15:58 schrieb Hector Martin: @@ -897,5 +898,21 @@ static struct platform_driver simpledrm_platform_driver = { module_platform_driver(simpledrm_platform_driver); +static int __init simpledrm_init(void) +{ + struct

Re: [PATCH] drm/format-helper: Fix dst computation in drm_fb_xrgb8888_to_rgb888_dstclip()

2021-11-17 Thread Hector Martin
On 17/11/2021 23.56, Thomas Zimmermann wrote: Hi Am 17.11.21 um 15:22 schrieb Hector Martin: The dst pointer was being advanced by the clip width, not the full line stride, resulting in corruption. The clip offset was also calculated incorrectly. Cc: sta...@vger.kernel.org Signed-off-by

[PATCH 3/3] drm/simpledrm: Enable XRGB2101010 format

2021-11-17 Thread Hector Martin
This is the format used by the bootloader framebuffer on Apple ARM64 platforms, and is already supported by simplefb. This avoids regressing on these platforms when simpledrm is enabled and replaces simplefb. Signed-off-by: Hector Martin --- drivers/gpu/drm/tiny/simpledrm.c | 2 +- 1 file

[PATCH 2/3] drm/format-helper: Add drm_fb_xrgb8888_to_xrgb2101010_dstclip()

2021-11-17 Thread Hector Martin
Add XRGB emulation support for devices that can only do XRGB2101010. This is chiefly useful for simpledrm on Apple devices where the bootloader-provided framebuffer is 10-bit, which already works fine with simplefb. This is required to make simpledrm support this too. Signed-off-by: Hector

[PATCH 1/3] drm/simpledrm: Bind to OF framebuffers in /chosen

2021-11-17 Thread Hector Martin
This matches the simplefb behavior; these nodes are not matched by the standard OF machinery. This fixes a regression when simpledrm replaces simeplefb. Signed-off-by: Hector Martin --- drivers/gpu/drm/tiny/simpledrm.c | 17 + 1 file changed, 17 insertions(+) diff --git a

[PATCH 0/3] drm/simpledrm: Apple M1 / DT platform support fixes

2021-11-17 Thread Hector Martin
when simpledrm is selected to replace simplefb, as these FBs always seem to be 10-bit (at least when a real screen is attached). Hector Martin (3): drm/simpledrm: Bind to OF framebuffers in /chosen drm/format-helper: Add drm_fb_xrgb_to_xrgb2101010_dstclip() drm/simpledrm: Enable

[PATCH] drm/format-helper: Fix dst computation in drm_fb_xrgb8888_to_rgb888_dstclip()

2021-11-17 Thread Hector Martin
The dst pointer was being advanced by the clip width, not the full line stride, resulting in corruption. The clip offset was also calculated incorrectly. Cc: sta...@vger.kernel.org Signed-off-by: Hector Martin --- drivers/gpu/drm/drm_format_helper.c | 4 ++-- 1 file changed, 2 insertions(+), 2

Re: [PATCH 2/2] maintainers: Update freedesktop.org IRC channels

2021-05-30 Thread Hector Martin
-controller/apple,aic.yaml This isn't a freedesktop.org project, so either needs to be dropped from the patch or the patch needs an ack from Hector Martin (+cc). Heh, I totally forgot we had the IRC info in MAINTAINERS too when I did the move. Thanks :) Acked-By: Hector Martin -- Hector Martin