diff options
author | Matt Roper <matthew.d.roper@intel.com> | 2021-09-10 13:10:25 -0700 |
---|---|---|
committer | Matt Roper <matthew.d.roper@intel.com> | 2021-09-21 17:02:10 -0700 |
commit | 1ab2b4cd128382ff64aaab55d6204362296139bc (patch) | |
tree | d77f04fff90b364643ed34920464fb81e796d4bb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 45f63790e456455be6a69630042611083effe09b (diff) |
drm/i915/uncore: Convert gen6/gen7 read operations to fwtable
On gen6-gen8 (except vlv/chv) we don't use a forcewake lookup table; we
simply check whether the register offset is < 0x40000, and return
FORCEWAKE_RENDER if it is. To prepare for upcoming refactoring, let's
define a single-entry forcewake table from [0x0, 0x3ffff] and switch
these platforms over to use the fwtable reader functions.
v2:
- Drop __gen6_reg_read_fw_domains which is no longer used. (Tvrtko)
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210910201030.3436066-2-matthew.d.roper@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions