drm/i915: Enable PSR by default.
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Fri, 11 Jul 2014 17:30:19 +0000 (10:30 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 23 Jul 2014 05:05:21 +0000 (07:05 +0200)
Panel Self Refresh is an eDP power saving feature specified by VESA's eDP v1.3,
that allows some panel componets to shutdown while you still see static images on
the screen. Besides being supported on the platform it must be supported by the
eDP panel itself.

Now that we have the propper frontbuffer tracking support and correct locks on place
we can enabled this feature by default.

Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_params.c

index 81457293cd3efb06201aa7cccfea05526d8d51b4..bbdee21aec0e6ce0fa1a4887ae8f6e2d2582385c 100644 (file)
@@ -37,7 +37,7 @@ struct i915_params i915 __read_mostly = {
        .enable_fbc = -1,
        .enable_hangcheck = true,
        .enable_ppgtt = -1,
-       .enable_psr = 0,
+       .enable_psr = 1,
        .preliminary_hw_support = IS_ENABLED(CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT),
        .disable_power_well = 1,
        .enable_ips = 1,
@@ -118,7 +118,7 @@ MODULE_PARM_DESC(enable_ppgtt,
        "(-1=auto [default], 0=disabled, 1=aliasing, 2=full)");
 
 module_param_named(enable_psr, i915.enable_psr, int, 0600);
-MODULE_PARM_DESC(enable_psr, "Enable PSR (default: false)");
+MODULE_PARM_DESC(enable_psr, "Enable PSR (default: true)");
 
 module_param_named(preliminary_hw_support, i915.preliminary_hw_support, int, 0600);
 MODULE_PARM_DESC(preliminary_hw_support,