Provide a more complete implementation of the "component" APIs. Also tweak
authorkettenis <kettenis@openbsd.org>
Sat, 13 Jan 2024 10:00:27 +0000 (10:00 +0000)
committerkettenis <kettenis@openbsd.org>
Sat, 13 Jan 2024 10:00:27 +0000 (10:00 +0000)
commitcefff6e5c31bcb46855982e32978b5be6be9bcb2
tree7bc1917670e66bfc486e16dc878fc82ca50d8606
parent3d08ede43f0c0e37c9c828567a2fd63100681a55
Provide a more complete implementation of the "component" APIs.  Also tweak
the "platform" interfaces to stash away the bits of fdt_attach_args that
we need later on instead of referencing it directly.  This makes those
interfaces usable after attach time.

ok jsg@
sys/dev/pci/drm/drm_linux.c
sys/dev/pci/drm/include/linux/component.h
sys/dev/pci/drm/include/linux/platform_device.h