aboutsummaryrefslogtreecommitdiff
path: root/linux-core/drm_crtc.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-06-04 13:49:43 +1000
committerDave Airlie <airlied@redhat.com>2008-06-04 13:50:51 +1000
commit382aa3ceeb79165a9bdddc8f944de131c8cbf2dd (patch)
tree1c61f11da47cd9bfb7b9b34c0fa3cdcf888e3e7c /linux-core/drm_crtc.h
parent9f31bd09c1e748f72a30f6a0861cd72d93258992 (diff)
drm: introduce generation counter to interface.
Idea being if you want to add new crtc/output/encoder dynamically later, you just increase the generation counter and userspace should re-read all the resources
Diffstat (limited to 'linux-core/drm_crtc.h')
-rw-r--r--linux-core/drm_crtc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-core/drm_crtc.h b/linux-core/drm_crtc.h
index c92c59bf..f3953692 100644
--- a/linux-core/drm_crtc.h
+++ b/linux-core/drm_crtc.h
@@ -554,6 +554,9 @@ struct drm_mode_config {
struct list_head property_list;
+ /* currently in use generation id */
+ int current_generation;
+
int min_width, min_height;
int max_width, max_height;
struct drm_mode_config_funcs *funcs;