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

Lionel Landwerlin lionel.g.landwerlin at intel.com
Thu Oct 24 15:23:01 UTC 2019


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 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
>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>



More information about the Intel-gfx mailing list