]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/display: fix build when CONFIG_DEBUG_FS is not set
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 15 Jun 2022 21:00:19 +0000 (17:00 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 16 Jun 2022 02:31:25 +0000 (22:31 -0400)
commitc3a6f5d6c57993589a77354ad677d84f077cb684
treeedb4f5a4628db53e9f264982dc68b2efa8269cf3
parent61ce0526c2491e8c65fe9bf4977c1d73bde307af
drm/amdgpu/display: fix build when CONFIG_DEBUG_FS is not set

amdgpu_dm_crtc_late_register() is only used when CONFIG_DEBUG_FS
is enabled so make it dependent on that.

Fixes: f6ebbc75c7c3 ("drm/amd/display: Move connector debugfs to drm")
Cc: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
Cc: Harry Wentland <harry.wentland@amd.com>
Cc: Arun R Murthy <arun.r.murthy@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Tested-by: Nathan Chancellor <nathan@kernel.org> # build
Link: https://lists.freedesktop.org/archives/dri-devel/2022-June/359496.html
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220615210019.28943-1-alexander.deucher@amd.com
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c