Lines Matching full:front
76 void intel_frontbuffer_put(struct intel_frontbuffer *front);
81 struct intel_frontbuffer *front; in __intel_frontbuffer_get() local
88 front = rcu_dereference(obj->frontbuffer); in __intel_frontbuffer_get()
89 if (!front) in __intel_frontbuffer_get()
92 if (unlikely(!kref_get_unless_zero(&front->ref))) in __intel_frontbuffer_get()
95 if (likely(front == rcu_access_pointer(obj->frontbuffer))) in __intel_frontbuffer_get()
98 intel_frontbuffer_put(front); in __intel_frontbuffer_get()
102 return front; in __intel_frontbuffer_get()
108 void __intel_fb_invalidate(struct intel_frontbuffer *front,
114 * @front: GEM object to invalidate
123 static inline bool intel_frontbuffer_invalidate(struct intel_frontbuffer *front, in intel_frontbuffer_invalidate() argument
128 if (!front) in intel_frontbuffer_invalidate()
131 frontbuffer_bits = atomic_read(&front->bits); in intel_frontbuffer_invalidate()
135 __intel_fb_invalidate(front, origin, frontbuffer_bits); in intel_frontbuffer_invalidate()
139 void __intel_fb_flush(struct intel_frontbuffer *front,
145 * @front: GEM object to flush
151 static inline void intel_frontbuffer_flush(struct intel_frontbuffer *front, in intel_frontbuffer_flush() argument
156 if (!front) in intel_frontbuffer_flush()
159 frontbuffer_bits = atomic_read(&front->bits); in intel_frontbuffer_flush()
163 __intel_fb_flush(front, origin, frontbuffer_bits); in intel_frontbuffer_flush()