diff options
author | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2016-10-26 11:56:47 +0000 |
---|---|---|
committer | Robert Foss <robert.foss@collabora.com> | 2017-02-02 13:51:44 -0500 |
commit | edf4f1f2dd08e9b3229abf8931e426e7ffe54633 (patch) | |
tree | a333087169faf357b66f1ae193fa26bf2dbecd5e /lib/igt_kms.c | |
parent | 23d4f2d4a62585cb4e1d951bf7e4d375ee8642cf (diff) |
lib/igt_kms: move igt_kms_get_alt_edid() to the right place
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Robert Foss <robert.foss@collabora.com>
Reviewed-by: Brian Starkey <brian.starkey@arm.com>
Diffstat (limited to 'lib/igt_kms.c')
-rw-r--r-- | lib/igt_kms.c | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/lib/igt_kms.c b/lib/igt_kms.c index 4ba6316d..41acce45 100644 --- a/lib/igt_kms.c +++ b/lib/igt_kms.c @@ -157,23 +157,6 @@ const unsigned char* igt_kms_get_base_edid(void) #define EDID_NAME alt_edid #include "igt_edid_template.h" -/** - * igt_kms_get_alt_edid: - * - * Get an alternate edid block, which includes the following modes: - * - * - 1400x1050 60Hz - * - 1920x1080 60Hz - * - 1280x720 60Hz - * - 1024x768 60Hz - * - 800x600 60Hz - * - 640x480 60Hz - * - * This can be extended with further features using functions such as - * #kmstest_edid_add_3d. - * - * Returns: an alternate edid block - */ static const char *igt_plane_prop_names[IGT_NUM_PLANE_PROPS] = { "SRC_X", "SRC_Y", @@ -301,6 +284,23 @@ igt_atomic_fill_pipe_props(igt_display_t *display, igt_pipe_t *pipe, drmModeFreeObjectProperties(props); } +/** + * igt_kms_get_alt_edid: + * + * Get an alternate edid block, which includes the following modes: + * + * - 1400x1050 60Hz + * - 1920x1080 60Hz + * - 1280x720 60Hz + * - 1024x768 60Hz + * - 800x600 60Hz + * - 640x480 60Hz + * + * This can be extended with further features using functions such as + * #kmstest_edid_add_3d. + * + * Returns: an alternate edid block + */ const unsigned char* igt_kms_get_alt_edid(void) { update_edid_csum(alt_edid); |