]> 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)
commit86fef912ab532498461dd49c57a12e41ea2fcff9
treecf59cc18266c1ab263669e9c44dc06ae4f243f09
parenta94fa8ec28e8b8bfe04986753afaffb0dbac573c
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