diff options
Diffstat (limited to 'SOURCES/0001-drm-i915-quirks-disable-async-flipping-on-specific-d.patch')
-rw-r--r-- | SOURCES/0001-drm-i915-quirks-disable-async-flipping-on-specific-d.patch | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/SOURCES/0001-drm-i915-quirks-disable-async-flipping-on-specific-d.patch b/SOURCES/0001-drm-i915-quirks-disable-async-flipping-on-specific-d.patch index 757f777..c5c52b5 100644 --- a/SOURCES/0001-drm-i915-quirks-disable-async-flipping-on-specific-d.patch +++ b/SOURCES/0001-drm-i915-quirks-disable-async-flipping-on-specific-d.patch @@ -12,19 +12,19 @@ diff --git a/drivers/gpu/drm/i915/display/intel_quirks.c b/drivers/gpu/drm/i915/ index a280448df771..1596114dd9ae 100644 --- a/drivers/gpu/drm/i915/display/intel_quirks.c +++ b/drivers/gpu/drm/i915/display/intel_quirks.c -@@ -14,6 +14,12 @@ static void intel_set_quirk(struct drm_i915_private *i915, enum intel_quirk_id q - i915->display.quirks.mask |= BIT(quirk); +@@ -65,6 +65,12 @@ + drm_info(display->drm, "Applying no pps backlight power quirk\n"); } -+static void quirk_async_page_flips_force_disable(struct drm_i915_private *i915) ++static void quirk_async_page_flips_force_disable(struct intel_display *display) +{ -+ i915->drm.mode_config.async_page_flip = false; -+ drm_info(&i915->drm, "applying async flip disable quirk\n"); ++ display->drm->mode_config.async_page_flip = false; ++ drm_info(display->drm, "Applying async flip disable quirk\n"); +} + - /* - * Some machines (Lenovo U160) do not work with SSC on LVDS for some reason - */ + struct intel_quirk { + int device; + int subsystem_vendor; @@ -136,6 +142,20 @@ static const struct intel_dmi_quirk intel_dmi_quirks[] = { }, .hook = quirk_no_pps_backlight_power_hook, |