drm_atomic_set_fb_for_plane
Prev | Atomic Mode Setting Function Reference | Next

## Name

drm_atomic_set_fb_for_plane — set framebuffer for plane

## Synopsis

`void drm_atomic_set_fb_for_plane (` | struct drm_plane_state * plane_state,
| struct drm_framebuffer * fb`)`;

## Arguments

`plane_state`

  atomic state object for the plane

`fb`

  fb to use for the plane

## Description

Changing the assigned framebuffer for a plane requires us to grab a reference to the new fb and drop the reference to the old fb, if there is one. This function takes care of all these details besides updating the pointer in the state object itself.

Prev | Up | Next
drm_atomic_set_crtc_for_plane | Home | drm_atomic_set_crtc_for_connector