[Intel-gfx] [PATCH 1/2] drm/i915: Remove nonpriv flags when srm/lrm

Chris Wilson chris at chris-wilson.co.uk
Thu Oct 24 11:37:51 UTC 2019


Quoting Mika Kuoppala (2019-10-24 12:03:31)
> On testing the whitelists, using any of the nonpriv
> flags when trying to access the register offset will lead
> to failure.
> 
> Define address mask to get the mmio offset in order
> to guard against any current and future flag usage.
> 
> v2: apply also on scrub_whitelisted_registers (Lionel)
> 
> Cc: Tapani Pälli <tapani.palli at intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
> Signed-off-by: Mika Kuoppala <mika.kuoppala at linux.intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list