Home Home > GIT Browse > SLE12-SP4-AZURE
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2019-06-11 09:08:12 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2019-06-11 09:08:12 +0200
commit038e07008719f1c7b69d178e850736a1e9e1e2ea (patch)
treef9897a3169abef7e437ee6405c0781f0a08e7afd
parent44184d30169fb424e28a9f008e21806897d59d9b (diff)
drm/i915/gvt: Fix cmd length of VEB_DI_IECP (bsc#1113722)
-rw-r--r--patches.drm/0003-drm-i915-gvt-Fix-cmd-length-of-VEB_DI_IECP.patch35
-rw-r--r--series.conf1
2 files changed, 36 insertions, 0 deletions
diff --git a/patches.drm/0003-drm-i915-gvt-Fix-cmd-length-of-VEB_DI_IECP.patch b/patches.drm/0003-drm-i915-gvt-Fix-cmd-length-of-VEB_DI_IECP.patch
new file mode 100644
index 0000000000..6305727689
--- /dev/null
+++ b/patches.drm/0003-drm-i915-gvt-Fix-cmd-length-of-VEB_DI_IECP.patch
@@ -0,0 +1,35 @@
+From 3035e8cd6c316cb633b45bc9b38052ba2dfd299b Mon Sep 17 00:00:00 2001
+From: "Gao, Fred" <fred.gao@intel.com>
+Date: Tue, 28 May 2019 09:36:15 +0800
+Subject: drm/i915/gvt: Fix cmd length of VEB_DI_IECP
+Git-commit: 3035e8cd6c316cb633b45bc9b38052ba2dfd299b
+Patch-mainline: v5.2-rc4
+References: bsc#1113722
+
+Fix the length value of VEB_DI_IECP.
+
+Fixes: be1da7070aea ("drm/i915/gvt: vGPU command scanner")
+Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
+Signed-off-by: Gao, Fred <fred.gao@intel.com>
+Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
+Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
+---
+ drivers/gpu/drm/i915/gvt/cmd_parser.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/i915/gvt/cmd_parser.c b/drivers/gpu/drm/i915/gvt/cmd_parser.c
+index 5cb59c0b4bbe..de5347725564 100644
+--- a/drivers/gpu/drm/i915/gvt/cmd_parser.c
++++ b/drivers/gpu/drm/i915/gvt/cmd_parser.c
+@@ -2530,7 +2530,7 @@ static const struct cmd_info cmd_info[] = {
+ 0, 12, NULL},
+
+ {"VEB_DI_IECP", OP_VEB_DNDI_IECP_STATE, F_LEN_VAR, R_VECS, D_BDW_PLUS,
+- 0, 20, NULL},
++ 0, 12, NULL},
+ };
+
+ static void add_cmd_entry(struct intel_gvt *gvt, struct cmd_entry *e)
+--
+2.21.0
+
diff --git a/series.conf b/series.conf
index 029b774773..0bc8d5069c 100644
--- a/series.conf
+++ b/series.conf
@@ -22301,6 +22301,7 @@
patches.suse/kernel-signal.c-trace_signal_deliver-when-signal_gro.patch
patches.arch/powerpc-perf-Fix-MMCRA-corruption-by-bhrb_filter.patch
patches.drm/0002-drm-i915-gvt-refine-ggtt-range-validation.patch
+ patches.drm/0003-drm-i915-gvt-Fix-cmd-length-of-VEB_DI_IECP.patch
# dhowells/linux-fs keys-uefi
patches.suse/0001-KEYS-Allow-unrestricted-boot-time-addition-of-keys-t.patch