OSDN Git Service

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)
commitaee20aaed8876e90fa6f500ee5637423a3ef9ab9
tree0fa748c17a8e7e87d927efba190e7f07b5e5b53a
parent1e2b7f497c28a47793a95d8f0cc8e135899827f1
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