diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-08-12 11:56:41 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-08-12 19:36:53 +0200 |
commit | 81dfcaba88f2a6f04830b7da2fd7d79cf6120a40 (patch) | |
tree | 22d2429b7b960ca4756578cc9268128b2fd033f4 /lib/igt_kms.h | |
parent | 3b39bfff60967c13dbadae8ff051819d78c6bd2f (diff) |
lib/igt_kms: Simplify return value of kmstest_get_connector_default_mode
A plain bool is good enough, no need for fancy negative error values.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/igt_kms.h')
-rw-r--r-- | lib/igt_kms.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/igt_kms.h b/lib/igt_kms.h index 0acfeba1..01bbf5f5 100644 --- a/lib/igt_kms.h +++ b/lib/igt_kms.h @@ -152,8 +152,8 @@ bool kmstest_force_connector(int fd, drmModeConnector *connector, void kmstest_force_edid(int drm_fd, drmModeConnector *connector, const unsigned char *edid, size_t length); -int kmstest_get_connector_default_mode(int drm_fd, drmModeConnector *connector, - drmModeModeInfo *mode); +bool kmstest_get_connector_default_mode(int drm_fd, drmModeConnector *connector, + drmModeModeInfo *mode); int kmstest_get_connector_config(int drm_fd, uint32_t connector_id, unsigned long crtc_idx_mask, struct kmstest_connector_config *config); |