lib: kms: add crtc_id to igt_pipe_t

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
This commit is contained in:
Lionel Landwerlin 2016-03-18 17:33:00 +00:00 committed by Matt Roper
parent 8520037e54
commit 59b5487625
2 changed files with 2 additions and 0 deletions

View File

@ -1214,6 +1214,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;

View File

@ -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 {