[PATCH 3/3] [RFC] drm/i915/gvt: change OPREGION_SIGNATURE name
Nicolas Chauvet
kwizart at gmail.com
Mon Mar 24 08:30:03 UTC 2025
Change the OPREGION_SIGNATURE name so it fit into the
opregion_header->signature size.
Cc: stable at vger.kernel.org
Fixes: 93615d59912 ("Revert drm/i915/gvt: Fix out-of-bounds buffer write into opregion->signature[]")
Signed-off-by: Nicolas Chauvet <kwizart at gmail.com>
---
drivers/gpu/drm/i915/gvt/opregion.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/gvt/opregion.c b/drivers/gpu/drm/i915/gvt/opregion.c
index 0f11cd6ba383..0bd02dfaceb1 100644
--- a/drivers/gpu/drm/i915/gvt/opregion.c
+++ b/drivers/gpu/drm/i915/gvt/opregion.c
@@ -32,7 +32,7 @@
#define _INTEL_BIOS_PRIVATE
#include "display/intel_vbt_defs.h"
-#define OPREGION_SIGNATURE "IntelGraphicsMem"
+#define OPREGION_SIGNATURE "IntelGFXMem"
#define MBOX_VBT (1<<3)
/* device handle */
--
2.49.0
More information about the intel-gvt-dev
mailing list