Home
last modified time | relevance | path

Searched refs:driver_path (Results 1 – 1 of 1) sorted by relevance

/hardware/intel/common/libva/va/
Dva.c215 char *driver_path = (char *) malloc( strlen(driver_dir) + in va_openDriver() local
218 if (!driver_path) { in va_openDriver()
225 strncpy( driver_path, driver_dir, strlen(driver_dir) + 1); in va_openDriver()
226 strncat( driver_path, "/", strlen("/") ); in va_openDriver()
227 strncat( driver_path, driver_name, strlen(driver_name) ); in va_openDriver()
228 strncat( driver_path, DRIVER_EXTENSION, strlen(DRIVER_EXTENSION) ); in va_openDriver()
230 va_infoMessage("Trying to open %s\n", driver_path); in va_openDriver()
232 handle = dlopen( driver_path, RTLD_NOW | RTLD_GLOBAL | RTLD_NODELETE ); in va_openDriver()
234 handle = dlopen( driver_path, RTLD_NOW| RTLD_GLOBAL); in va_openDriver()
238 if (0 == access( driver_path, F_OK)) in va_openDriver()
[all …]