Name

drm_mode_copy — copy the mode

Synopsis

void drm_mode_copy (struct drm_display_mode * dst,
 const struct drm_display_mode * src);
 

Arguments

dst

mode to overwrite

src

mode to copy

Description

Copy an existing mode into another mode, preserving the object id and list head of the destination mode.