[Intel-gfx] [PATCH i-g-t 1/6] lib: kms: add crtc_id to igt_pipe_t
Lionel Landwerlin
lionel.g.landwerlin at intel.com
Fri Mar 18 17:33:00 UTC 2016
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
---
lib/igt_kms.c | 1 +
lib/igt_kms.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index f9a7bb0..515ffd0 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -1213,6 +1213,7 @@ void igt_display_init(igt_display_t *display, int drm_fd)
int p = IGT_PLANE_2;
int j, type;
+ pipe->crtc_id = resources->crtcs[i];
pipe->display = display;
pipe->pipe = i;
diff --git a/lib/igt_kms.h b/lib/igt_kms.h
index 342db51..0a2d1b6 100644
--- a/lib/igt_kms.h
+++ b/lib/igt_kms.h
@@ -256,6 +256,7 @@ struct igt_pipe {
uint64_t background; /* Background color MSB BGR 16bpc LSB */
uint32_t background_changed : 1;
uint32_t background_property;
+ uint32_t crtc_id;
};
typedef struct {
--
2.8.0.rc3
More information about the Intel-gfx
mailing list