[Intel-gfx] [PATCH v2 2/7] drm/i915/wm: move remaining watermark code out of intel_pm.c
Ville Syrjälä
ville.syrjala at linux.intel.com
Mon Feb 13 20:41:13 UTC 2023
On Mon, Feb 13, 2023 at 09:59:57PM +0200, Jani Nikula wrote:
> Add new files intel_wm.[ch] and i9xx_wm.[ch] under display/ to hold
> generic and pre-SKL watermark code, respectively. SKL+ watermark code
> has already been split out to skl_watermark.[ch].
>
> Use the _wm.[ch] naming for brevity; we may want to rename
> skl_watermark.[ch] later accordingly.
>
> Add new intel_wm_init() to call either skl_wm_init() or
> i9xx_wm_init(i915) depending on the platform, the latter comprising of
> the remains of intel_init_pm().
>
> Sprinkle in some minor checkpatch fixes while moving the code.
>
> v2:
> - Rebase
> - Fix copyright year
>
> Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
--
Ville Syrjälä
Intel
More information about the Intel-gfx
mailing list