aboutsummaryrefslogtreecommitdiff
path: root/SOURCES/0002-drm-i915-add-kernel-parameter-to-disable-async-page-.patch
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2023-05-19 17:48:22 +0200
committerJan200101 <sentrycraft123@gmail.com>2023-05-19 17:48:22 +0200
commit84b128190f4e03de9c258fbf515757964401d253 (patch)
tree14b7fa10e8ae70738b757833db9eaa279599bcdb /SOURCES/0002-drm-i915-add-kernel-parameter-to-disable-async-page-.patch
parent9ed420883ade242a0ab4aead5ff7fb6cb7184a6d (diff)
downloadkernel-fsync-84b128190f4e03de9c258fbf515757964401d253.tar.gz
kernel-fsync-84b128190f4e03de9c258fbf515757964401d253.zip
kernel 6.3.3
Diffstat (limited to 'SOURCES/0002-drm-i915-add-kernel-parameter-to-disable-async-page-.patch')
-rw-r--r--SOURCES/0002-drm-i915-add-kernel-parameter-to-disable-async-page-.patch18
1 files changed, 9 insertions, 9 deletions
diff --git a/SOURCES/0002-drm-i915-add-kernel-parameter-to-disable-async-page-.patch b/SOURCES/0002-drm-i915-add-kernel-parameter-to-disable-async-page-.patch
index 09c5674..a88c14b 100644
--- a/SOURCES/0002-drm-i915-add-kernel-parameter-to-disable-async-page-.patch
+++ b/SOURCES/0002-drm-i915-add-kernel-parameter-to-disable-async-page-.patch
@@ -11,10 +11,10 @@ Signed-off-by: Jan200101 <sentrycraft123@gmail.com>
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
-index de77054195c6..43dbab8c46d0 100644
+index 2bef50ab0ad1..c6197c32a5ae 100644
--- a/drivers/gpu/drm/i915/display/intel_display.c
+++ b/drivers/gpu/drm/i915/display/intel_display.c
-@@ -8600,7 +8600,7 @@ static void intel_mode_config_init(struct drm_i915_private *i915)
+@@ -8599,7 +8599,7 @@ static void intel_mode_config_init(struct drm_i915_private *i915)
mode_config->funcs = &intel_mode_funcs;
mode_config->helper_private = &intel_mode_config_funcs;
@@ -24,10 +24,10 @@ index de77054195c6..43dbab8c46d0 100644
/*
* Maximum framebuffer dimensions, chosen to match
diff --git a/drivers/gpu/drm/i915/i915_params.c b/drivers/gpu/drm/i915/i915_params.c
-index d1e4d528cb17..b1281fcdc47b 100644
+index ade744cccfea..119be26b5641 100644
--- a/drivers/gpu/drm/i915/i915_params.c
+++ b/drivers/gpu/drm/i915/i915_params.c
-@@ -219,6 +219,10 @@ i915_param_named_unsafe(lmem_size, uint, 0400,
+@@ -222,6 +222,10 @@ i915_param_named_unsafe(lmem_size, uint, 0400,
i915_param_named_unsafe(lmem_bar_size, uint, 0400,
"Set the lmem bar size(in MiB).");
@@ -35,14 +35,14 @@ index d1e4d528cb17..b1281fcdc47b 100644
+ "Disable async page flipping"
+ "(0=disabled [default], 1=enabled)");
+
- static __always_inline void _print_param(struct drm_printer *p,
- const char *name,
- const char *type,
+ static void _param_print_bool(struct drm_printer *p, const char *name,
+ bool val)
+ {
diff --git a/drivers/gpu/drm/i915/i915_params.h b/drivers/gpu/drm/i915/i915_params.h
-index 2733cb6cfe09..d7b891bbd12b 100644
+index 3f51f90145b6..37f25ec1b874 100644
--- a/drivers/gpu/drm/i915/i915_params.h
+++ b/drivers/gpu/drm/i915/i915_params.h
-@@ -84,7 +84,8 @@ struct drm_printer;
+@@ -85,7 +85,8 @@ struct drm_printer;
param(bool, verbose_state_checks, true, 0) \
param(bool, nuclear_pageflip, false, 0400) \
param(bool, enable_dp_mst, true, 0600) \