diff options
author | Don Hiatt <[email protected]> | 2022-11-14 18:03:45 +0530 |
---|---|---|
committer | Rodrigo Vivi <[email protected]> | 2022-11-17 10:46:29 -0500 |
commit | 01b8c2e60e96ce8a30d23683fba56b478be7287c (patch) | |
tree | 4efb8fd7e6eaeb33284f0d8aa481136fe5dbc050 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 2c0a284c5d70638c8a4eb47323420d114360c6d7 (diff) |
drm/i915: Use GEN12_RPSTAT register for GT freq
On GEN12+ use GEN12_RPSTAT register to get actual resolved GT
freq. GEN12_RPSTAT does not require a forcewake and will return 0 freq if
GT is in RC6.
v2:
- Fixed review comments(Ashutosh)
- Added function intel_rps_read_rpstat_fw to read RPSTAT without
forcewake, required especially for GEN6_RPSTAT1 (Ashutosh, Tvrtko)
v3:
- Updated commit title and message for more clarity (Ashutosh)
- Replaced intel_rps_read_rpstat with direct read to GEN12_RPSTAT1 in
read_cagf (Ashutosh)
v4: Remove GEN12_CAGF_SHIFT and use REG_FIELD_GET (Rodrigo)
Cc: Don Hiatt <[email protected]>
Cc: Andi Shyti <[email protected]>
Signed-off-by: Don Hiatt <[email protected]>
Signed-off-by: Badal Nilawar <[email protected]>
Signed-off-by: Ashutosh Dixit <[email protected]>
Reviewed-by: Andi Shyti <[email protected]>
Reviewed-by: Rodrigo Vivi <[email protected]>
Signed-off-by: Rodrigo Vivi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions