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

Jouni Högander jouni.hogander at intel.com
Fri Oct 27 07:59:17 UTC 2023


Call intel_display_device_remove. Intel_display_device_remove is freeing
memory used by device parameters.

Signed-off-by: Jouni Högander <jouni.hogander at intel.com>
---
 drivers/gpu/drm/xe/xe_display.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/xe/xe_display.c b/drivers/gpu/drm/xe/xe_display.c
index 391f08c1caca..77c71c7612ce 100644
--- a/drivers/gpu/drm/xe/xe_display.c
+++ b/drivers/gpu/drm/xe/xe_display.c
@@ -276,6 +276,8 @@ void xe_display_driver_remove(struct xe_device *xe)
 		return;
 
 	intel_display_driver_remove(xe);
+
+	intel_display_device_remove(xe);
 }
 
 /* IRQ-related functions */
-- 
2.34.1



More information about the Intel-xe mailing list