On Thu Jul 28 10:30:53 2022 +0000, Zhiyi Zhang wrote:
If you pass an adapter pointer to validate_display_settings(), you can avoid copying these modes and have access to adapter->mode_count.
Yeah but adapter pointer is only valid while holding the critical section.