Hi Dave,
> +int nouveau_dynamic_power_set_state(struct drm_device *dev, int state)
> +{
> + struct nouveau_drm *drm = nouveau_drm(dev);
> + pm_message_t pmm = { .event = PM_EVENT_SUSPEND };
> +
> + if (state == DRM_SWITCH_POWER_DYNAMIC_OFF) {
> + dev->switch_power_state = D
Hi Dave,
> +int nouveau_dynamic_power_set_state(struct drm_device *dev, int state)
> +{
> + struct nouveau_drm *drm = nouveau_drm(dev);
> + pm_message_t pmm = { .event = PM_EVENT_SUSPEND };
> +
> + if (state == DRM_SWITCH_POWER_DYNAMIC_OFF) {
> + dev->switch_power_state = D
From: Dave Airlie
This adds the interfaces for nouveau to dynamically power off
the GPU in an optimus system.
It's based on nouveau git so may not apply everywhere.
Signed-off-by: Dave Airlie
#include
#include
-
+#include
#include "drmP.h"
-
+#include "drm_crtc_helper.h"
#include "nouve
From: Dave Airlie
This adds the interfaces for nouveau to dynamically power off
the GPU in an optimus system.
It's based on nouveau git so may not apply everywhere.
Signed-off-by: Dave Airlie
#include
#include
-
+#include
#include "drmP.h"
-
+#include "drm_crtc_helper.h"
#include "nouve