diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2011-10-25 16:32:34 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2011-12-22 00:33:15 +0100 |
commit | fdc0b8a63c1124bb025a2846d41531a123845740 (patch) | |
tree | 3913d201022d789970b6d07355864fece7455ff3 /include/drm/sis_drm.h | |
parent | 4cf73129cbe001b41be2f8b56f763fbf3acaa4ce (diff) | |
download | linux-fdc0b8a63c1124bb025a2846d41531a123845740.tar.bz2 |
drm/sis: track obj->drm_fd relations in the driver
By attach a driver private struct to each open drm fd.
Because we steal the owner_list from drm_sman until things settle,
use list_move instead of list_add.
This requires to export a drm_sman function temporarily before
drm_sman will die for real completely.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/drm/sis_drm.h')
-rw-r--r-- | include/drm/sis_drm.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/drm/sis_drm.h b/include/drm/sis_drm.h index 30f7b3827466..035b804dda6d 100644 --- a/include/drm/sis_drm.h +++ b/include/drm/sis_drm.h @@ -64,4 +64,8 @@ typedef struct { unsigned int offset, size; } drm_sis_fb_t; +struct sis_file_private { + struct list_head obj_list; +}; + #endif /* __SIS_DRM_H__ */ |