diff options
author | Ville Syrjälä <[email protected]> | 2014-09-03 14:09:51 +0300 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2014-09-03 15:14:32 +0200 |
commit | f98cd09664cd36a52a531aaf647e692f2a83b527 (patch) | |
tree | 880e369e864890a25692c173baa9b90bc46fb520 /include/linux/fpga/fpga-mgr.h | |
parent | c317adcd58cdc05badd73db901c677164050ab6c (diff) |
drm/i915: Use IS_BROADWELL() instead of IS_GEN8() in forcewake code
IS_GEN8() is a bad check in the forcewake code due to bdw vs. chv
differences. Use IS_BROADWELL() instead.
The only actual bug here is that we currently call
__gen7_gt_force_wake_mt_reset() on chv. On the other places we
have checked for chv before using IS_GEN8(), but change them
to use IS_BROADWELL() anyway to reduce the chance of accidents in the
future.
Signed-off-by: Ville Syrjälä <[email protected]>
Reviewed-by: Deepak S <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions