drm/i915: Fix warn in intel_display_power_*_domain() functions
authorImre Deak <imre.deak@intel.com>
Mon, 14 Nov 2022 12:22:43 +0000 (14:22 +0200)
committerImre Deak <imre.deak@intel.com>
Fri, 18 Nov 2022 15:27:36 +0000 (17:27 +0200)
commit10b85f0e1d922210ae857afed6d012ec32c4b6cb
tree1d23223769c29dca2b5e8886846360ac8544048a
parent9718d7b2a7ea3e55f1717be3c15bd5cdaaea985e
drm/i915: Fix warn in intel_display_power_*_domain() functions

The intel_display_power_*_domain() functions should always warn if a
default domain is returned as a fallback, fix this up. Spotted by Ville.

Fixes: 979e1b32e0e2 ("drm/i915: Sanitize the port -> DDI/AUX power domain mapping for each platform")
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Jouni Högander <jouni.hogander@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221114122251.21327-2-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_display_power.c