diff options
author | Jesse Barnes <jesse.barnes@intel.com> | 2007-11-15 17:14:03 -0800 |
---|---|---|
committer | Jesse Barnes <jesse.barnes@intel.com> | 2007-11-15 17:14:03 -0800 |
commit | 7ec4ebe95e7eec6625d68ae6300255901b69d5c7 (patch) | |
tree | aa6151dcc66a895913a9cf99fdbb577a3653a34a /tests/getstats.c | |
parent | d1b0258b32ad2af99f3aff4f0aedea676d0ff421 (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 'tests/getstats.c')
0 files changed, 0 insertions, 0 deletions