1 // SPDX-License-Identifier: MIT 2 /* Copyright © 2025 Intel Corporation */ 3 4 /* 5 * Convenience wrapper functions to call the parent interface functions: 6 * 7 * - display->parent->SUBSTRUCT->FUNCTION() 8 * - display->parent->FUNCTION() 9 * 10 * All functions here should be named accordingly: 11 * 12 * - intel_parent_SUBSTRUCT_FUNCTION() 13 * - intel_parent_FUNCTION() 14 * 15 * These functions may use display driver specific types for parameters and 16 * return values, translating them to and from the generic types used in the 17 * function pointer interface. 18 */ 19 20 #include <drm/intel/display_parent_interface.h> 21 22 #include "intel_display_core.h" 23 #include "intel_parent.h" 24 25 bool intel_parent_irq_enabled(struct intel_display *display) 26 { 27 return display->parent->irq->enabled(display->drm); 28 } 29 30 void intel_parent_irq_synchronize(struct intel_display *display) 31 { 32 display->parent->irq->synchronize(display->drm); 33 } 34