Name

intel_psr_flush — Flush PSR

Synopsis

void intel_psr_flush (struct drm_device * dev,
 unsigned frontbuffer_bits);
 

Arguments

dev

DRM device

frontbuffer_bits

frontbuffer plane tracking bits

Description

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.