diff options
author | Robert Foss <robert.foss@collabora.com> | 2017-01-18 12:12:54 -0500 |
---|---|---|
committer | Robert Foss <robert.foss@collabora.com> | 2017-01-31 16:19:35 -0500 |
commit | 9de635976c426b4c835083792c7d4d6e32aec615 (patch) | |
tree | 7af5531ae2a5be855bfa264983457a221b4f91c0 /lib/igt_kms.h | |
parent | fdced48860ddf632536d212baad09814ce7ee08f (diff) |
lib/igt_kms: Avoid depencency on static plane count
Rework kmstest_crtc and kmstest_plane structs and their usage
to not depend on a static plane count.
Signed-off-by: Robert Foss <robert.foss@collabora.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
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 a6a0d0c4..635702b6 100644 --- a/lib/igt_kms.h +++ b/lib/igt_kms.h @@ -135,8 +135,8 @@ struct kmstest_connector_config { struct kmstest_plane { int id; - int plane; int index; + int type; int pos_x; int pos_y; int width; @@ -150,7 +150,7 @@ struct kmstest_crtc { int width; int height; int nplanes; - struct kmstest_plane plane[IGT_MAX_PLANES]; + struct kmstest_plane *plane; }; /** |