drm/i915: Update workarounds selftest for read only regs
authorRobert M. Fosha <robert.m.fosha@intel.com>
Tue, 18 Jun 2019 01:01:08 +0000 (18:01 -0700)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 18 Jun 2019 16:29:56 +0000 (17:29 +0100)
commit767662bc62a43741b1bba7a2f8c04faaf0e3e93b
tree2bc1f3431b8504c4933e762e45a7b9a3dadea757
parent7b3d406310983a89ed7a1ecdd115efbe12b0ded5
drm/i915: Update workarounds selftest for read only regs

Updates the live_workarounds selftest to handle whitelisted
registers that are flagged as read only.

Signed-off-by: Robert M. Fosha <robert.m.fosha@intel.com>
Signed-off-by: John Harrison <John.C.Harrison@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-5-John.C.Harrison@Intel.com
drivers/gpu/drm/i915/gt/selftest_workarounds.c