drm/i915: Support flags in whitlist WAs
authorJohn Harrison <John.C.Harrison@Intel.com>
Tue, 18 Jun 2019 01:01:05 +0000 (18:01 -0700)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 18 Jun 2019 16:29:54 +0000 (17:29 +0100)
commit5380d0b781c491d94b4f4690ecf9762c1946c4ec
tree1cc6fa607fc76d2abf2190ae77fe7ae2b49fd230
parent7afc7f8168708b53937b25baed931da3c0a5367b
drm/i915: Support flags in whitlist WAs

Newer hardware adds flags to the whitelist work-around register. These
allow per access direction privileges and ranges.

Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Signed-off-by: Robert M. Fosha <robert.m.fosha@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190618010108.27499-2-John.C.Harrison@Intel.com
drivers/gpu/drm/i915/gt/intel_workarounds.c
drivers/gpu/drm/i915/i915_reg.h