Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/xe: Remove unnecessary drm_mm.h includes

These includes are no longer necessary, and where appropriate
are replaced by the linux/types.h one.

Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240821193842.352557-3-rodrigo.vivi@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>

+1 -3
+1 -1
drivers/gpu/drm/xe/xe_migrate.h
··· 6 6 #ifndef _XE_MIGRATE_ 7 7 #define _XE_MIGRATE_ 8 8 9 - #include <drm/drm_mm.h> 9 + #include <linux/types.h> 10 10 11 11 struct dma_fence; 12 12 struct iosys_map;
-1
drivers/gpu/drm/xe/xe_res_cursor.h
··· 26 26 27 27 #include <linux/scatterlist.h> 28 28 29 - #include <drm/drm_mm.h> 30 29 #include <drm/ttm/ttm_placement.h> 31 30 #include <drm/ttm/ttm_range_manager.h> 32 31 #include <drm/ttm/ttm_resource.h>
-1
drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c
··· 5 5 */ 6 6 7 7 #include <drm/drm_managed.h> 8 - #include <drm/drm_mm.h> 9 8 10 9 #include <drm/ttm/ttm_device.h> 11 10 #include <drm/ttm/ttm_placement.h>