All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
To: intel-gfx@lists.freedesktop.org
Subject: [PATCH i-g-t 1/6] lib: kms: add crtc_id to igt_pipe_t
Date: Fri, 18 Mar 2016 17:33:00 +0000	[thread overview]
Message-ID: <1458322385-25591-2-git-send-email-lionel.g.landwerlin@intel.com> (raw)
In-Reply-To: <1458322385-25591-1-git-send-email-lionel.g.landwerlin@intel.com>

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2016-03-18 17:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-18 17:32 [PATCH i-g-t 0/6] New pipe level color management tests Lionel Landwerlin
2016-03-18 17:33 ` Lionel Landwerlin [this message]
2016-03-18 17:33 ` [PATCH i-g-t 2/6] lib: kms: add helpers for color management properties on pipes Lionel Landwerlin
2016-03-18 17:33 ` [PATCH i-g-t 3/6] lib: fb: add igt_paint_color_gradient_range Lionel Landwerlin
2016-03-18 17:33 ` [PATCH i-g-t 4/6] lib: add crc comparison function without an assert Lionel Landwerlin
2016-03-18 17:33 ` [PATCH i-g-t 5/6] tests/kms_color: New test for pipe level color management Lionel Landwerlin
2016-03-18 17:33 ` [PATCH i-g-t 6/6] test/kms_pipe_color: add test to verify legacy ioctl resets GAMMA_LUT Lionel Landwerlin
  -- strict thread matches above, loose matches on Subject: below --
2016-03-11 12:32 [PATCH i-g-t 0/6] New pipe level color management tests Lionel Landwerlin
2016-03-11 12:32 ` [PATCH i-g-t 1/6] lib: kms: add crtc_id to igt_pipe_t Lionel Landwerlin
2016-03-10 12:46 [PATCH i-g-t 0/6] New pipe level color management tests Lionel Landwerlin
2016-03-10 12:47 ` [PATCH i-g-t 1/6] lib: kms: add crtc_id to igt_pipe_t Lionel Landwerlin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1458322385-25591-2-git-send-email-lionel.g.landwerlin@intel.com \
    --to=lionel.g.landwerlin@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.