drm/i915/uncore: fwtable read handlers are now used on all forcewake platforms
authorMatt Roper <matthew.d.roper@intel.com>
Thu, 23 Sep 2021 00:30:29 +0000 (17:30 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Thu, 23 Sep 2021 14:06:04 +0000 (07:06 -0700)
commit54fc4f134e096bc508a095348cb4b4965aa1c07b
treecf59cc18266c1ab263669e9c44dc06ae4f243f09
parent68c03c0e985edaf8f5ed44d56c931f9290d9311a
drm/i915/uncore: fwtable read handlers are now used on all forcewake platforms

With the recent refactor of the uncore mmio handling, all
forcewake-based platforms (i.e., graphics version 6 and beyond) now use
the 'fwtable' read handlers.  Let's pull the assignment out of the
per-platform if/else ladder to make this more obvious.

Suggested-by: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Suggested-by: Lucas De Marchi <lucas.demarchi@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/20210923003029.2194375-1-matthew.d.roper@intel.com
drivers/gpu/drm/i915/intel_uncore.c