Lines Matching defs:drm
106 ret = pci_try_reset_function(to_pci_dev(vdev->drm.dev));
107 if (ret == -EAGAIN && !drm_dev_is_unplugged(&vdev->drm)) {
115 kobject_uevent_env(&vdev->drm.dev->kobj, KOBJ_CHANGE, evt);
141 struct drm_device *drm = dev_get_drvdata(dev);
142 struct ivpu_device *vdev = to_ivpu_device(drm);
169 struct drm_device *drm = dev_get_drvdata(dev);
170 struct ivpu_device *vdev = to_ivpu_device(drm);
189 struct drm_device *drm = dev_get_drvdata(dev);
190 struct ivpu_device *vdev = to_ivpu_device(drm);
223 struct drm_device *drm = dev_get_drvdata(dev);
224 struct ivpu_device *vdev = to_ivpu_device(drm);
242 ret = pm_runtime_resume_and_get(vdev->drm.dev);
243 if (!drm_WARN_ON(&vdev->drm, ret < 0))
251 pm_runtime_mark_last_busy(vdev->drm.dev);
252 pm_runtime_put_autosuspend(vdev->drm.dev);
259 pm_runtime_get_sync(vdev->drm.dev);
283 pm_runtime_put_autosuspend(vdev->drm.dev);
288 struct device *dev = vdev->drm.dev;
316 struct device *dev = vdev->drm.dev;
326 pm_runtime_get_noresume(vdev->drm.dev);
327 pm_runtime_forbid(vdev->drm.dev);