diff options
author | Matt Roper <[email protected]> | 2021-09-10 13:10:25 -0700 |
---|---|---|
committer | Matt Roper <[email protected]> | 2021-09-21 17:02:10 -0700 |
commit | 1ab2b4cd128382ff64aaab55d6204362296139bc (patch) | |
tree | d77f04fff90b364643ed34920464fb81e796d4bb /fs/jbd2/commit.c | |
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 <[email protected]>
Signed-off-by: Matt Roper <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions