]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Implement read-only support in whitelist selftest
authorJohn Harrison <John.C.Harrison@Intel.com>
Fri, 12 Jul 2019 07:07:44 +0000 (00:07 -0700)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 12 Jul 2019 08:55:29 +0000 (09:55 +0100)
commit1284de581a1c02420f25bcc67268d242d8975365
tree0fa748c17a8e7e87d927efba190e7f07b5e5b53a
parent080ea990943247086a24c3ff3754a13ca1f361c1
drm/i915: Implement read-only support in whitelist selftest

Newer hardware supports extra feature in the whitelist registers. This
patch updates the selftest to test that entries marked as read only
are actually read only.

v2: Removed all use of 'rsvd' for read-only registers to avoid
ambiguous code or error messages.

Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
CC: 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/20190712070745.35239-3-John.C.Harrison@Intel.com
drivers/gpu/drm/i915/gt/selftest_workarounds.c