Home | History | Annotate | Download | only in graphics_GpuReset
      1 # Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
      2 # Use of this source code is governed by a BSD-style license that can be
      3 # found in the LICENSE file.
      4 
      5 NAME = 'graphics_GpuReset'
      6 AUTHOR = 'chromeos-gfx'
      7 PURPOSE = 'Reset the GPU and check recovery mechanism.'
      8 CRITERIA = """
      9 Detection of udev event notification of a GPU hang.
     10 """
     11 ATTRIBUTES = "suite:bvt-perbuild, suite:graphics, suite:graphics_per-day, suite:graphics_system"
     12 TIME='MEDIUM'
     13 TEST_CATEGORY = 'Functional'
     14 TEST_CLASS = "gl"
     15 TEST_TYPE = 'client'
     16 # Reboot in the lab after the test ends.
     17 DEPENDENCIES='cleanup-reboot'
     18 BUG_TEMPLATE = {
     19     'components': ['OS>Kernel>Graphics'],
     20 }
     21 
     22 DOC = """
     23 The purpose of this test is to exercise the GPU failure path. We craft an
     24 erroneous GPU command packet and send it to the GPU, and wait for a udev
     25 event notifying us of a GPU hang. If the event doesn't come back, the test
     26 fails.
     27 
     28 This test must run with ui stopped.
     29 """
     30 
     31 job.run_test('graphics_GpuReset')
     32