1. 15 Feb, 2019 1 commit
  2. 13 Feb, 2019 1 commit
    • Emil Velikov's avatar
      tests/core_unauth_vs_render: new test for the relaxed DRM_AUTH handling · 90f78ac7
      Emil Velikov authored
      As the inline comment says, this test checks that the kernel allows
      unauthenticated master with render capable, RENDER_ALLOW ioctls.
      The kernel commit has extra details why.
       - drop RUN_AS_ROOT guard
       - call check_auth() on the {,un}authenticated device
       - check the device is PRIME (import) capable
       - check the device has render node
       - tweak expectations based on above three
       - elaborate why we care only about -EACCES
       - fold into existing core_auth.c
       - move igt_assert within the subtest
       - make has_prime_import() an igt_require()
       - check for BADF before and after, as requested. Not strictly needed.
       - swap igt_info+drm_open_driver with comment + __drm_open_driver
      Former calls igt_skip() which is problematic with igt_fork().
      Signed-off-by: default avatarEmil Velikov <emil.velikov@collabora.com>
      Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> (irc)
  3. 29 Jan, 2019 1 commit
  4. 07 Aug, 2017 1 commit
    • Daniel Vetter's avatar
      tests/core_auth: set rlimit · f4f7b700
      Daniel Vetter authored
      Some distros have huge rlimits and then the test takes forever, or
      worse oom, or even worse, takse down the entire machine (which is
      shouldn't be able to, but oh well, oom handling in linux).
      Make sure we have a consistent rlimit by adjusting it manually.
      v2: Use the default of 1024 from everywhere except ubuntu.
      Cc: Tomi Sarvela <tomi.p.sarvela@intel.com>
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: Arkadiusz Hiler's avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
      Signed-off-by: Daniel Vetter's avatarDaniel Vetter <daniel.vetter@intel.com>
  5. 06 Jul, 2017 1 commit
  6. 01 Dec, 2015 1 commit
  7. 11 Sep, 2015 1 commit
  8. 21 Aug, 2015 1 commit
  9. 05 May, 2015 1 commit