[Intel-gfx] [PATCH 1/2] drm/i915: Sanitycheck MMIO access early in driver load
Andi Shyti
andi.shyti at linux.intel.com
Tue Mar 21 16:38:13 UTC 2023
Hi Jani,
Thanks for looking into this,
[...]
> > +#define COND (__raw_uncore_read32(uncore, FORCEWAKE_MT) != ~0)
> > + if (wait_for(COND, 2000) == -ETIMEDOUT) {
>
> I guess this somewhat reimplements intel_wait_for_register_fw()?
Thanks!
Andi
> > + drm_err(&i915->drm, "Device is non-operational; MMIO access returns 0xFFFFFFFF!\n");
> > + return -EIO;
> > + }
More information about the dri-devel
mailing list