intel_psr_flush — Flush PSR
|struct drm_device * dev,|
|enum fb_op_origin origin|
frontbuffer plane tracking bits
which 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.