intel_psr_flush — Flush PSR
void intel_psr_flush ( | struct drm_device * dev, |
| unsigned frontbuffer_bits, | |
enum fb_op_origin origin); |
devDRM device
frontbuffer_bitsfrontbuffer plane tracking bits
originwhich operation caused the flush
Since the hardware frontbuffer tracking has gaps we need to integrate with the software frontbuffer tracking. This function gets called every time frontbuffer rendering has completed and flushed out to memory. PSR can be enabled again if no other frontbuffer relevant to PSR is dirty.
Dirty frontbuffers relevant to PSR are tracked in busy_frontbuffer_bits.