i915_gem_track_fb(9) 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

current GEM buffer for the frontbuffer slots

new

new GEM buffer for the frontbuffer slots

frontbuffer_bits

bitmask of frontbuffer slots

DESCRIPTION

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.

AUTHORS

Jesse Barnes <[email protected]>
Intel Corporation,         
        

Initial version

Laurent Pinchart <[email protected]>
Ideas on board SPRL,         
        

Driver internals

Daniel Vetter <[email protected]>
Intel Corporation,         
        

Contributions all over the place

Lukas Wunner <[email protected]>

vga_switcheroo documentation

COPYRIGHT