1. NAME

drm_framebuffer_remove - remove and unreference a framebuffer object

2. SYNOPSIS

void drm_framebuffer_remove(struct drm_framebuffer *  fb );

3. ARGUMENTS

fb
    framebuffer to remove

4. DESCRIPTION

Scans all the CRTCs and planes in devAqs mode_config. If theyAqre using fb, removes it, setting it to NULL. Then drops the reference to the passed-in framebuffer. Might take the modeset locks.

Note that this function optimizes the cleanup away if the caller holds the last reference to the framebuffer. It is also guaranteed to not take the modeset locks in this case.

5. AUTHORS

Jesse Barnes < >
Intel Corporation,
    Initial version

Laurent Pinchart < >
Ideas on board SPRL,
    Driver internals

6. COPYRIGHT