Files
mesa/src/asahi/lib
Alyssa Rosenzweig 15e15422ba asahi: Fix warning building for macOS 12.0
Unnecessary rename that breaks forward compatibility... but Apple says
this is just NULL. Do the simpler thing. Note that the argument is a
mach_port_t, which is a natural_t == uint32_t in userspace... even
though it's a pointer in the kernel. Although Apple's docs claim that
kIOMasterPortDefault is NULL, it's really just 0.

../src/asahi/lib/agx_device.c:290:35: warning: 'kIOMasterPortDefault' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
      IOServiceGetMatchingService(kIOMasterPortDefault, matching);
                                  ^~~~~~~~~~~~~~~~~~~~
                                  kIOMainPortDefault

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18121>
2022-08-21 14:32:40 -04:00
..
2021-07-11 14:48:59 -04:00
2022-05-21 22:01:32 -04:00
2022-08-14 19:59:19 +00:00
2022-08-07 20:38:11 -04:00
2022-05-22 17:58:07 -04:00
2022-05-22 17:11:08 -04:00
2022-05-22 17:58:07 -04:00
2021-07-10 11:01:25 -04:00
2021-05-02 17:41:22 -04:00
2022-02-18 23:48:32 +00:00
2022-05-22 17:58:07 -04:00