diff options
Diffstat (limited to 'tests/modeprint/modeprint.c')
-rw-r--r-- | tests/modeprint/modeprint.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/modeprint/modeprint.c b/tests/modeprint/modeprint.c index 6f0d0390..c1fc0798 100644 --- a/tests/modeprint/modeprint.c +++ b/tests/modeprint/modeprint.c @@ -412,6 +412,9 @@ int main(int argc, char **argv) return 1; } + if (strcmp(module_name,"sprd") == 0) + sprd_device_create(fd); + res = drmModeGetResources(fd); if (res == 0) { printf("Failed to get resources from card\n"); |