mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 09:26:10 +00:00
tests/kms_flip: exit handler needs a fixture
Since it can fail. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70332 Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
ce5becbb61
commit
9f3794f5fd
@ -1388,8 +1388,10 @@ static void get_timestamp_format(void)
|
||||
|
||||
static void kms_flip_exit_handler(int sig)
|
||||
{
|
||||
if (last_connector)
|
||||
set_connector_dpms(last_connector, DRM_MODE_DPMS_ON);
|
||||
igt_fixture {
|
||||
if (last_connector)
|
||||
set_connector_dpms(last_connector, DRM_MODE_DPMS_ON);
|
||||
}
|
||||
}
|
||||
|
||||
int main(int argc, char **argv)
|
||||
|
Loading…
x
Reference in New Issue
Block a user