Displaying 1 result from an estimated 1 matches for "f74557af9".
Did you mean:
f74557af
2019 Jun 18
0
[PATCH v3] drm: don't set the pci power state if the pci subsystem handles the ACPI bits
...nt len) { return -EINVAL; }
static inline void *nouveau_acpi_edid(struct drm_device *dev, struct drm_connector *connector) { return NULL; }
+static inline bool nouveau_runpm_calls_dsm(void) { return false; }
#endif
#endif
diff --git a/drm/nouveau/nouveau_drm.c b/drm/nouveau/nouveau_drm.c
index f74557af9..537af50e8 100644
--- a/drm/nouveau/nouveau_drm.c
+++ b/drm/nouveau/nouveau_drm.c
@@ -557,6 +557,7 @@ nouveau_drm_device_init(struct drm_device *dev)
nouveau_fbcon_init(dev);
nouveau_led_init(dev);
+ drm->runpm_dsm = nouveau_runpm_calls_dsm();
if (nouveau_pmops_runtime()) {
pm_runtime...