Name

drm_mode_equal — test modes for equality

Synopsis

bool drm_mode_equal (const struct drm_display_mode * mode1,
 const struct drm_display_mode * mode2);
 

Arguments

mode1

first mode

mode2

second mode

Description

Check to see if mode1 and mode2 are equivalent.

Returns

True if the modes are equal, false otherwise.