Home
last modified time | relevance | path

Searched refs:DEBUGFS_SIZE (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/gpu/drm/xe/
H A Dxe_huc_debugfs.c57 #define DEBUGFS_SIZE (ARRAY_SIZE(debugfs_list) * sizeof(struct drm_info_list)) in xe_huc_debugfs_register() macro
58 local = drmm_kmalloc(&huc_to_xe(huc)->drm, DEBUGFS_SIZE, GFP_KERNEL); in xe_huc_debugfs_register()
62 memcpy(local, debugfs_list, DEBUGFS_SIZE); in xe_huc_debugfs_register()
63 #undef DEBUGFS_SIZE in xe_huc_debugfs_register()
H A Dxe_gsc_debugfs.c57 #define DEBUGFS_SIZE (ARRAY_SIZE(debugfs_list) * sizeof(struct drm_info_list)) in xe_gsc_debugfs_register() macro
58 local = drmm_kmalloc(&gsc_to_xe(gsc)->drm, DEBUGFS_SIZE, GFP_KERNEL); in xe_gsc_debugfs_register()
62 memcpy(local, debugfs_list, DEBUGFS_SIZE); in xe_gsc_debugfs_register()
63 #undef DEBUGFS_SIZE in xe_gsc_debugfs_register()
H A Dxe_guc_debugfs.c61 #define DEBUGFS_SIZE (ARRAY_SIZE(debugfs_list) * sizeof(struct drm_info_list)) in xe_guc_debugfs_register() macro
62 local = drmm_kmalloc(&guc_to_xe(guc)->drm, DEBUGFS_SIZE, GFP_KERNEL); in xe_guc_debugfs_register()
66 memcpy(local, debugfs_list, DEBUGFS_SIZE); in xe_guc_debugfs_register()
67 #undef DEBUGFS_SIZE in xe_guc_debugfs_register()