Displaying 2 results from an estimated 2 matches for "a6225ee".
2014 Mar 19
2
[PATCH] drm: compute runpm on load, don't register autosuspend for non-runpm
...h a setup and confirm that things
autosuspend as expected without any runpm parameters, that'd be great.
drm/nouveau_drm.c | 18 +++++-------------
drm/nouveau_vga.c | 4 +---
2 files changed, 6 insertions(+), 16 deletions(-)
diff --git a/drm/nouveau_drm.c b/drm/nouveau_drm.c
index 8f811a5..a6225ee 100644
--- a/drm/nouveau_drm.c
+++ b/drm/nouveau_drm.c
@@ -352,6 +352,10 @@ nouveau_drm_load(struct drm_device *dev, unsigned long flags)
struct nouveau_drm *drm;
int ret;
+ if (nouveau_runtime_pm == -1)
+ nouveau_runtime_pm =
+ nouveau_is_optimus() || nouveau_is_v1_dsm();
+
ret = nouvea...
2014 Mar 19
0
[PATCH] drm: compute runpm on load, don't register autosuspend for non-runpm
...autosuspend as expected without any runpm parameters, that'd be great.
>
> drm/nouveau_drm.c | 18 +++++-------------
> drm/nouveau_vga.c | 4 +---
> 2 files changed, 6 insertions(+), 16 deletions(-)
>
> diff --git a/drm/nouveau_drm.c b/drm/nouveau_drm.c
> index 8f811a5..a6225ee 100644
> --- a/drm/nouveau_drm.c
> +++ b/drm/nouveau_drm.c
> @@ -352,6 +352,10 @@ nouveau_drm_load(struct drm_device *dev, unsigned long flags)
> struct nouveau_drm *drm;
> int ret;
>
> + if (nouveau_runtime_pm == -1)
> + nouveau_runtime_p...