mirror of
https://github.com/lemonade-sdk/mac_linuxgpu.git
synced 2026-11-22 23:57:31 -10:00
Vendor the upstream display headers verbatim (drm/display/ DP, MST, dual-mode, DSC, HDCP, HDMI, SCDC; drm_crtc_helper.h, drm_probe_helper.h, drm_modeset_helper.h, drm_modeset_helper_vtables.h, drm_bridge_helper.h, drm_audio_component.h, acpi/video.h, linux/average.h, linux/iopoll.h, media/cec-notifier.h and the uapi linux/cec.h). The trimmed DP/MST helper headers and the inline display stubs they carried give way to the upstream declarations, now that the upstream helpers are built. media/cec.h keeps only the upstream CONFIG_CEC_CORE=n API. Smaller upstream pieces the display code reaches: fsleep()/ssleep() and TICK_NSEC, noinline/noinline_for_stack, the in-place byteorder helpers (kernel.h includes asm/byteorder.h as upstream does), the DIV64_U64_ROUND_* family, the !CONFIG_ACPI companion helpers, guid_t through mod_devicetable.h, str_*() through kernel.h/seq_file.h, and the workqueue disable/current_work declarations. The drm_simple_encoder_init() stub is removed: drm_simple_kms_helper.c provides it, as drm_dp_helper.c and drm_panel_orientation_quirks.c now provide what linuxu/src/drm/dp_helper.c carried.