summaryrefslogtreecommitdiffstats
path: root/gralloc_drm_priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'gralloc_drm_priv.h')
-rw-r--r--gralloc_drm_priv.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/gralloc_drm_priv.h b/gralloc_drm_priv.h
index 9203fba..e77b31c 100644
--- a/gralloc_drm_priv.h
+++ b/gralloc_drm_priv.h
@@ -98,12 +98,14 @@ struct gralloc_drm_t {
/* initialized by gralloc_drm_init_kms */
drmModeResPtr resources;
- struct gralloc_drm_output primary;
- struct gralloc_drm_output hdmi;
- /* hdmi hotplug */
- pthread_mutex_t hdmi_mutex;
- pthread_t hdmi_hotplug_thread;
+ struct gralloc_drm_output *outputs;
+ int output_count, output_capacity;
+
+ struct gralloc_drm_output *primary, *hdmi;
+
+ pthread_mutex_t outputs_mutex;
+ pthread_t hotplug_thread;
#ifdef DRM_MODE_FEATURE_DIRTYFB
drmModeClip clip;