]> www.infradead.org Git - users/willy/xarray.git/commit
drm/i915: Move encoder suspend/shutdown helpers to intel_encoder.c
authorImre Deak <imre.deak@intel.com>
Tue, 18 Jun 2024 12:52:53 +0000 (15:52 +0300)
committerImre Deak <imre.deak@intel.com>
Thu, 20 Jun 2024 16:47:50 +0000 (19:47 +0300)
commitcc2ee76a9003e1b5a7cd4f67ecf9b4b91d83299b
treee03f0aa047a0f3170e8f668bd0c843e7411e177a
parent67577e2eada5b6501e30d80adea9d045081ba7a1
drm/i915: Move encoder suspend/shutdown helpers to intel_encoder.c

Move the encoder suspend/shutdown helpers to intel_encoder.c, this being
the logical place for encoder functions.

This also allows sharing the above helpers with the xe driver, done in a
follow-up patch.

While at it rename the functions using the usual intel_encoder prefix
and in the functions rename the dev_priv parameter to i915.

v2: Remove extra w/s in the include section. (Jani)

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> # v1
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240618125255.4080303-1-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_encoder.c
drivers/gpu/drm/i915/display/intel_encoder.h
drivers/gpu/drm/i915/i915_driver.c