diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-12-13 13:26:20 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-12-13 17:48:28 +0100 |
commit | a3564d2b5236b73bceb271f482965d38cd9d8d8e (patch) | |
tree | b183e114c73f72f7c1797f47f98ac9806be387d8 /include/linux/compiler-intel.h | |
parent | 97058870e616631a80721e08d5797d7da4b23b0a (diff) |
drm/i915/bdw: Don't use forcewake needlessly
Not all registers need forcewake even if they're not shadowed.
Add the missing check to gen8_writeX() to avoid needless forcewake
usage when writing eg. display registers.
v2: Use straight up <0x40000 check instead of NEEDS_FORCE_WAKE()
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/linux/compiler-intel.h')
0 files changed, 0 insertions, 0 deletions