Commit 79ac7d54 authored by Chris Wilson's avatar Chris Wilson 😣

igt/gem_mocs_settings: Force use of master device

To use SECURE batches requires root + master, and we need SECURE batches
to write to the privileged mocs registers, do be sure to use

Bugzilla: Chris Wilson's avatarChris Wilson <>
Reviewed-by: Joonas Lahtinen's avatarJoonas Lahtinen <>
parent 4919d1fd
......@@ -421,7 +421,7 @@ igt_main
int fd = -1;
igt_fixture {
fd = drm_open_driver(DRIVER_INTEL);
fd = drm_open_driver_master(DRIVER_INTEL); /* for SECURE */
igt_require(get_mocs_settings(fd, &table, false));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment