drm/i915/display: allow to skip certain power wells
authorAditya Swarup <aditya.swarup@intel.com>
Wed, 14 Oct 2020 19:19:27 +0000 (12:19 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 15 Oct 2020 21:14:26 +0000 (14:14 -0700)
commit9ccd24e9b09164f5ddd9b5a1bea421d8edaa69e7
treeda2c70e4c83a64d0ceadf795b297f8f19ac136cb
parent24ea098b7c0d80b56d62a200608e0b029056baf6
drm/i915/display: allow to skip certain power wells

This allows us to skip power wells on a platform allowing it to re-use
the table from another one instead of having to create a new table from
scratch that is basically a copy with a few removals.

Cc: Imre Deak <imre.deak@intel.com>
Suggested-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Aditya Swarup <aditya.swarup@intel.com>
[ Adapt ignore logic to be based on pw id rather than adding a new
  field, as suggested by Imre ]
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201014191937.1266226-1-lucas.demarchi@intel.com
drivers/gpu/drm/i915/display/intel_display_power.c