mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 01:43:18 +00:00
Surprisingly many places depend on debugfs.h to be included via drm_print.h. Fix them. v3: Also fix armada, ite-it6505, imagination, msm, sti, vc4, and xe v2: Also fix ivpu and vmwgfx Reviewed-by: Andrzej Hajda <[email protected]> Acked-by: Maxime Ripard <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Acked-by: Dmitry Baryshkov <[email protected]> # drm/msm Acked-by: Matt Coster <[email protected]> # drm/imagination Acked-by: Alex Deucher <[email protected]> Acked-by: Lucas De Marchi <[email protected]> Acked-by: Robert Foss <[email protected]> #drm/bridge Reviewed-by: Lyude Paul <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Jani Nikula <[email protected]>
29 lines
564 B
C
29 lines
564 B
C
// SPDX-License-Identifier: MIT
|
|
/*
|
|
* Copyright © 2022 Intel Corporation
|
|
*/
|
|
|
|
#include <linux/debugfs.h>
|
|
|
|
#include <drm/drm_debugfs.h>
|
|
|
|
#include "xe_gt.h"
|
|
#include "xe_guc_debugfs.h"
|
|
#include "xe_huc_debugfs.h"
|
|
#include "xe_macros.h"
|
|
#include "xe_uc_debugfs.h"
|
|
|
|
void xe_uc_debugfs_register(struct xe_uc *uc, struct dentry *parent)
|
|
{
|
|
struct dentry *root;
|
|
|
|
root = debugfs_create_dir("uc", parent);
|
|
if (IS_ERR(root)) {
|
|
XE_WARN_ON("Create UC directory failed");
|
|
return;
|
|
}
|
|
|
|
xe_guc_debugfs_register(&uc->guc, root);
|
|
xe_huc_debugfs_register(&uc->huc, root);
|
|
}
|