[Intel-xe] [PATCH v2 26/31] drm/exec: Always compile drm_exec

Rodrigo Vivi rodrigo.vivi at intel.com
Tue May 9 14:45:21 UTC 2023


On Mon, May 01, 2023 at 05:17:22PM -0700, Matthew Brost wrote:
> We want some helpers for DRM exec in gpuva, alway compile this.
> 
> Suggested-by: Danilo Krummrich <dakr at redhat.com>
> Signed-off-by: Matthew Brost <matthew.brost at intel.com>
> ---
>  drivers/gpu/drm/Makefile | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/Makefile b/drivers/gpu/drm/Makefile
> index ab728632d8a2..40067970af04 100644
> --- a/drivers/gpu/drm/Makefile
> +++ b/drivers/gpu/drm/Makefile
> @@ -23,6 +23,7 @@ drm-y := \
>  	drm_dumb_buffers.o \
>  	drm_edid.o \
>  	drm_encoder.o \
> +	drm_exec.o \
>  	drm_file.o \
>  	drm_fourcc.o \
>  	drm_framebuffer.o \
> @@ -81,8 +82,6 @@ obj-$(CONFIG_DRM_PANEL_ORIENTATION_QUIRKS) += drm_panel_orientation_quirks.o
>  # Memory-management helpers
>  #
>  #
> -obj-$(CONFIG_DRM_EXEC) += drm_exec.o

shouldn't this kill this kconfig entirely then?
Or should the helpers be split into some other common file?

> -
>  obj-$(CONFIG_DRM_BUDDY) += drm_buddy.o
>  
>  drm_dma_helper-y := drm_gem_dma_helper.o
> -- 
> 2.34.1
> 


More information about the Intel-xe mailing list