Instead of preventing driver load when media engines enabled
for a platform do not match the fuse values for those media
engines, WARN_ON to indicate the observation but continue
with driver load.

Signed-off-by: Stuart Summers <stuart.summ...@intel.com>
---
 drivers/gpu/drm/i915/intel_device_info.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_device_info.c 
b/drivers/gpu/drm/i915/intel_device_info.c
index d9b5baaef5d0..caef01b1da23 100644
--- a/drivers/gpu/drm/i915/intel_device_info.c
+++ b/drivers/gpu/drm/i915/intel_device_info.c
@@ -1023,7 +1023,7 @@ void intel_device_info_init_mmio(struct drm_i915_private 
*dev_priv)
        }
        DRM_DEBUG_DRIVER("vdbox enable: %04x, instances: %04lx\n",
                         vdbox_mask, VDBOX_MASK(dev_priv));
-       GEM_BUG_ON(vdbox_mask != VDBOX_MASK(dev_priv));
+       GEM_WARN_ON(vdbox_mask != VDBOX_MASK(dev_priv));
 
        for (i = 0; i < I915_MAX_VECS; i++) {
                if (!HAS_ENGINE(dev_priv, _VECS(i)))
@@ -1036,5 +1036,5 @@ void intel_device_info_init_mmio(struct drm_i915_private 
*dev_priv)
        }
        DRM_DEBUG_DRIVER("vebox enable: %04x, instances: %04lx\n",
                         vebox_mask, VEBOX_MASK(dev_priv));
-       GEM_BUG_ON(vebox_mask != VEBOX_MASK(dev_priv));
+       GEM_WARN_ON(vebox_mask != VEBOX_MASK(dev_priv));
 }
-- 
2.22.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to