]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/xe: Correct the rev value for the DVSEC entries
authorMichael J. Ruhl <michael.j.ruhl@intel.com>
Sun, 13 Jul 2025 17:29:32 +0000 (13:29 -0400)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 22 Jul 2025 14:38:47 +0000 (17:38 +0300)
By definition, the Designated Vendor Specific Extended Capability
(DVSEC) revision should be 1.

Add the rev value to be correct.

Fixes: 0c45e76fcc62 ("drm/xe/vsec: Support BMG devices")
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Reviewed-by: David E. Box <david.e.box@linux.intel.com>
Link: https://lore.kernel.org/r/20250713172943.7335-3-michael.j.ruhl@intel.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/gpu/drm/xe/xe_vsec.c

index b378848d3b7bc77736c3df522623f9e2268a1ebb..1bf7e709e1100fc1fc424b422b0a4e7babdf0e20 100644 (file)
@@ -24,6 +24,7 @@
 #define BMG_DEVICE_ID 0xE2F8
 
 static struct intel_vsec_header bmg_telemetry = {
+       .rev = 1,
        .length = 0x10,
        .id = VSEC_ID_TELEMETRY,
        .num_entries = 2,
@@ -33,6 +34,7 @@ static struct intel_vsec_header bmg_telemetry = {
 };
 
 static struct intel_vsec_header bmg_punit_crashlog = {
+       .rev = 1,
        .length = 0x10,
        .id = VSEC_ID_CRASHLOG,
        .num_entries = 1,
@@ -42,6 +44,7 @@ static struct intel_vsec_header bmg_punit_crashlog = {
 };
 
 static struct intel_vsec_header bmg_oobmsm_crashlog = {
+       .rev = 1,
        .length = 0x10,
        .id = VSEC_ID_CRASHLOG,
        .num_entries = 1,