[RESEND 1/3] drm/i915/display: use drm->debugfs_root for creating debugfs files
Luca Coelho
luca at coelho.fi
Wed Aug 6 08:19:52 UTC 2025
On Tue, 2025-07-29 at 12:57 +0300, Jani Nikula wrote:
> Since commit 0b30d57acafc ("drm/debugfs: rework debugfs directory
> creation v5") we should be using drm->debugfs_root instead of
> minor->debugfs_root for creating debugfs files.
>
> As a rule of thumb, use a local variable when there are two or more
> uses, otherwise just have the single reference inline.
>
> Drop drm/drm_file.h include where possible.
>
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
> ---
Reviewed-by: Luca Coelho <luciano.coelho at intel.com>
--
Cheers,
Luca.
More information about the Intel-xe
mailing list