summaryrefslogtreecommitdiff
path: root/linux-core/nouveau_swmthd.c
diff options
context:
space:
mode:
authorJesse Barnes <jesse.barnes@intel.com>2007-11-15 17:14:03 -0800
committerJesse Barnes <jesse.barnes@intel.com>2007-11-15 17:14:03 -0800
commit7ec4ebe95e7eec6625d68ae6300255901b69d5c7 (patch)
treeaa6151dcc66a895913a9cf99fdbb577a3653a34a /linux-core/nouveau_swmthd.c
parentd1b0258b32ad2af99f3aff4f0aedea676d0ff421 (diff)
Use user copy routines for writing modes & ids back to userspace
Since the drm_mode_card_res structure contains user pointers, we have to use put_user and copy_to_user to write stuff out. The DRM ioctl wrapper will only take care of copying the base drm_mode_card_res struct, not the included arrays.
Diffstat (limited to 'linux-core/nouveau_swmthd.c')
0 files changed, 0 insertions, 0 deletions