Name

drm_atomic_helper_framebuffer_changed — check if framebuffer has changed

Synopsis

bool drm_atomic_helper_framebuffer_changed (struct drm_device * dev,
 struct drm_atomic_state * old_state,
 struct drm_crtc * crtc);
 

Arguments

dev

DRM device

old_state

atomic state object with old state structures

crtc

DRM crtc

Description

Checks whether the framebuffer used for this CRTC changes as a result of the atomic update. This is useful for drivers which cannot use drm_atomic_helper_wait_for_vblanks and need to reimplement its functionality.

Returns

true if the framebuffer changed.