diff options
author | Dave Airlie <airlied@redhat.com> | 2008-06-04 13:49:43 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-06-04 13:50:51 +1000 |
commit | 382aa3ceeb79165a9bdddc8f944de131c8cbf2dd (patch) | |
tree | 1c61f11da47cd9bfb7b9b34c0fa3cdcf888e3e7c /linux-core/drm_crtc.h | |
parent | 9f31bd09c1e748f72a30f6a0861cd72d93258992 (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.h | 3 |
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; |