summaryrefslogtreecommitdiff
path: root/tools/intel_reg.c
diff options
context:
space:
mode:
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>2015-08-26 11:29:06 +0300
committerThomas Wood <thomas.wood@intel.com>2015-09-08 16:15:16 +0100
commit6eed1b5eb4ba09435c9b4cd63fb302121009c188 (patch)
treefbd35dee819eaa82fe907694ff3703bc2b23495a /tools/intel_reg.c
parent2269997cff0f7700566f80359971a723d0b0212b (diff)
kms_addfb_basic: Require fb modifiers for unused field tests
The drm core doesn't check unused fields of ADDFB2 for pre-FB_MODIFIERS userspace, so use igt_require_fb_modifiers(). Also, the size of the ioctl changed with the addition of the modifiers, so it is necessary to use the LOCAL_ version of it, otherwise some data may get truncated. v2: Improve commit message. (Thomas) Remove one spurious change to use LOCAL_DRM_IOCTL_ADDFB2. (Thomas) Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'tools/intel_reg.c')
0 files changed, 0 insertions, 0 deletions