[PATCH] drm/xe: don't build debugfs files when CONFIG_DEBUG_FS=n

Lucas De Marchi lucas.demarchi at intel.com
Wed Jan 24 22:38:21 UTC 2024


On Wed, Jan 24, 2024 at 01:35:23PM -0800, Randy Dunlap wrote:
>
>
>On 1/24/24 01:05, Jani Nikula wrote:
>> If we unconditionally build the debugfs files, we'll get both the static
>> inline stubs from the headers and the real functions for
>> CONFIG_DEBUG_FS=n. Avoid building the debugfs files with that config.
>>
>> Reported-by: Randy Dunlap <rdunlap at infradead.org>
>> Closes: https://lore.kernel.org/r/152521f9-119f-4c61-b467-3e91f4aecb1a@infradead.org
>> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
>
>Tested-by: Randy Dunlap <rdunlap at infradead.org> # build-tested
>Reviewed-by: Randy Dunlap <rdunlap at infradead.org>
>
>Thanks.

Applied to drm-xe-next. Thanks for the patch, test and review.

Lucas De Marchi


More information about the Intel-xe mailing list