Lines Matching refs:sv
313 drm_set_version_t sv;
317 DRM_COPYFROM_WITH_RETURN(&sv, (void *)data, sizeof (sv));
324 DRM_COPYTO_WITH_RETURN((void *)data, &retv, sizeof (sv));
326 if (sv.drm_di_major != -1) {
327 if (sv.drm_di_major != DRM_IF_MAJOR ||
328 sv.drm_di_minor < 0 || sv.drm_di_minor > DRM_IF_MINOR)
330 if_version = DRM_IF_VERSION(sv.drm_di_major, sv.drm_dd_minor);
332 if (sv.drm_di_minor >= 1) {
340 if (sv.drm_dd_major != -1) {
341 if (sv.drm_dd_major != dev->driver->driver_major ||
342 sv.drm_dd_minor < 0 ||
343 sv.drm_dd_minor > dev->driver->driver_minor)