diff options
Diffstat (limited to 'drivers/gpu/drm/xe/xe_huc_debugfs.c')
| -rw-r--r-- | drivers/gpu/drm/xe/xe_huc_debugfs.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/gpu/drm/xe/xe_huc_debugfs.c b/drivers/gpu/drm/xe/xe_huc_debugfs.c index 3a888a40188b..80829967b3d7 100644 --- a/drivers/gpu/drm/xe/xe_huc_debugfs.c +++ b/drivers/gpu/drm/xe/xe_huc_debugfs.c @@ -7,11 +7,10 @@ #include <drm/drm_debugfs.h> #include <drm/drm_managed.h> +#include <drm/drm_print.h> -#include "xe_device.h" -#include "xe_gt.h" +#include "xe_gt_types.h" #include "xe_huc.h" -#include "xe_macros.h" #include "xe_pm.h" static struct xe_gt * @@ -37,9 +36,8 @@ static int huc_info(struct seq_file *m, void *data) struct xe_device *xe = huc_to_xe(huc); struct drm_printer p = drm_seq_file_printer(m); - xe_pm_runtime_get(xe); + guard(xe_pm_runtime)(xe); xe_huc_print_info(huc, &p); - xe_pm_runtime_put(xe); return 0; } |
