[PATCH v2 2/6] drm/i915/alpm: Move alpm related code to a new file

Jani Nikula jani.nikula at intel.com
Mon Apr 15 11:46:37 UTC 2024


On Fri, 12 Apr 2024, Animesh Manna <animesh.manna at intel.com> wrote:
> Move ALPM feature related code as it will be used for
> non-psr panel also thorugh LOBF feature.
>
> Signed-off-by: Animesh Manna <animesh.manna at intel.com>
> ---
>  drivers/gpu/drm/i915/Makefile             |   1 +
>  drivers/gpu/drm/i915/display/intel_alpm.c | 292 ++++++++++++++++++++++
>  drivers/gpu/drm/i915/display/intel_alpm.h |  18 ++
>  drivers/gpu/drm/i915/display/intel_psr.c  | 280 +--------------------
>  4 files changed, 314 insertions(+), 277 deletions(-)
>  create mode 100644 drivers/gpu/drm/i915/display/intel_alpm.c
>  create mode 100644 drivers/gpu/drm/i915/display/intel_alpm.h
>
> diff --git a/drivers/gpu/drm/i915/Makefile b/drivers/gpu/drm/i915/Makefile
> index af9e871daf1d..c12b7bd98320 100644
> --- a/drivers/gpu/drm/i915/Makefile
> +++ b/drivers/gpu/drm/i915/Makefile
> @@ -246,6 +246,7 @@ i915-y += \
>  	display/intel_atomic.o \
>  	display/intel_atomic_plane.o \
>  	display/intel_audio.o \
> +	display/intel_alpm.o \
>  	display/intel_bios.o \
>  	display/intel_bw.o \
>  	display/intel_cdclk.o \

That's not sorted.

BR,
Jani.


-- 
Jani Nikula, Intel


More information about the Intel-gfx mailing list