[PATCH] HAX:no-dmc
Chris Wilson
chris at chris-wilson.co.uk
Fri Mar 5 10:58:08 UTC 2021
---
drivers/gpu/drm/i915/display/intel_csr.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/i915/display/intel_csr.c b/drivers/gpu/drm/i915/display/intel_csr.c
index 42005c1b5f0e..267d24147aa2 100644
--- a/drivers/gpu/drm/i915/display/intel_csr.c
+++ b/drivers/gpu/drm/i915/display/intel_csr.c
@@ -398,6 +398,8 @@ static u32 parse_csr_fw_dmc(struct intel_csr *csr,
BUILD_BUG_ON(ARRAY_SIZE(csr->mmioaddr) < DMC_V3_MAX_MMIO_COUNT ||
ARRAY_SIZE(csr->mmioaddr) < DMC_V1_MAX_MMIO_COUNT);
+ return 0; /* XXX no dmc! */
+
/*
* Check if we can access common fields, we will checkc again below
* after we have read the version
--
2.20.1
More information about the Intel-gfx-trybot
mailing list