mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-11 01:46:14 +00:00
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:
parent
8520037e54
commit
59b5487625
@ -1214,6 +1214,7 @@ void igt_display_init(igt_display_t *display, int drm_fd)
|
|||||||
int p = IGT_PLANE_2;
|
int p = IGT_PLANE_2;
|
||||||
int j, type;
|
int j, type;
|
||||||
|
|
||||||
|
pipe->crtc_id = resources->crtcs[i];
|
||||||
pipe->display = display;
|
pipe->display = display;
|
||||||
pipe->pipe = i;
|
pipe->pipe = i;
|
||||||
|
|
||||||
|
@ -256,6 +256,7 @@ struct igt_pipe {
|
|||||||
uint64_t background; /* Background color MSB BGR 16bpc LSB */
|
uint64_t background; /* Background color MSB BGR 16bpc LSB */
|
||||||
uint32_t background_changed : 1;
|
uint32_t background_changed : 1;
|
||||||
uint32_t background_property;
|
uint32_t background_property;
|
||||||
|
uint32_t crtc_id;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user