Lines Matching refs:frontbuffer_bits
79 unsigned int frontbuffer_bits, in frontbuffer_flush() argument
84 frontbuffer_bits &= ~i915->fb_tracking.busy_bits; in frontbuffer_flush()
87 if (!frontbuffer_bits) in frontbuffer_flush()
91 intel_edp_drrs_flush(i915, frontbuffer_bits); in frontbuffer_flush()
92 intel_psr_flush(i915, frontbuffer_bits, origin); in frontbuffer_flush()
93 intel_fbc_flush(i915, frontbuffer_bits, origin); in frontbuffer_flush()
109 unsigned frontbuffer_bits) in intel_frontbuffer_flip_prepare() argument
112 i915->fb_tracking.flip_bits |= frontbuffer_bits; in intel_frontbuffer_flip_prepare()
114 i915->fb_tracking.busy_bits &= ~frontbuffer_bits; in intel_frontbuffer_flip_prepare()
129 unsigned frontbuffer_bits) in intel_frontbuffer_flip_complete() argument
133 frontbuffer_bits &= i915->fb_tracking.flip_bits; in intel_frontbuffer_flip_complete()
134 i915->fb_tracking.flip_bits &= ~frontbuffer_bits; in intel_frontbuffer_flip_complete()
137 if (frontbuffer_bits) in intel_frontbuffer_flip_complete()
138 frontbuffer_flush(i915, frontbuffer_bits, ORIGIN_FLIP); in intel_frontbuffer_flip_complete()
153 unsigned frontbuffer_bits) in intel_frontbuffer_flip() argument
157 i915->fb_tracking.busy_bits &= ~frontbuffer_bits; in intel_frontbuffer_flip()
160 frontbuffer_flush(i915, frontbuffer_bits, ORIGIN_FLIP); in intel_frontbuffer_flip()
165 unsigned int frontbuffer_bits) in __intel_fb_invalidate() argument
171 i915->fb_tracking.busy_bits |= frontbuffer_bits; in __intel_fb_invalidate()
172 i915->fb_tracking.flip_bits &= ~frontbuffer_bits; in __intel_fb_invalidate()
177 intel_psr_invalidate(i915, frontbuffer_bits, origin); in __intel_fb_invalidate()
178 intel_edp_drrs_invalidate(i915, frontbuffer_bits); in __intel_fb_invalidate()
179 intel_fbc_invalidate(i915, frontbuffer_bits, origin); in __intel_fb_invalidate()
184 unsigned int frontbuffer_bits) in __intel_fb_flush() argument
191 frontbuffer_bits &= i915->fb_tracking.busy_bits; in __intel_fb_flush()
192 i915->fb_tracking.busy_bits &= ~frontbuffer_bits; in __intel_fb_flush()
196 if (frontbuffer_bits) in __intel_fb_flush()
197 frontbuffer_flush(i915, frontbuffer_bits, origin); in __intel_fb_flush()
287 unsigned int frontbuffer_bits) in intel_frontbuffer_track() argument
300 WARN_ON(!(atomic_read(&old->bits) & frontbuffer_bits)); in intel_frontbuffer_track()
301 atomic_andnot(frontbuffer_bits, &old->bits); in intel_frontbuffer_track()
305 WARN_ON(atomic_read(&new->bits) & frontbuffer_bits); in intel_frontbuffer_track()
306 atomic_or(frontbuffer_bits, &new->bits); in intel_frontbuffer_track()