[Intel-gfx] [PATCH 1/2] drm/i915: Keep local modparams copy for mock selftests

Chris Wilson chris at chris-wilson.co.uk
Thu Jul 12 14:26:41 UTC 2018


Quoting Jakub BartmiĊ„ski (2018-07-12 15:07:18)
> Some functions used within mock selftests may expect platform-dependent
> automatic modparams parameters to have already been resolved, resulting
> in failed assertions.
> Backing up the modparams before mock selftests and manually setting
> offending parameters inside the affected selftests should fix the issue.

I think hiding under a rock until it's weened off the modparam abuse and
can use a mock device is my favourite strategy here.
-Chris


More information about the Intel-gfx mailing list