drm_atomic_clean_old_fb(9) - Unset old_fb pointers and set plane->fb pointers.

SYNOPSIS

void drm_atomic_clean_old_fb(struct drm_device * dev, unsigned plane_mask, int ret);

ARGUMENTS

dev

drm device to check.

plane_mask

plane mask for planes that were updated.

ret

return value, can be -EDEADLK for a retry.

DESCRIPTION

Before doing an update plane->old_fb is set to plane->fb, but before dropping the locks old_fb needs to be set to NULL and plane->fb updated. This is a common operation for each atomic update, so this call is split off as a helper.

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