carta
drm_mode_equal(9)

drm_mode_equal9

Test modes for equality

Usage

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

Arguments

mode1

first mode

mode2

second mode

Overview

Check to see if mode1 and mode2 are equivalent.

Returns

True if the modes are equal, false otherwise.

Authors

Jesse Barnes <[email protected]>
Intel Corporation,

Initial version

Laurent Pinchart <[email protected]>
Ideas on board SPRL,

Driver internals

Daniel Vetter <[email protected]>
Intel Corporation,

Contributions all over the place

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.