Name

drm_mode_destroy — remove a mode

Synopsis

void drm_mode_destroy (struct drm_device * dev,
 struct drm_display_mode * mode);
 

Arguments

dev

DRM device

mode

mode to remove

Description

Release mode's unique ID, then free it mode structure itself using kfree.