commit | f7dff0c9cbb89e9c406c0ca47f32129b61721174 | [log] [tgz] |
---|---|---|
author | Jesse Barnes <jbarnes@virtuousgeek.org> | Fri Jun 15 11:55:17 2012 -0700 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed Jun 20 22:47:15 2012 +0200 |
tree | 20eb6aac452dacf6b10dce49fd71ec2f9f018216 | |
parent | 4a87d65d54ffc76e1d6f7e2124354997b66bd81c [diff] |
drm/i915: access VLV regs through read/write switch Since the offsets have all moved around. v2: switch IS_DISPLAYREG and IS_VALLEYVIEW checks around since the latter is cheaper (Daniel) bail out early in IS_DISPLAYREG if the reg is in the new range (Daniel) Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> [danvet: Fixup if cascading fail that broke HAS_FORCEWAKE machines.] Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>