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

2019-10-24 Thread Chris Wilson
Quoting Lionel Landwerlin (2019-10-24 16:23:01) > On 24/10/2019 14:37, Chris Wilson wrote: > > 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

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

2019-10-24 Thread Lionel Landwerlin
On 24/10/2019 14:37, Chris Wilson wrote: 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

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

2019-10-24 Thread Chris Wilson
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

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

2019-10-24 Thread Mika Kuoppala
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

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

2019-10-24 Thread Lionel Landwerlin
On 24/10/2019 13:38, Mika Kuoppala wrote: 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. Cc: Tapani Pälli Cc:

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

2019-10-24 Thread Mika Kuoppala
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. Cc: Tapani Pälli Cc: Chris Wilson Signed-off-by: Mika Kuoppala ---