]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/i915/icl: Cleanup combo PHY aux power well handlers
authorMatt Roper <matthew.d.roper@intel.com>
Fri, 13 Dec 2019 01:06:00 +0000 (17:06 -0800)
committerMatt Roper <matthew.d.roper@intel.com>
Fri, 13 Dec 2019 20:06:34 +0000 (12:06 -0800)
commitb69fa3610b15497e487a6a35786de9600ee60932
tree444ecd47c470fa7962fa634884cbbb1e203cf8c6
parentab3402581d0fa58e63e36875995f43ab02b4d0a0
drm/i915/icl: Cleanup combo PHY aux power well handlers

Now that the combo PHY aux power well handlers are used exclusively on
Icelake, we can drop a bunch of the extra tests.

v2: Don't try to use intel_uncore_rmw for register updates yet; there's
    pending display uncore patches that need to land first.  (Lucas)

v3: Drop the combo phy assertion.  It was backward before, but doesn't
    seem terribly necessary.  I'm keeping the IS_ICELAKE assertion
    though since we often copy/paste/modify the power well tables when
    defining new platforms and it's too easy to cargo cult the
    ICL-specific handling to new platforms that shouldn't use it.
    (Lucas)

v4: Fix build; forgot to commit all the changes.  (CI)

Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191213010600.701315-1-matthew.d.roper@intel.com
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/i915/display/intel_display_power.c