]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
UBUNTU: SAUCE: drm/i915: Disable PSR by default on all platforms
authorSultan Alsawaf <sultan.alsawaf@canonical.com>
Tue, 11 Feb 2020 01:57:00 +0000 (02:57 +0100)
committerPaolo Pisati <paolo.pisati@canonical.com>
Mon, 17 Feb 2020 17:04:31 +0000 (18:04 +0100)
BugLink: https://bugs.launchpad.net/bugs/1849947
On all Dell laptops with screens and chipsets that support PSR, both
PSR1 and PSR2 cause flickering and graphical glitches. Many laptops
don't support PSR so it isn't known if PSR works correctly on any
consumer hardware. PSR was enabled by default in 5.0 for capable
hardware, so this patch just restores the previous functionality of PSR
being disabled by default.

More info is available on the freedesktop bug:
https://gitlab.freedesktop.org/drm/intel/issues/425

Signed-off-by: Sultan Alsawaf <sultan.alsawaf@canonical.com>
Acked-by: Andrea Righi <andrea.righi@canonical.com>
Acked-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/gpu/drm/i915/i915_params.c
drivers/gpu/drm/i915/i915_params.h

index 483f34ca00f510eff41a51a2553469bfdb5d6ffc..110437b9bf9b72f060b057edba24fb48b1ce0093 100644 (file)
@@ -84,8 +84,7 @@ i915_param_named_unsafe(enable_hangcheck, bool, 0600,
 
 i915_param_named_unsafe(enable_psr, int, 0600,
        "Enable PSR "
-       "(0=disabled, 1=enabled) "
-       "Default: -1 (use per-chip default)");
+       "(-1=use per-chip default, 0=disabled [default], 1=enabled) ");
 
 i915_param_named_unsafe(force_probe, charp, 0400,
        "Force probe the driver for specified devices. "
index 4de41c7eb7ef490a6fb843b7835aa8e53558816b..ab433b24f4bbf3b6cdfa6fce6837b95d916d8352 100644 (file)
@@ -50,7 +50,7 @@ struct drm_printer;
        param(int, vbt_sdvo_panel_type, -1) \
        param(int, enable_dc, -1) \
        param(int, enable_fbc, -1) \
-       param(int, enable_psr, -1) \
+       param(int, enable_psr, 0) \
        param(int, disable_power_well, -1) \
        param(int, enable_ips, 1) \
        param(int, invert_brightness, 0) \