Introduction to the Wfdcfg library

The Wfdcfg library provides the modes and attributes of your display hardware to your display driver and Screen.

Wfdcfg Library

Your display driver (WFD driver) is the primary user of the Wfdcfg library, but the composition manager component in Screen also uses the modes and attributes from the Wfdcfg library.

The composition manager accesses the OpenWFD modes and attributes from the Wfdcfg library through the WFD driver. Based on this information, the composition manager tells the WFD driver which OpenWFD mode to use.

For the most part, it'll be your WFD driver that interfaces with the Wfdcfg library. Examples of what your driver can do through the Wfdcfg library are:
  • Apply timing parameters
  • Control pixel clock frequency
  • Provide output formats
  • Control backlighting in Wfdcfg library through callbacks
What your WFD driver can control or provide through the Wfdcfg library is dependent on your specific display hardware.
Figure 1. How Wfdcfg interacts with Screen

Some WFD drivers also probe the display hardware for extended display identification data (EDID). This information is consolidated and provided to the composition manager.