hv/trace_dcp.py: Update to macOS 12.x API

DCP API seems to be mostly unchanged from 12 beta to 12.2.

Signed-off-by: Janne Grunau <j@jannau.net>
This commit is contained in:
Janne Grunau 2022-02-05 23:48:13 +01:00 committed by Hector Martin
parent fb49d88d90
commit a57696366f

View file

@ -314,41 +314,41 @@ KNOWN_MSGS = {
"A434": "IOMobileFramebufferAP::splc_get_brightness(unsigned int*)",
"A435": "IOMobileFramebufferAP::set_block_dcp(task*, unsigned int, unsigned int, unsigned long long const*, unsigned int, unsigned char const*, unsigned long)",
"A436": "IOMobileFramebufferAP::get_block_dcp(task*, unsigned int, unsigned int, unsigned long long const*, unsigned int, unsigned char*, unsigned long) const",
"A437": "IOMobileFramebufferAP::swap_set_color_matrix(IOMFBColorFixedMatrix*, IOMFBColorMatrixFunction, unsigned int)",
"A438": "IOMobileFramebufferAP::set_parameter_dcp(IOMFBParameterName, unsigned long long const*, unsigned int)",
"A439": "IOMobileFramebufferAP::display_width() const",
"A440": "IOMobileFramebufferAP::display_height() const",
"A441": "IOMobileFramebufferAP::get_display_size(unsigned int*, unsigned int*) const",
"A442": "IOMobileFramebufferAP::do_create_default_frame_buffer() const",
"A443": "IOMobileFramebufferAP::printRegs()",
"A444": "IOMobileFramebufferAP::enable_disable_dithering(unsigned int)",
"A445": "IOMobileFramebufferAP::set_underrun_color(unsigned int)",
"A446": "IOMobileFramebufferAP::enable_disable_video_power_savings(unsigned int)",
"A447": "IOMobileFramebufferAP::set_video_dac_gain(unsigned int)",
"A448": "IOMobileFramebufferAP::set_line21_data(unsigned int)",
"A449": "IOMobileFramebufferAP::enableInternalToExternalMirroring(bool)",
"A450": "IOMobileFramebufferAP::getExternalMirroringCapability(IOMFBMirroringCapability*)",
"A451": "IOMobileFramebufferAP::setRenderingAngle(float*)",
"A452": "IOMobileFramebufferAP::setOverscanSafeRegion(IOMFBOverscanSafeRect*)",
"A453": "IOMobileFramebufferAP::first_client_open()",
"A454": "IOMobileFramebufferAP::last_client_close_dcp(unsigned int*)",
"A455": "IOMobileFramebufferAP::writeDebugInfo(unsigned long)",
"A456": "IOMobileFramebufferAP::flush_debug_flags(unsigned int)",
"A457": "IOMobileFramebufferAP::io_fence_notify(unsigned int, unsigned int, unsigned long long, IOMFBStatus)",
"A458": "IOMobileFramebufferAP::swap_wait_dcp(bool, unsigned int, unsigned int, unsigned int)",
"A459": "IOMobileFramebufferAP::setDisplayRefreshProperties()",
"A460": "IOMobileFramebufferAP::exportProperty(unsigned int, unsigned int)",
"A461": "IOMobileFramebufferAP::applyProperty(unsigned int, unsigned int)",
"A462": "IOMobileFramebufferAP::flush_supportsPower(bool)",
"A463": "IOMobileFramebufferAP::abort_swaps_dcp(IOMobileFramebufferUserClient*)",
"A464": "IOMobileFramebufferAP::swap_signal_gated(unsigned int, unsigned int)",
"A465": "IOMobileFramebufferAP::update_dfb(IOSurface*, unsigned int, unsigned int, unsigned long long)",
"A466": "IOMobileFramebufferAP::update_dfb(IOSurface*)",
"A467": "IOMobileFramebufferAP::setPowerState(unsigned long, bool, unsigned int*)",
"A468": "IOMobileFramebufferAP::isKeepOnScreen() const",
"A469": "IOMobileFramebufferAP::resetStats()",
"A470": "IOMobileFramebufferAP::set_has_frame_swap_function(bool)",
"A471": "IOMobileFramebufferAP::getPerformanceStats(unsigned int*, unsigned int*)",
"A438": "IOMobileFramebufferAP::swap_set_color_matrix(IOMFBColorFixedMatrix*, IOMFBColorMatrixFunction, unsigned int)",
"A439": "IOMobileFramebufferAP::set_parameter_dcp(IOMFBParameterName, unsigned long long const*, unsigned int)",
"A440": "IOMobileFramebufferAP::display_width() const",
"A441": "IOMobileFramebufferAP::display_height() const",
"A442": "IOMobileFramebufferAP::get_display_size(unsigned int*, unsigned int*) const",
"A443": "IOMobileFramebufferAP::do_create_default_frame_buffer() const",
"A444": "IOMobileFramebufferAP::printRegs()",
"A445": "IOMobileFramebufferAP::enable_disable_dithering(unsigned int)",
"A446": "IOMobileFramebufferAP::set_underrun_color(unsigned int)",
"A447": "IOMobileFramebufferAP::enable_disable_video_power_savings(unsigned int)",
"A448": "IOMobileFramebufferAP::set_video_dac_gain(unsigned int)",
"A449": "IOMobileFramebufferAP::set_line21_data(unsigned int)",
"A450": "IOMobileFramebufferAP::enableInternalToExternalMirroring(bool)",
"A451": "IOMobileFramebufferAP::getExternalMirroringCapability(IOMFBMirroringCapability*)",
"A452": "IOMobileFramebufferAP::setRenderingAngle(float*)",
"A453": "IOMobileFramebufferAP::setOverscanSafeRegion(IOMFBOverscanSafeRect*)",
"A454": "IOMobileFramebufferAP::first_client_open()",
"A455": "IOMobileFramebufferAP::last_client_close_dcp(unsigned int*)",
"A456": "IOMobileFramebufferAP::writeDebugInfo(unsigned long)",
"A457": "IOMobileFramebufferAP::flush_debug_flags(unsigned int)",
"A458": "IOMobileFramebufferAP::io_fence_notify(unsigned int, unsigned int, unsigned long long, IOMFBStatus)",
"A459": "IOMobileFramebufferAP::swap_wait_dcp(bool, unsigned int, unsigned int, unsigned int)",
"A460": "IOMobileFramebufferAP::setDisplayRefreshProperties()",
"A461": "IOMobileFramebufferAP::exportProperty(unsigned int, unsigned int)",
"A462": "IOMobileFramebufferAP::applyProperty(unsigned int, unsigned int)",
"A463": "IOMobileFramebufferAP::flush_supportsPower(bool)",
"A464": "IOMobileFramebufferAP::abort_swaps_dcp(IOMobileFramebufferUserClient*)",
"A465": "IOMobileFramebufferAP::swap_signal_gated(unsigned int, unsigned int)",
"A466": "IOMobileFramebufferAP::update_dfb(IOSurface*, unsigned int, unsigned int, unsigned long long)",
"A467": "IOMobileFramebufferAP::update_dfb(IOSurface*)",
"A468": "IOMobileFramebufferAP::setPowerState(unsigned long, bool, unsigned int*)",
"A469": "IOMobileFramebufferAP::isKeepOnScreen() const",
"A470": "IOMobileFramebufferAP::resetStats()",
"A471": "IOMobileFramebufferAP::set_has_frame_swap_function(bool)",
"A472": "IOMobileFramebufferAP::getPerformanceStats(unsigned int*, unsigned int*)",
"D000": "bool IOMFB::UPPipeAP_H13P::did_boot_signal()",
"D001": "bool IOMFB::UPPipeAP_H13P::did_power_on_signal()",
@ -375,12 +375,13 @@ KNOWN_MSGS = {
"D115": "bool UnifiedPipeline2::upload_trace_end(char const*)",
"D116": "bool UnifiedPipeline2::start_hardware_boot()",
"D117": "bool UnifiedPipeline2::is_dark_boot()",
"D118": "bool UnifiedPipeline2::detect_fastsim()",
"D119": "bool UnifiedPipeline2::read_edt_data(char const*, unsigned int, unsigned int*) const",
"D120": "bool UnifiedPipeline2::read_edt_string(char const*, char*, unsigned int*) const",
"D121": "bool UnifiedPipeline2::setDCPAVPropStart(unsigned int)",
"D122": "bool UnifiedPipeline2::setDCPAVPropChunk(unsigned char const*, unsigned int, unsigned int)",
"D123": "bool UnifiedPipeline2::setDCPAVPropEnd(char const*)",
"D118": "bool UnifiedPipeline2::is_waking_from_hibernate()",
"D119": "bool UnifiedPipeline2::detect_fastsim()",
"D120": "bool UnifiedPipeline2::read_edt_data(char const*, unsigned int, unsigned int*) const",
"D121": "bool UnifiedPipeline2::read_edt_string(char const*, char*, unsigned int*) const",
"D122": "bool UnifiedPipeline2::setDCPAVPropStart(unsigned int)",
"D123": "bool UnifiedPipeline2::setDCPAVPropChunk(unsigned char const*, unsigned int, unsigned int)",
"D124": "bool UnifiedPipeline2::setDCPAVPropEnd(char const*)",
"D200": "uint64_t IOMFB::UPPipe2::get_default_idle_caching_method()",
"D201": "IOMFBStatus IOMFB::UPPipe2::map_buf(IOMFB::BufferDescriptor*, unsigned long*, unsigned long long*, bool)",