Hi All,
It's useful in Android and other embedded devices to implement Always On Display (ex. showing clock faces with less than 15% OPR on screen).
OPR (On Pixel Ratio) is the percentage of luminance amount over the display area.
It's derived by gray levels of display image pattern and the backlight (or OLED) driving force (or current).
ex: OPR=100% means a full white pattern with maximum backlight (or OLED) brightness, while full black would be OPR=0%.
In userspace, when the client initializes, we can set capability via drmSetClientCap() to ask the display driver to expose the drm modes with DRM_MODE_FLAG_LOW_POWER flag.
Userspace can check DRM_MODE_FLAG_LOW_POWER flag to know which modes can be used to consume the least amount of power during Always On Display.
Ignoring modes with this flag set during normal operating mode.
Thanks,
Ken