diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2011-10-25 18:00:41 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2011-12-22 00:33:21 +0100 |
commit | 6de8a748881f1cd9d795454da2b6db616d5ca3d7 (patch) | |
tree | 55bedac6fab93c90461167039024eafdab72395f /drivers/gpu/drm/sis/sis_drv.h | |
parent | 77ee8f3825054f23b17e9c8f728f061defd86cdc (diff) | |
download | talos-obmc-linux-6de8a748881f1cd9d795454da2b6db616d5ca3d7.tar.gz talos-obmc-linux-6de8a748881f1cd9d795454da2b6db616d5ca3d7.zip |
drm/sis: track user->memblock mapping with idr
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/sis/sis_drv.h')
-rw-r--r-- | drivers/gpu/drm/sis/sis_drv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/sis/sis_drv.h b/drivers/gpu/drm/sis/sis_drv.h index 194303c177ad..fcdd06ad5dc3 100644 --- a/drivers/gpu/drm/sis/sis_drv.h +++ b/drivers/gpu/drm/sis/sis_drv.h @@ -60,6 +60,8 @@ typedef struct drm_sis_private { int agp_initialized; unsigned long vram_offset; unsigned long agp_offset; + /** Mapping of userspace keys to mm objects */ + struct idr object_idr; } drm_sis_private_t; extern int sis_idle(struct drm_device *dev); |