diff options
author | Ashutosh Dixit <[email protected]> | 2022-11-14 18:03:47 +0530 |
---|---|---|
committer | Rodrigo Vivi <[email protected]> | 2022-11-17 10:46:58 -0500 |
commit | 78d0b4552c37c52139816ce967aedd981fb79a30 (patch) | |
tree | 0bd1455c39cf8e43133c4becab4bbc913830748e /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 22009b6dad6621893e9b5c14665f247b6162499c (diff) |
drm/i915/gt: Use RC6 residency types as arguments to residency functions
Previously RC6 residency functions directly accepted RC6 residency register
MMIO offsets (there are four RC6 residency registers). This worked but
required an assumption on the residency register layout so was not future
proof.
Therefore change RC6 residency functions to accept RC6 residency types
instead of register MMIO offsets. The knowledge of register offsets as well
as ID to offset mapping is now maintained solely in intel_rc6 and can be
tailored for different platforms and different register layouts as need
arises.
v2: Address review comments by Jani N
- Change residency functions to accept RC6 residency types instead of
register ID's
- s/intel_rc6_print_rc5_res/intel_rc6_print_residency/
- Remove "const enum" in function arguments
- Naming: intel_rc6_* for enum
- Use INTEL_RC6_RES_MAX and other minor changes
v3: Don't include intel_rc6_types.h in intel_rc6.h (Jani)
Suggested-by: Rodrigo Vivi <[email protected]>
Suggested-by: Jani Nikula <[email protected]>
Reported-by: Jani Nikula <[email protected]>
Signed-off-by: Ashutosh Dixit <[email protected]>
Reviewed-by: Rodrigo Vivi <[email protected]>
Signed-off-by: Badal Nilawar <[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