#
#asahi-dev · 2023-01-02 23:46
jannaumarcan: https://github.com/jannau/linux/tree/asahi-6.1-3_dcp-components has the components based probing and other changes, depends on https://github.com/AsahiLinux/m1n1/pull/272
#asahi-dev · 2023-01-02 23:32
jannaujust means we want to continue to lie about supporting it
#asahi-dev · 2023-01-02 23:16
kettenisthat's kinda bad isn't it?
#asahi-dev · 2023-01-02 23:09
jannaukwin/wayland uses a2rgb8 and falls back to argb8 if it is not supported
#asahi-dev · 2023-01-02 20:15
jannauah, no it should work with the pmgr reset
#asahi-dev · 2023-01-02 18:52
jannausigh, I can't unload the dcp module if we can not restart dcp
#asahi-dev · 2023-01-02 15:16
marcanoh god and my reply flew right over the T2 guy's head... *sigh*
#asahi-dev · 2023-01-02 14:22
jannauyes, a2rgb10 is mostly useless. it would support hole punching for video underlays. that breaks with blending with the video, 2 bits of alpha are not enough to look good
#asahi-dev · 2023-01-02 14:17
jannauyuv overlay on surf 1 over surf 0 was only working with the premultied bit set
#asahi-dev · 2023-01-02 14:04
marcanbecause y'all from the actual company don't bother answering questions about how to do actually do this *correctly*, that's why
#asahi-dev · 2023-01-02 14:04
marcanlol @ the broadcom guy ignoring my original email then replying to the silly-but-safer proposal from the T2 guy asking WTF
#asahi-dev · 2023-01-02 13:57
marcanit's kind of useless
#asahi-dev · 2023-01-02 13:57
marcanthough I don't know why anyone would want to use that format anyway
#asahi-dev · 2023-01-02 13:57
marcancorrect, we shouldn't
#asahi-dev · 2023-01-02 13:34
jannaucurrently ok but a2rgb10 overlays will not work
#asahi-dev · 2023-01-02 13:33
jannauoh, I missed that w30r is without alpha, we probably shouldn't claim to support a2rgb10 then
#asahi-dev · 2023-01-02 13:00
marcanso yes, this means we can support xrgb8888 in the bottommost plane only
#asahi-dev · 2023-01-02 12:59
marcanit's only xrgb8888 that is missing
#asahi-dev · 2023-01-02 12:59
marcanand most yuv formats are already alphaless
#asahi-dev · 2023-01-02 12:58
marcanit's x2
#asahi-dev · 2023-01-02 12:58
marcanthere is no support for a2rgb10
#asahi-dev · 2023-01-02 12:58
marcanjannau: 10-bit is already xrgb
#asahi-dev · 2023-01-02 11:30
jannauI would expect the actual changes to be rather small on linux sise as well but cleanup and code for backwards compatibility is more complicated
#asahi-dev · 2023-01-02 11:25
kettenissame fundamental idea; a property on the connector
#asahi-dev · 2023-01-02 11:25
kettenissame fundamental idea; a
#asahi-dev · 2023-01-02 11:25
kettenisyes, as (fairly minimal) patches to the drm code
#asahi-dev · 2023-01-02 11:24
jannauas patches in the drm code? the plan on linux side is https://lore.kernel.org/dri-devel/0d188965-d809-81b5-74ce-7d30c49fee2d@redhat.com/ and it is still in the clean-up phase
#asahi-dev · 2023-01-02 11:16
kettenisah, interesting, I have drm integrated backlight handling on OpenBSD ;)
#asahi-dev · 2023-01-02 11:14
jannaudrm integrated backlight handling is the only upcoming DRM change I want to integrate asap but as far as I'm aware that still needs to be written
#asahi-dev · 2023-01-02 11:11
jannauwe're still based on 6.1 and I wouldn't expect that we lose backwards compatibility with 6.1 drm anytime soon
#asahi-dev · 2023-01-02 10:57
kettenis(we just integrated drm from linux 6.1 into OpenBSD)
#asahi-dev · 2023-01-02 10:55
kettenisis your current driver based on 6.1? or did you already move ahead?
#asahi-dev · 2023-01-02 10:55
kettenisjannau: not looked at it in detail yet
#asahi-dev · 2023-01-02 10:49
jannaukettenis: please ping me when you start porting the dcp driver. we should avoid squashing changes after that, do you have other suggestions to make porting easier?
#asahi-dev · 2023-01-02 10:42
jannaumarcan: unrelated, do you plan to submit t8110 dart for 6.3? if not I'll prepare a base t8112 device tree / bindings series
#asahi-dev · 2023-01-02 10:40
jannaubut as long as we use just a single plane blending as premutiplied alpha with the black background will work
#asahi-dev · 2023-01-02 10:39
jannauI don't see anything for 8-bit XRGB though
#asahi-dev · 2023-01-02 10:38
jannaufor 10-bit xrgb and many yuv formats we can workaround the missing support by using the corresponding pixelformat with a separate alpha plane and use driver managed buffer of 0xFFs
#asahi-dev · 2023-01-02 10:35
jannaumarcan: makes sense in general
#asahi-dev · 2023-01-02 05:06
marcanI think the bits in swap_completed may actually enable swap presentation timestamping or something like that?
#asahi-dev · 2023-01-02 05:04
marcanjannau: the 0xff000000 bg_color is just setting it, and bit 31 of the swap_enabled stuff isn't clear, it's background set enable
#asahi-dev · 2023-01-02 04:57
marcanor something like that
#asahi-dev · 2023-01-02 04:57
marcanand then 2 is probably meant as a YUV plane (I think it should be an underlay, not an overlay, to allow UI element compositing on top) and 1 as an overlay that can do more advanced blending
#asahi-dev · 2023-01-02 04:56
marcanI bet they added 3 for HDR or something like that
#asahi-dev · 2023-01-02 04:55
marcanthat's why we have 4 when hardware only supports 2 or 3
#asahi-dev · 2023-01-02 04:55
marcanthe surfaces probably have specific meanings, they aren't just arbitrary layers
#asahi-dev · 2023-01-02 04:55
marcanjannau: I think the blend order is BG, 2, 0, 1, 3? And some hardware can support only 2 layers enabled at once, some 3
#asahi-dev · 2023-01-01 23:40
marcanso then you're expected to use surfaces 1/2 for compositing
#asahi-dev · 2023-01-01 23:40
marcanjannau: I'm getting the feeling surface 0 is a special "passthrough/optimized" surface and that's why it doesn't do full colorspace conversion on t6k
#asahi-dev · 2023-01-01 17:45
kettenissven: great, thanks

plus ›