aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorImre Deak <[email protected]>2017-07-06 17:40:34 +0300
committerDaniel Vetter <[email protected]>2017-07-27 09:38:52 +0200
commit1af474fef2697a1ab7e497627bddf026a3e767ac (patch)
treeb7b687993158f903508f361b4417e1e6da4b5569 /tools/perf/scripts/python
parentec46d48360432cbc9280e52692ec2f15bd85bdca (diff)
drm/i915/hsw+: Unify the hsw/bdw and gen9+ power well req/state macros
Although on HSW/BDW there is only a single display global power well, it's programmed the same way as other GEN9+ power wells. This also means we can get at the HSW/BDW request and status flags the same way it's done on GEN9+ by assigning the corresponding HSW/BDW power well ID. This ID was assigned in a recent patch, so we can now switch to using the same macros everywhere on HSW+. Updating the HSW power well control register with RMW is not strictly necessary, but this will allow us to use the same code for GEN9+. Signed-off-by: Imre Deak <[email protected]> Reviewed-by: Arkadiusz Hiler <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions