mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-22 13:52:54 +00:00
tests: Convert the ctx test to use render nodes when possible
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
@@ -47,7 +47,7 @@ int main(int argc, char *argv[])
|
||||
create.ctx_id = rand();
|
||||
create.pad = rand();
|
||||
|
||||
fd = drm_open_any();
|
||||
fd = drm_open_any_render();
|
||||
|
||||
ret = drmIoctl(fd, CONTEXT_CREATE_IOCTL, &create);
|
||||
if (ret != 0 && (errno == ENODEV || errno == EINVAL)) {
|
||||
|
||||
Reference in New Issue
Block a user