[Intel-xe] [PATCH] fixup! drm/xe/display: Consider has_display to enable it
Lucas De Marchi
lucas.demarchi at intel.com
Sat May 13 06:26:32 UTC 2023
It should check CONFIG_DRM_XE_DISPLAY not the non-existent
CONFIG_DRM_DISPLAY. Thanks Christopher Snowhill for finding the bug.
Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
---
drivers/gpu/drm/xe/xe_pci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
index 18d58d916fff..03bd74f5347e 100644
--- a/drivers/gpu/drm/xe/xe_pci.c
+++ b/drivers/gpu/drm/xe/xe_pci.c
@@ -538,7 +538,7 @@ static int xe_info_init(struct xe_device *xe,
xe->info.has_range_tlb_invalidation = graphics_desc->has_range_tlb_invalidation;
xe->info.has_link_copy_engine = graphics_desc->has_link_copy_engine;
- xe->info.enable_display = IS_ENABLED(CONFIG_DRM_DISPLAY) && \
+ xe->info.enable_display = IS_ENABLED(CONFIG_DRM_XE_DISPLAY) && \
enable_display && \
desc->has_display;
/*
--
2.40.1
More information about the Intel-xe
mailing list