summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorDavid Airlie <airlied@asimov.stargames.com.au>2007-04-11 13:19:30 +1000
committerDave Airlie <airlied@airlied2.(none)>2007-04-11 13:26:21 +1000
commit44be9c9d5950d3b2ba4d5527189abec8dac0686f (patch)
tree1ec6a732243fa19bd6a468f75049a3c276c79c1d /shared-core
parent3e994a56be1bfc633e49434c9e4a3e3262070248 (diff)
add an fb count + id get to the get resources code path
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/drm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index f1afc049..a5330b28 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -909,7 +909,8 @@ struct drm_mode_modeinfo {
struct drm_mode_card_res {
- unsigned int fb_id;
+ int count_fbs;
+ unsigned int __user *fb_id;
int count_crtcs;
unsigned int __user *crtc_id;