aboutsummaryrefslogtreecommitdiff
path: root/SOURCES/0001-drm-i915-quirks-disable-async-flipping-on-specific-d.patch
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2024-08-09 19:26:14 +0200
committerJan200101 <sentrycraft123@gmail.com>2024-08-09 19:26:14 +0200
commitee7306c6937f331f0fc0882a29a947c0a9560b3e (patch)
treeafc6552e91d247a927144361364f6012f9dea647 /SOURCES/0001-drm-i915-quirks-disable-async-flipping-on-specific-d.patch
parent2de9c6dfed5c691b201b8a4374beb94d82ef4e8a (diff)
downloadkernel-fsync-ee7306c6937f331f0fc0882a29a947c0a9560b3e.tar.gz
kernel-fsync-ee7306c6937f331f0fc0882a29a947c0a9560b3e.zip
kernel 6.10.3
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.patch16
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,