]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/display: fix build when CONFIG_DRM_AMD_DC_DCN is not defined
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 7 May 2021 20:33:28 +0000 (16:33 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 May 2021 02:07:00 +0000 (22:07 -0400)
commit05cfadf9af6596a838b74adb82a68738ac6235b7
tree20e35409dbdd489239c9eaa12de7e836b4794a12
parent095de11696e9aa73f0ceb28dfc3aba0bc4963228
drm/amdgpu/display: fix build when CONFIG_DRM_AMD_DC_DCN is not defined

Fixes:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c: In function ‘amdgpu_dm_initialize_drm_device’:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:3726:7: error: implicit declaration of function ‘register_outbox_irq_handlers’; did you mean ‘register_hpd_handlers’? [-Werror=implicit-function-declaration]
 3726 |   if (register_outbox_irq_handlers(dm->adev)) {
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |       register_hpd_handlers

Fixes: 626d604ae3c5 ("drm/amd/display: Support for DMUB AUX")
Reviewed-by: Jude Shih <shenshih@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: Jude Shish <Jude.Shih@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c