summaryrefslogtreecommitdiff
path: root/drivers/ata/sata_sil.c
diff options
context:
space:
mode:
authorMatt Roper <matthew.d.roper@intel.com>2022-01-10 21:15:51 -0800
committerMatt Roper <matthew.d.roper@intel.com>2022-01-11 13:45:38 -0800
commitcd5d2fdb045fb31a152cbb257e10da78fa4f06ac (patch)
tree9933e580f2feb341bd330a755a36d24e2b9c46aa /drivers/ata/sata_sil.c
parente9f9bcd598e2b6f3cfa617f8e38f83a59738d19c (diff)
drm/i915: Parameterize PWRCTX_MAXCNT
Rather than having separate definitions for each engine, create a single parameterized macro that takes the engine base offset. This will also ensure we get to the proper offset if we ever need to use these registers on newer platforms (where the media engine offsets have changed). Cc: Jani Nikula <jani.nikula@linux.intel.com> Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Reviewed-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220111051600.3429104-3-matthew.d.roper@intel.com
Diffstat (limited to 'drivers/ata/sata_sil.c')
0 files changed, 0 insertions, 0 deletions