[Intel-xe] [PATCH] fixup! drm/xe/display: Implement display support

Gustavo Sousa gustavo.sousa at intel.com
Mon May 22 12:55:29 UTC 2023


Remove the call to drm_aperture_remove_conflicting_pci_framebuffers(),
which is already being done by xe_device_create().

Signed-off-by: Gustavo Sousa <gustavo.sousa at intel.com>
---
 drivers/gpu/drm/xe/xe_display.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_display.c b/drivers/gpu/drm/xe/xe_display.c
index c122cc4b27c9..1a9e9c78966d 100644
--- a/drivers/gpu/drm/xe/xe_display.c
+++ b/drivers/gpu/drm/xe/xe_display.c
@@ -10,7 +10,6 @@
 
 #include <linux/fb.h>
 
-#include <drm/drm_aperture.h>
 #include <drm/drm_drv.h>
 #include <drm/drm_managed.h>
 #include <drm/xe_drm.h>
@@ -199,11 +198,6 @@ int xe_display_init_noirq(struct xe_device *xe)
 
 	intel_device_info_runtime_init(xe);
 
-	err = drm_aperture_remove_conflicting_pci_framebuffers(to_pci_dev(xe->drm.dev),
-							       xe->drm.driver);
-	if (err)
-		return err;
-
 	err = intel_display_driver_probe_noirq(xe);
 	if (err)
 		return err;
-- 
2.40.1



More information about the Intel-xe mailing list