[Intel-xe] [PATCH 4/4] drm/xe: fix DRM_FBDEV_EMULATION dependencies

Lucas De Marchi lucas.demarchi at intel.com
Mon Feb 6 22:35:54 UTC 2023


On Fri, Feb 03, 2023 at 03:17:58PM -0500, Rodrigo Vivi wrote:
>From: Mauro Carvalho Chehab <mchehab at kernel.org>
>
>The intel_fbdev should only be added when framebuffer emulation
>is enabled.
>
>Signed-off-by: Mauro Carvalho Chehab <mchehab at kernel.org>
>Cc: Maarten Lankhort <maarten.lankhorst at linux.intel.com>
>Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
>---
> drivers/gpu/drm/xe/Makefile | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
>diff --git a/drivers/gpu/drm/xe/Makefile b/drivers/gpu/drm/xe/Makefile
>index 3d716b71e54f..74fa741b1937 100644
>--- a/drivers/gpu/drm/xe/Makefile
>+++ b/drivers/gpu/drm/xe/Makefile
>@@ -170,7 +170,6 @@ xe-$(CONFIG_DRM_XE_DISPLAY) += \
> 	display/intel_dsi_vbt.o \
> 	display/intel_fb.o \
> 	display/intel_fbc.o \
>-	display/intel_fbdev.o \
> 	display/intel_fdi.o \
> 	display/intel_fifo_underrun.o \
> 	display/intel_frontbuffer.o \
>@@ -213,6 +212,10 @@ ifeq ($(CONFIG_ACPI),y)
> 		display/intel_opregion.o
> endif
>
>+ifeq ($(CONFIG_DRM_FBDEV_EMULATION),y)
>+	xe-$(CONFIG_DRM_XE_DISPLAY) += display/intel_fbdev.o
>+endif

same comment as patch 3/4.


Reviewed-by: Lucas De Marchi <lucas.demarchi at intel.com>

Lucas De Marchi

>+
> obj-$(CONFIG_DRM_XE) += xe.o
> obj-$(CONFIG_DRM_XE_KUNIT_TEST) += tests/
>
>-- 
>2.39.1
>


More information about the Intel-xe mailing list