diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/kmstest.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/kmstest.cpp b/utils/kmstest.cpp index 06e00ba..698ad25 100644 --- a/utils/kmstest.cpp +++ b/utils/kmstest.cpp @@ -1101,6 +1101,9 @@ int main(int argc, char **argv) Card card(s_device_path); + if (!card.is_master()) + EXIT("Could not get DRM master permission. Card already in use?"); + if (!card.has_atomic() && s_flip_sync) EXIT("Synchronized flipping requires atomic modesetting"); |