[PATCH 8/9] drm/i915/pfit: Extract intel_pfit.c

Ville Syrjälä ville.syrjala at linux.intel.com
Wed Oct 23 15:38:25 UTC 2024


On Tue, Oct 22, 2024 at 11:31:57AM +0300, Jani Nikula wrote:
> On Wed, 16 Oct 2024, Ville Syrjala <ville.syrjala at linux.intel.com> wrote:
> > diff --git a/drivers/gpu/drm/i915/display/intel_pfit.h b/drivers/gpu/drm/i915/display/intel_pfit.h
> > new file mode 100644
> > index 000000000000..add8d78de2c9
> > --- /dev/null
> > +++ b/drivers/gpu/drm/i915/display/intel_pfit.h
> > @@ -0,0 +1,15 @@
> > +/* SPDX-License-Identifier: MIT */
> > +/*
> > + * Copyright © 2024 Intel Corporation
> > + */
> > +
> > +#ifndef __INTEL_PFIT_H__
> > +#define __INTEL_PFIT_H__
> > +
> > +struct drm_connector_state;
> > +struct intel_crtc_state;
> > +
> > +int intel_panel_fitting(struct intel_crtc_state *crtc_state,
> > +			const struct drm_connector_state *conn_state);
> 
> Nitpick, would be nice to rename this to intel_pfit_something() in
> follow-up.

The joiner vs. pfit changes will probably involve further
renaming, so figured I'd leave it as is until then.

> 
> Reviewed-by: Jani Nikula <jani.nikula at intel.com>

Thanks. Pushed the lot.

-- 
Ville Syrjälä
Intel


More information about the Intel-gfx mailing list