]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit54ab426266f0b345d6e3f8715a94fa0c1bf16a7b
treecf59cc18266c1ab263669e9c44dc06ae4f243f09
parent7208a2c94103587865881f07c439686c1d7b4f3a
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