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

Matthew Brost matthew.brost at intel.com
Wed May 10 00:38:43 UTC 2023


On Tue, May 09, 2023 at 10:45:21AM -0400, Rodrigo Vivi wrote:
> 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?
> 

I can probably post 28 & 29 in an independent series.

Matt

> > -
> >  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