diff options
author | Adrian Calianu <adrian.calianu@enea.com> | 2017-05-22 08:43:50 +0200 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2017-05-23 14:58:35 +0200 |
commit | 16b0e3313f53566481c106ace9992e477f8efe9b (patch) | |
tree | 5ec03a62db7836d2fb59813cb0c912751556c378 /patches/boot_time_opt/0011-drm-i915-fbc-sanitize-fbc-GEN-greater-than-9.patch | |
parent | 28da254d1c5ae012a6e064671aa14850c2a21a25 (diff) | |
download | enea-kernel-cache-16b0e3313f53566481c106ace9992e477f8efe9b.tar.gz |
patches: Boot time optimizations with ClearLinux patches
Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'patches/boot_time_opt/0011-drm-i915-fbc-sanitize-fbc-GEN-greater-than-9.patch')
-rw-r--r-- | patches/boot_time_opt/0011-drm-i915-fbc-sanitize-fbc-GEN-greater-than-9.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/patches/boot_time_opt/0011-drm-i915-fbc-sanitize-fbc-GEN-greater-than-9.patch b/patches/boot_time_opt/0011-drm-i915-fbc-sanitize-fbc-GEN-greater-than-9.patch new file mode 100644 index 0000000..33debcd --- /dev/null +++ b/patches/boot_time_opt/0011-drm-i915-fbc-sanitize-fbc-GEN-greater-than-9.patch | |||
@@ -0,0 +1,25 @@ | |||
1 | From 07639791f247ae7a807444106b9b7611f070d02b Mon Sep 17 00:00:00 2001 | ||
2 | From: Arjan van de Ven <arjan@linux.intel.com> | ||
3 | Date: Fri, 6 Jan 2017 13:28:29 +0000 | ||
4 | Subject: [PATCH] drm/i915/fbc: sanitize fbc GEN greater than 9 | ||
5 | |||
6 | --- | ||
7 | drivers/gpu/drm/i915/intel_fbc.c | 2 +- | ||
8 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
9 | |||
10 | diff --git a/drivers/gpu/drm/i915/intel_fbc.c b/drivers/gpu/drm/i915/intel_fbc.c | ||
11 | index c43dd9abce79..f5a2560840f3 100644 | ||
12 | --- a/drivers/gpu/drm/i915/intel_fbc.c | ||
13 | +++ b/drivers/gpu/drm/i915/intel_fbc.c | ||
14 | @@ -1262,7 +1262,7 @@ static int intel_sanitize_fbc_option(struct drm_i915_private *dev_priv) | ||
15 | if (!HAS_FBC(dev_priv)) | ||
16 | return 0; | ||
17 | |||
18 | - if (IS_BROADWELL(dev_priv)) | ||
19 | + if (IS_BROADWELL(dev_priv) || INTEL_GEN(dev_priv) >= 9) | ||
20 | return 1; | ||
21 | |||
22 | return 0; | ||
23 | -- | ||
24 | 2.11.1 | ||
25 | |||