Lines Matching defs:sv
283 struct drm_set_version *sv = data;
286 if (sv->drm_di_major != -1) {
287 if (sv->drm_di_major != DRM_IF_MAJOR ||
288 sv->drm_di_minor < 0 || sv->drm_di_minor > DRM_IF_MINOR) {
292 if_version = DRM_IF_VERSION(sv->drm_di_major,
293 sv->drm_di_minor);
295 if (sv->drm_di_minor >= 1) {
303 if (sv->drm_dd_major != -1) {
304 if (sv->drm_dd_major != dev->driver->major ||
305 sv->drm_dd_minor < 0 || sv->drm_dd_minor >
312 dev->driver->set_version(dev, sv); */
316 sv->drm_di_major = DRM_IF_MAJOR;
317 sv->drm_di_minor = DRM_IF_MINOR;
318 sv->drm_dd_major = dev->driver->major;
319 sv->drm_dd_minor = dev->driver->minor;