]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
drm/i915: Data driven register to forcewake domains lookup
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 4 Oct 2016 08:29:19 +0000 (09:29 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 4 Oct 2016 10:09:59 +0000 (11:09 +0100)
commit9fc1117cf8ca7a5100f2e86682cd4050a75f7f4d
treeac5f99edbfbfafc315ee665466c037f669b39c43
parentc521b0c898b0339d4d5fc091849211c5f469f1bd
drm/i915: Data driven register to forcewake domains lookup

Move finding the correct forcewake domains to take for
register access from code to a mapping table. This will
allow more interesting work in the following patches
and is easier to review if singled out early.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_uncore.c