summaryrefslogtreecommitdiff
path: root/tests/kms_invalid_dotclock.c
diff options
context:
space:
mode:
authorAnkitprasad Sharma <ankitprasad.r.sharma@intel.com>2016-06-06 14:52:42 +0530
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>2016-06-07 15:03:37 +0100
commitbeef31a02679a914e2c101e60308511d396201fc (patch)
tree53ea7a853465404bf92545a349027f938d72797a /tests/kms_invalid_dotclock.c
parent293aa16a12f9e553c0dd767addd27d34c4739b39 (diff)
igt/gem_stolen: Check for available stolen memory size
Check for available stolen memory size before attempting to run the stolen memory tests. This way we make sure that we do not create objects from stolen memory without knowing the available size. This checks if the kernel supports creation of stolen backed objects before doing any operation on stolen backed objects. Also correcting the CREATE_VERSION ioctl number in getparam ioctl, due to kernel changes added in between. v2: Removed size argument for checking stolen memory availability (Tvrtko) Signed-off-by: Ankitprasad Sharma <ankitprasad.r.sharma@intel.com> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'tests/kms_invalid_dotclock.c')
0 files changed, 0 insertions, 0 deletions