Name

i915_gem_track_fb — update frontbuffer tracking

Synopsis

void i915_gem_track_fb (struct drm_i915_gem_object * old,
 struct drm_i915_gem_object * new,
 unsigned frontbuffer_bits);
 

Arguments

old

-- undescribed --

new

-- undescribed --

frontbuffer_bits

-- undescribed --

old

current GEM buffer for the frontbuffer slots

new

new GEM buffer for the frontbuffer slots

frontbuffer_bits

bitmask of frontbuffer slots

This updates the frontbuffer tracking bits frontbuffer_bits by clearing them from old and setting them in new. Both old and new can be NULL.